-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.1 Update 2
-
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 EAP sources.
$ mvn -Dmaven.repo.local=/tmp/localrepo clean install -DskipTests --settings example-settings.xml
...
[ERROR] Failed to execute goal org.wildfly.galleon-plugins:wildfly-galleon-maven-plugin:7.3.1.Final:build-feature-pack (feature-pack-build) on project wildfly-ee-galleon-pack: Failed to resolve org.wildfly.galleon-plugins:wildfly-provisioning-parent:pom:7.3.1.Final: Cannot access eap-repository (file:///tmp/jboss-eap-8.1.2.GA-maven-repository/maven-repository) in offline mode and the artifact org.wildfly.galleon-plugins:wildfly-provisioning-parent:pom:7.3.1.Final has not been downloaded from it before. -> [Help 1]
example-settings.xml is inspired by example-settings.xml from EAP maven repo zip (added MRRC remote repo):
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <profiles> <profile> <id>jboss-nexus-repository-profile</id> <repositories> <repository> <id>jboss-nexus-public</id> <name>JBoss Nexus Public Repository</name> <layout>default</layout> <url>https://repository.jboss.org/nexus/repository/public/</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>jboss-nexus-public-plugins</id> <name>JBoss Nexus Public Repository</name> <layout>default</layout> <url>https://repository.jboss.org/nexus/repository/public/</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </pluginRepository> </pluginRepositories> </profile> <profile> <id>mrrc-repository-profile</id> <repositories> <repository> <id>mrrc-repository</id> <url>https://maven.repository.redhat.com/ga</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>mrrc-plugin-repository</id> <url>https://maven.repository.redhat.com/ga</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </pluginRepository> </pluginRepositories> </profile> <profile> <id>eap-repository-profile</id> <repositories> <repository> <id>eap-repository</id> <url>file:///tmp/jboss-eap-8.1.2.GA-maven-repository/maven-repository/</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>eap-plugin-repository</id> <url>file:///tmp/jboss-eap-8.1.2.GA-maven-repository/maven-repository/</url> <snapshots> <enabled>false</enabled> <updatePolicy>never</updatePolicy> </snapshots> <releases> <enabled>true</enabled> <updatePolicy>never</updatePolicy> </releases> </pluginRepository> </pluginRepositories> </profile> </profiles> <!-- the order here does not matter - the profiles are activated in reverse order of the declaration in the file --> <activeProfiles> <activeProfile>jboss-nexus-repository-profile</activeProfile> <activeProfile>mrrc-repository-profile</activeProfile> <activeProfile>eap-repository-profile</activeProfile> </activeProfiles> </settings>
- is related to
-
WFLY-21153 Unable to build server sources when using different ID for repository and pluginRepository
-
- Open
-
-
JBEAP-31495 (8.1.z) Upgrade eap-maven-plugin to 2.0.1.Final
-
- New
-
-
JBEAP-31494 (8.1.z) Upgrade galleon-plugins from 7.3.1.Final-redhat-00003 to 7.3.2.Final
-
- Resolved
-
- relates to
-
JBEAP-31458 (8.1.z) Unable to build wildfly-core-eap sources when using different ID for repository and pluginRepository
-
- Coding In Progress
-