I'm not sure if this is the right forum to post this question. If not,
please advice me where to post this question.
I setup a Nexus group repository that references several proxy
repositories. This group repo only references the released
(non-SNAPSHOT) artifacts.
The group repo references: JBoss Maven repo and Maven central repo.
The JBoss Maven repo contains SNAPSHOT artifacts (e.g.
https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-enforcer-plugin/)
and Maven central repo contains released versions (e.g.
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/)
The group repo should only contain the released version from Maven central:
See:
http://maven.glassfish.org/content/groups/glassfish/org/apache/maven/plugins/maven-enforcer-plugin/
However, the maven-metadata.xml file contains both SNAPSHOT and
non-SNAPSHOT:
http://maven.glassfish.org/content/groups/glassfish/org/apache/maven/plugins/maven-enforcer-plugin/maven-metadata.xml
This is creating some problem in our build since some of pom file do not
include the version of the plugin, so maven will try to download the
latest version, which is a SNAPSHOT version but the group repo does not
have the SNAPSHOT artifact.
Is this a bug? I have tried rebuilding metadata but it still contains
SNAPSHOT versions.
Is there a workaround?
Thanks,
Jane
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]