You need to be one level deeper into the svn checkout to perform the
build. From your email, I'm guessing

> /svn/magnolia/mojo] andreas% mvn -e install

instead of

> /svn/magnolia] andreas% mvn -e install

Also, check your svn url - does that actually download anything for you?
If not, try https://svn.codehaus.org/mojo/trunk/mojo/.

Kris Bravo
Corridor Software, Inc.
http://www.corridor-software.us

> 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
>
>


Reply via email to