incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject maven-install-plugin doesn't install 3rd parties
Date Tue, 26 Jul 2011 17:10:10 GMT
Hi all ASF mates,
I'm trying to convince my .NET co-workers about the power of automated
builds using maven, I'm unfortunately experiencing an issue with NUnit
because I'm not able to install 3rd party dependencies ;(

What I tried to run is

mvn org.apache.npanday.plugins:maven-install-plugin:install-file \
        -Dfile=./nunit.framework.dll \
        -DgroupId=NUnit \
        -DartifactId=NUnit.Framework \
        -Dpackaging=library \
        -DartifactVersion=2.5.10.11092

The output looks good

[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:1.4.0-incubating:install-file
(default-cli) @ standalone-pom ---
[INFO] NPANDAY-xxx-000: Installing file with generated pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.117s
[INFO] Finished at: Tue Jul 26 18:52:29 CEST 2011
[INFO] Final Memory: 5M/1016M
[INFO] ------------------------------------------------------------------------

but NO artifacts are installed in ~/.m2/repository
Running maven with -X option I got

[INFO] NPANDAY-xxx-000: Installing file with generated pom
[DEBUG] NPANDAY-001-031: artifact:NUnit:NUnit.Framework:library:2.5.10.11092
[DEBUG] NPANDAY-001-032: artifact
file:/Applications/NUnit-2.5.10.11092/bin/net-2.0/framework/nunit.framework.dll
[DEBUG] NPANDAY-001-032: config
file:${project.basedir}/target/NUnit.Framework.exe.config
[DEBUG] NPANDAY-001-033: config file:library
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

Just for the record: these are my mvn settings
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /Applications/apache-maven-3.0.3
Java version: 1.5.0_19, vendor: Apple Computer, Inc.
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.4.11", arch: "i386", family: "unix"

Do you have any hint for a hopeless guy? Is there any alternative way
I can create repo artifacts?
Many thanks in advance, have a nice day!
All the best,
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

Mime
View raw message