Hi all
Installing mojo to the maven repository does not seem to be complete on
my machine.
...
svn co svn://svn.codehaus.org/mojo/scm/trunk/mojo
cd mojo
mvn -fn install
after all that, I'm looking for jar generated for this project, but
there is none !
ls -R ~/.m2/repository/org/codehaus/mojo/mojo/
/Users/andreas/.m2/repository/org/codehaus/mojo/mojo:
5 maven-metadata-local.xml
/Users/andreas/.m2/repository/org/codehaus/mojo/mojo/5:
mojo-5.pom
I expected to finde a mojo-5.jar in the same location as the pom file,
but maybe I am wrong!?
I am trying to install another oss which requires mojo afaict due to
the following exception:
/svn/magnolia] andreas% mvn -e install
...
...
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Maven Default Project
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
----
[INFO]
------------------------------------------------------------------------
----
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
----
[INFO] Cannot execute mojo: resources. It requires a project, but the
build is not using one.
[INFO]
------------------------------------------------------------------------
----
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute
mojo: resources. It requires a project, but the build is not using one.
My env:
Maven version: 2.0.1
java version "1.4.2_09"
Mac OSX 10.3.9
- Andreas