[
https://issues.apache.org/jira/browse/MNG-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17103250#comment-17103250
]
John Patrick commented on MNG-6902:
-----------------------------------
Clicking the link and logging in I get;
{{
You can't view this issue
It may have been deleted or you don't have permission to view it.
}}
On the second machine is {{'kie-parent'}} anywhere on the file system? i.e.
have you done a search for the following {{find / -name pom.xml -exec grep
\<artifactId\>kie-parent\<\/artifactId\> {} \; -print}} or {{find / -name
"*.pom" -exec grep \<artifactId\>kie-parent\<\/artifactId\> {} \; -print}}
The above 2 commands return all files so you'll need to result out those in
target, work out those using that parent and those which are the parent.
Also for parent the relativePath defaults to {{../pom.xml}} i believe, so from
where you are executing the command, would that location be kie-parent?
> 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
> Priority: Blocker
> Fix For: wontfix-candidate
>
>
> 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)