-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.1.0.CR2
When running unittests, the tests/extra-tests/pom.xml expects to find a parent pom, but it does not find it.
[ERROR] The project org.apache.activemq.tests:extra-tests:[unknown-version] (/opt/amq-broker-7.1.0-sources/artemis-pom-2.4.0.amq-710004-redhat-1/tests/extra-tests/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.apache.activemq.tests:extra-tests:[unknown-version]: Could not find artifact org.apache.activemq.tests:artemis-tests-pom:pom:2.4.0 in jboss-ga-repository (http://maven.repository.redhat.com/ga) and 'parent.relativePath' points at wrong local POM @ line 24, column 12 -> [Help 2]
The cause seems to be that the tests/pom.xml, which is the parent pom, has a different version set than what is expected.
tests/extra-tests/pom.xml uses the upstream version, while tests/pom.xml inherits the downstream version with -redhat-x classifier.
/opt/amq-broker-7.1.0-sources/artemis-pom-2.4.0.amq-710004-redhat-1/tests/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache
.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-pom</artifactId>
<version>2.4.0.amq-710004-redhat-1</version>
</parent>
<name>ActiveMQ Artemis Tests POM</name>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.activemq.tests</groupId>
<artifactId>artemis-tests-pom</artifactId>
<packaging>pom</packaging>
[...]
/opt/amq-broker-7.1.0-sources/artemis-pom-2.4.0.amq-710004-redhat-1/tests/extra-tests/pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.activemq.tests</groupId>
<artifactId>artemis-tests-pom</artifactId>
<version>2.4.0</version>
</parent>
[...]
- is related to
-
ENTMQBR-738 Unable to build AMQ 7 examples offline with provided offline repo
- Closed