You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Enrique (Jira)" <ji...@apache.org> on 2020/05/08 07:37:00 UTC
[jira] [Created] (MNG-6902) not storing/getting artifacts in/from
local repository
Enrique created MNG-6902:
----------------------------
Summary: not storing/getting artifacts in/from local repository
Key: MNG-6902
URL: https://issues.apache.org/jira/browse/MNG-6902
Project: Maven
Issue Type: Bug
Environment: rhel7 with java RE 1.8.0_202
Reporter: Enrique
This is more a question than a bug itself (I guess so)
I have two machines:
* I build same project [https://github.com/kiegroup/appformer/] from both of them.
* same maven version in both of them 3.5.2
* same settings.xml in both of them
* clean repository ~/.m2/repository in both of them
* both of them show the same DEBUG information
{code}
[DEBUG] Reading global settings from /opt/tools/apache-maven-3.5.2/conf/settings.xml
[DEBUG] Reading user settings from /home/user/settings.xml
[DEBUG] Reading global toolchains from /opt/tools/apache-maven-3.5.2/conf/toolchains.xml
[DEBUG] Reading user toolchains from /home/user/.m2/toolchains.xml
[DEBUG] Using local repository at /home/user/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /home/user/.m2/repository
{code}
I run the command (-pl and -am to make the test faster) with OK in both of them
{code}
/opt/tools/apache-maven-3.5.2/bin/mvn -s /home/user/settings.xml -DskipTests clean install -pl :appformer-js -am
{code}
In the first machine:
* the kie-parent and the rest of the artifacts are in the ~/.m2/repository folder (org/kie/kie-parent)
In the second machine:
* the kie-parent *IS NOT* but some other artifacts in the ~/.m2/repository folder
so... my question is, in the second machine, where should/can they be? How can I know where maven is taking the kie-parent artifact from?
Sorry for the blocker priority but it's blocking us https://issues.redhat.com/browse/BXMSPROD-746
--
This message was sent by Atlassian Jira
(v8.3.4#803005)