[ 
https://issues.apache.org/jira/browse/MNG-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104282#comment-17104282
 ] 

Enrique commented on MNG-6902:
------------------------------

[~nhoj.patrick] thanks a lot. Yes I did, let me explain you what I found 
because this is the weird thing.
I have two project folders
[droolsjbpm-build-bootstrap (where kie-parent is 
located)|https://github.com/kiegroup/droolsjbpm-build-bootstrap] and [appformer 
(where kie-parent is used)|https://github.com/kiegroup/appformer], then:

*First case*
* I clean the repo
* No results for *.pom find command. Two results for pom.xml find command (the 
one for droolsjbpm-build-bootstrap and appformer)
* I build the appformer project, the kie-parent is resolved but there's nothing 
on the local repo related with kie-parent (magic)

*Second case*
* I clean the repo
* I build the droolsjbpm-build-bootstrap project and the artifact is in the 
local repo
* I build appformer but still taking the old artifact (not the just built one)

I'm starting to thing it's a kind of sync problem with my volume (which is an 
external one)

> 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)

Reply via email to