Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
borderStylesolid
titlefile_name
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">

&nbsp; <environment>

&nbsp;&nbsp;&nbsp;  <moduleId>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <groupId>org.example.configs</groupId>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    <artifactId>myrepo</artifactId>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    <version>2.0-SNAPSHOT</version>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    <type>car</type>

&nbsp;&nbsp;&nbsp;  </moduleId>

&nbsp;&nbsp;&nbsp; <dependencies>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <dependency>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <dependency>
   <groupId>org.apache.geronimo.configs</groupId>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <artifactId>j2ee-system</artifactId>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <version>2.0-SNAPSHOT</version>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <type>car</type>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </dependency>

&nbsp;&nbsp;&nbsp; </dependencies>

&nbsp;&nbsp;&nbsp; <hidden-classes/>

&nbsp;&nbsp;&nbsp; <non-overridable-classes/>

&nbsp; </environment>

&nbsp; <\!--Repository-->

&nbsp; <gbean name="Repo2" class="org.apache.geronimo.system.repository.Maven2Repository">

   <attribute name="root">repo2/</attribute>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   <reference name="ServerInfo">

    <name>ServerInfo</name>

   </reference>

&nbsp; </gbean>

&nbsp;  <\!--Configuration Store service-->

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <gbean name="Local2" class="org.apache.geronimo.system.configuration.RepositoryConfigurationStore">

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    <reference name="Repository">

     <name>Repo2</name>

    </reference>

  </gbean>

</module>

2.     Create the repository's root directory. 

...