-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
38.0.0.Final
-
None
-
---
-
---
When build is configured to use different repository ID for repository and pluginRepository definitions (in pom.xml or in settings.xml), we are not able to build WildFly sources.
Example:
with this simple change:
$ git diff
diff --git a/pom.xml b/pom.xml
index cc409dc531..6c251369fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -901,7 +901,7 @@
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
- <id>jboss-public-repository-group</id>
+ <id>jboss-public-repository-group-dependencies</id>
<name>JBoss Public Repository Group</name>
<url>${maven.repository.url}</url>
<layout>default</layout>
@@ -916,7 +916,7 @@
<snapshots>
<enabled>true</enabled>
</snapshots>
- <id>jboss-public-repository-group</id>
+ <id>jboss-public-repository-group-plugins</id>
<name>JBoss Public Repository Group</name>
<url>${maven.repository.url}</url>
</pluginRepository>
I will get:
$ mvn -Dmaven.repo.local=/tmp/localrepo clean install -DskipTests ... [ERROR] Failed to execute goal org.wildfly.galleon-plugins:wildfly-galleon-maven-plugin:8.0.1.Final:build-feature-pack (feature-pack-build) on project wildfly-ee-galleon-pack: Failed to resolve org.jboss:jboss-parent:pom:26: The following artifacts could not be resolved: org.jboss:jboss-parent:pom:26 (present, but unavailable): Cannot access jboss-public-repository-group-dependencies (https://repository.jboss.org/nexus/content/groups/public/) in offline mode and the artifact org.jboss:jboss-parent:pom:26 has not been downloaded from it before. -> [Help 1]
- is related to
-
WFCORE-7410 Unable to build from sources when using different ID for repository and pluginRepository
-
- Open
-
- relates to
-
JBEAP-31459 (8.1.z) Unable to build server sources when using different ID for repository and pluginRepository
-
- Coding In Progress
-