Actually it still doesn't build the bundle because it tries to download
http://svn.magnolia.info/maven/m2/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.pom
and it is
http://svn.magnolia.info/maven/m2/mockrunner/0.3.1/mockrunner-0.3.1.pom
which exists !
(there is nothing in your
http://svn.magnolia.info/maven/m2/mockrunner/mackrunner/ ...)
Thanks for the correction,
Anthony
Philipp Bracher a écrit :
the
correct group name would be com.mockrunner (I changed it in the trunk).
But I deployed the mockrunner.jar to our maven repository: The build
should work now.
Thanks for reporting.
Philipp
On Oct 10, 2006, at 1:38 PM, Anthony Ogier wrote:
Hi all,
I'm trying to get the two wars (author and public) from the latest
trunk (6650) and it seems that mockrunner dependency is not correctly
installed in the repo site.
I execute that command :
mvn -cpu clean package -Dmaven.test.skip=true
info.magnolia:maven-bundle-plugin:bundle assembly:assembly
(the -Dmaven.test.skip=true is here because I compile in Java 1.4.2 and
the surefire tests don't pass with that JDK)
Here is the result :
[INFO] Building magnolia-project
[INFO] task-segment: [info.magnolia:maven-bundle-plugin:bundle,
assembly:assembly] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] Preparing bundle:bundle
Downloading:
http://svn.magnolia.info/maven/m2/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.pom
[WARNING] Unable to get resource from repository magnolia
(http://svn.magnolia.info/maven/m2)
Downloading:
http://repo1.maven.org/maven2/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
Downloading:
http://svn.magnolia.info/maven/m2/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.jar
[WARNING] Unable to get resource from repository magnolia
(http://svn.magnolia.info/maven/m2)
Downloading:
http://repo1.maven.org/maven2/mockrunner/mockrunner/0.3.1/mockrunner-0.3.1.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) mockrunner:mockrunner:jar:0.3.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=mockrunner
-DartifactId=mockrunner \
-Dversion=0.3.1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) info.magnolia:maven-bundle-plugin:maven-plugin:1.0-rc1
2) mockrunner:mockrunner:jar:0.3.1
----------
1 required artifact is missing.
for artifact:
info.magnolia:maven-bundle-plugin:maven-plugin:1.0-rc1
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
magnolia.snapshots (http://svn.magnolia.info/maven/snapshots),
magnolia (http://svn.magnolia.info/maven/m2)
Should I create a Jira task ?
Thanks,
Anthony
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
|
- Re: [magnolia-dev] Problem with mockrunner dependency whil... Anthony Ogier
-