Hi All,

I am trying to build a maven project from jenkins server.I am facing an
issue while creating jar in local maven repository .Even i set the path of
Maven repo locaiton in setting.xml as shown in below.


<localRepository>/var/lib/jenkins/maven-repositories</localRepository>

All the maven jars are creating under 0 and 1 folders (under
/var/lib/jenkins/maven-repositories path ). some jars are  sitting in 0
folder and some are jars are sitting in 1 folder .
By this some time we are facing errors due to dependencies and unable to
find which jar file it taking for creating war file.

when i build for 1st  time it is creating 0 folder like
/var/lib/jenkins/maven-repositories/0/com/test/dao/test-dao/0.0.3/test-dao-0.0.3.ja
After few builds it creating new folder 1 and crating jars under these
folder as shown in below examples.
/var/lib/jenkins/maven-repositories/1/com/test/dao/test-dao/0.0.3/test-dao-0.0.3.jar

Below folder structure maven jars are creating .
example 1:-
/var/lib/jenkins/maven-repositories--> under this folder
-->0-->com-->test-->dao-->test-dao-->0.0.3-->test-dao-0.0.3.jar
/var/lib/jenkins/maven-repositories--> under this folder
-->1-->com-->test-->dao-->test-dao-->0.0.3-->test-dao-0.0.3.jar


Attachement for more info .
Image.png <http://maven.40175.n5.nabble.com/file/n5880704/Image.png>  

I am not sure why this jars are creating .. 

Please anyone can help me on this ...thanks in advance.

Regards,
Pradeep 




--
View this message in context: 
http://maven.40175.n5.nabble.com/local-Maven-Repository-jars-are-pointing-as-0-and-1-tp5880704.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to