]
Diego Lovison updated ISPN-10631:
---------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
infinispan-feature-pack is using wrong parent path
--------------------------------------------------
Key: ISPN-10631
URL:
https://issues.jboss.org/browse/ISPN-10631
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.0.0.CR2
Reporter: Diego Lovison
Assignee: Diego Lovison
Priority: Critical
{code:sh}
FROM jboss/base-jdk:11
USER root
# Install default softwares
RUN yum -y install git
ENV MAVEN_VERSION "3.5.4"
ENV MAVEN_OPTS="-Xmx4g -Xms4g"
ENV MAVEN_HOME "/opt/maven"
ENV PATH "$PATH:$MAVEN_HOME/bin"
# Install maven
RUN curl -O
http://ftp.unicamp.br/pub/apache/maven/maven-3/$MAVEN_VERSION/binaries/ap...
&& \
tar xvf apache-maven-${MAVEN_VERSION}-bin.tar.gz && \
mv apache-maven-${MAVEN_VERSION} /opt/maven
USER jboss
WORKDIR /home/ispn
ENTRYPOINT [ "sh", "-c", "mvn -v && java -version
&& cd ~/ && git clone
https://github.com/infinispan/infinispan.git
&& cd infinispan && mvn versions:set
-DnewVersion=10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe -DprocessAllModules
-DgenerateBackupPoms=false -s maven-settings.xml -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
&& mvn clean install -DskipTests -B
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
-s maven-settings.xml" ]
{code}
{noformat}
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for
org.infinispan:infinispan-feature-pack:[unknown-version]: Could not find artifact
org.infinispan:infinispan-parent:pom:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe
in central (
https://repo.maven.apache.org/maven2/) and 'parent.relativePath'
points at wrong local POM @ line 4, column 13
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be
unique but found duplicate declaration of plugin org.codehaus.mojo:versions-maven-plugin @
org.infinispan:infinispan-parent:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe,
/opt/jboss/infinispan/pom.xml, line 4349, column 21
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be
unique but found duplicate declaration of plugin org.codehaus.mojo:versions-maven-plugin @
line 4349, column 21
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.infinispan:infinispan-feature-pack:[unknown-version]
(/opt/jboss/infinispan/wildfly/feature-pack/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for
org.infinispan:infinispan-feature-pack:[unknown-version]: Could not find artifact
org.infinispan:infinispan-parent:pom:10.0.0-SNAPSHOTdfbd6ed9234bf9c8e41426dcf108607b33ad2abe
in central (
https://repo.maven.apache.org/maven2/) and 'parent.relativePath'
points at wrong local POM @ line 4, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
{noformat}