Artifact Repositories

Configuring Repositories

This is the default repository configured into /WEB-INF/classes/repositoryContext.xml file:

<!-- Definition of repository used for storing deliverables -->
<bean id="deliverableRepository"
      class="org.figure8.join.services.repository.SimpleFileSystemRepository">
   <property name="rootDirectory">
      <value>${join.home}/deliverables</value>
   </property>
   <property name="structureDefinition">
      <value>${release}/${categoryInfo}</value>
   </property>
</bean>
<!--
   ...
   Some other repositories configuration examples
   ...
-->
         

Using a VFS repository

<!-- Definition of repository used for storing deliverables -->
<bean id="deliverableRepository"
      class="org.figure8.join.services.repository.VFSRepository">
   <property name="baseUrl">
      <!-- For a repository accessible through FTP -->
      <value>ftp://[username[:password]@]hostname[:port][absolute-path]</value>
      <!--
         For a repository accessible through HTTP
         baseUrl = http://[ username[:password]@]hostname[:port][absolute-path]
      -->
      <!--
         For a repository accessible through Webdav
         baseUrl = webdav://[username[:password]@]hostname[:port][absolute-path]
      -->
   </property>
   <property name="structureDefinition">
      <value>${release}/${categoryInfo}</value>
   </property>
</bean>
            

Using a JCR repository