Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  1. Start Geronimo.
  2. Create a directory repo2 under <geronimo_home>, for example, <geronimo_home>/repo2.
  3. Create a file repo2.xml under the <geronimo_home>/repo2 directory, for example:
    Code Block
    borderStylesolid
    titlerepo2.xml
    borderStylesolid
    <module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
     <environment>
      <moduleId>
       <groupId>org.example.configs</groupId>
        <artifactId>myrepo</artifactId>
        <version>2.2</version>
        <type>car</type>
      </moduleId>
      <dependencies>
       <dependency>
        <groupId>org.apache.geronimo.framework</groupId>
        <artifactId>j2ee-system</artifactId>
        <version>2.2</version> 
        <type>car</type>
       </dependency>
      </dependencies>
      <hidden-classes/>
      <non-overridable-classes/>
     </environment>
     <gbean name="Repo2" class="org.apache.geronimo.system.repository.Maven2Repository">
       <attribute name="root">repo2/</attribute>
       <attribute name="resolveToServer">false</attribute>
       <reference name="ServerInfo">
        <name>ServerInfo</name>
       </reference>
     </gbean>
     <gbean name="Local2" class="org.apache.geronimo.system.configuration.RepositoryConfigurationStore">
      <reference name="Repository">
       <name>Repo2</name>
      </reference>
     </gbean>
    </module>
    
  4. Deploy the repo2.xml from the command prompt:
    deploy(.bat|.sh) deploy <Geronimo_HOME>/repo2/repo2.xml

...