Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4616

Documentation lists deprecated Maven repositories

    XMLWordPrintable

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.)
    • Release Notes Text:
      The Microcontainer User Guide contained references to some outdated Maven artifacts. Please review the document shipped with the current release for more information.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      Documentation available at [1], chapter 1.2. Special Maven Settings for the Microcontainer Examples
      lists the content of settings.xml file for Maven configuration.

      However, the repositories listed there are already marked as deprecated. Instead, following repositories should be used, as present in Seam 2.2.x Maven settings.xml. I'm not sure whether jboss-deprecated-repository is necessary though.

      Profiles with repositories which should be used instead:
      <settings>
      <profile>
      <id>jboss-public-repository</id>
      <repositories>
      <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      </snapshots>
      </repository>
      </repositories>
      <pluginRepositories>
      <pluginRepository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Maven Repository Group</name>
      <url>https://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      </snapshots>
      </pluginRepository>
      </pluginRepositories>
      </profile>

      <profile>
      <id>jboss-deprecated-repository</id>
      <repositories>
      <repository>
      <id>jboss-deprecated-repository</id>
      <name>JBoss Deprecated Maven Repository</name>
      <url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
      <layout>default</layout>
      <releases>
      <enabled>true</enabled>
      <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
      <enabled>false</enabled>
      <updatePolicy>never</updatePolicy>
      </snapshots>
      </repository>
      </repositories>
      </profile>
      </profiles>

      <activeProfiles>
      <activeProfile>jboss-public-repository</activeProfile>
      <activeProfile>jboss-deprecated-repository</activeProfile>
      </activeProfiles>

      </setting>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kpiwko Karel Piwko
                Reporter:
                kpiwko Karel Piwko
                Writer:
                Misty Stanley-Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: