Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Java (http://www.linux-archive.org/debian-java/)
-   -   maven artefact / junit:junit:jar:debian (http://www.linux-archive.org/debian-java/652678-maven-artefact-junit-junit-jar-debian.html)

Mathieu Malaterre 04-04-2012 05:33 PM

maven artefact / junit:junit:jar:debian
 
Hi all,

I am trying to build the joda-convert package (see pkg-java svn). I
used mh_make to generate the skeleton files. However the package still
fails with:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) junit:junit:jar:debian

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=junit -DartifactId=junit
-Dversion=debian -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit
-Dversion=debian -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

Path to dependency:
1) org.joda:joda-convert:jar:1.2
2) junit:junit:jar:debian

----------
1 required artifact is missing.

for artifact:
org.joda:joda-convert:jar:1.2

from the specified remote repositories:
central (http://repo1.maven.org/maven2)


I have been trying to find a solution to this issue however I fail to
understand how this thing works. Any hint very welcome !

Thanks


--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CA+7wUsxN+kDQnU3qHGNummKOCvF4bPybdSPUZcj0nt8uccugR Q@mail.gmail.com">http://lists.debian.org/CA+7wUsxN+kDQnU3qHGNummKOCvF4bPybdSPUZcj0nt8uccugR Q@mail.gmail.com


All times are GMT. The time now is 11:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.