On 2/18/07, lightbulb432 <[EMAIL PROTECTED]> wrote:

When I do a mvn -e compiler:compile in the root of my project with a pom.xml
in it, I get the following output. It doesn't work, and I'm not sure why.
Any ideas how I can get it to work?

Try "mvn package" or "mvn install" instead of the plugin:goal syntax
you are using.

It's saying that it can't find the file from the remote repository, but
those files were all automatically downloaded into my local repository from
earlier, using those same remote repositories...so I'm not sure whether
that's the problem...

What makes you sure the files were downloaded earlier?  Has this build
completed successfully in the past?

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

Missing:
----------
1) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.3
...
  Path to dependency:
        1) com.myproject:myproject:jar:0.0.1
        2) jboss.seam.profiles:seam-facelets:jar:1.1.6.GA
        3) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.3

Tomahawk 1.1.3 is not in the central Maven repo.  See:
http://wiki.apache.org/myfaces/Using_MyFaces_in_a_Project_built_with_Maven

2) javax.transaction:jta:jar:1.0.1B

That must be one of the Sun jars that can't go into the central repo
due to licensing.  Only the pom is there:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to