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? 

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

Thanks.


C:\Documents and Settings\Admin\My Documents\Workspace\myproject>mvn -e
compiler
:compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'compiler'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Unnamed - com.myproject:myproject:jar:0.0.1
[INFO]    task-segment: [compiler:compile]
[INFO]
-------------------------------------------------------------------------
---
Downloading:
http://maven.softeu.cz//org/apache/myfaces/tomahawk/tomahawk/1.1.3/
tomahawk-1.1.3.pom
[WARNING] Unable to get resource from repository softeu-repo
(http://maven.softe
u.cz/)
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk/
1.1.3/tomahawk-1.1.3.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://maven.softeu.cz//org/apache/myfaces/tomahawk/tomahawk/1.1.3/
tomahawk-1.1.3.jar
[WARNING] Unable to get resource from repository softeu-repo
(http://maven.softe
u.cz/)
Downloading:
http://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk/
1.1.3/tomahawk-1.1.3.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org
/maven2)
Downloading:
http://maven.softeu.cz//javax/transaction/jta/1.0.1B/jta-1.0.1B.jar

[WARNING] Unable to get resource from repository softeu-repo
(http://maven.softe
u.cz/)
Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.
1B.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) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk
-DartifactI
d=tomahawk \
          -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file

  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

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

  Try downloading the file manually from:
      http://java.sun.com/products/jta

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
\
          -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.myproject:myproject:jar:0.0.1
        2) jboss.seam.profiles:seam-facelets:jar:1.1.6.GA
        3) jboss.seam:jboss-seam-ui:jar:1.1.6.GA
        4) jboss.seam:jboss-seam:jar:1.1.6.GA
        5) org.hibernate:hibernate-annotations:jar:3.2.1.ga
        6) org.hibernate:hibernate:jar:3.2.1.ga
        7) javax.transaction:jta:jar:1.0.1B

----------
2 required artifacts are missing.

for artifact:
  com.myproject:myproject:jar:0.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  softeu-repo (http://maven.softeu.cz/)


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk
-DartifactI
d=tomahawk \
          -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file

  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

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

  Try downloading the file manually from:
      http://java.sun.com/products/jta

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
\
          -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.myproject:myproject:jar:0.0.1
        2) jboss.seam.profiles:seam-facelets:jar:1.1.6.GA
        3) jboss.seam:jboss-seam-ui:jar:1.1.6.GA
        4) jboss.seam:jboss-seam:jar:1.1.6.GA
        5) org.hibernate:hibernate-annotations:jar:3.2.1.ga
        6) org.hibernate:hibernate:jar:3.2.1.ga
        7) javax.transaction:jta:jar:1.0.1B

----------
2 required artifacts are missing.

for artifact:
  com.myproject:myproject:jar:0.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  softeu-repo (http://maven.softeu.cz/)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:551)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by:
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException
: Missing:
----------
1) org.apache.myfaces.tomahawk:tomahawk:jar:1.1.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.myfaces.tomahawk
-DartifactI
d=tomahawk \
          -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file

  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

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

  Try downloading the file manually from:
      http://java.sun.com/products/jta

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
\
          -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) com.myproject:myproject:jar:0.0.1
        2) jboss.seam.profiles:seam-facelets:jar:1.1.6.GA
        3) jboss.seam:jboss-seam-ui:jar:1.1.6.GA
        4) jboss.seam:jboss-seam:jar:1.1.6.GA
        5) org.hibernate:hibernate-annotations:jar:3.2.1.ga
        6) org.hibernate:hibernate:jar:3.2.1.ga
        7) javax.transaction:jta:jar:1.0.1B

----------
2 required artifacts are missing.

for artifact:
  com.myproject:myproject:jar:0.0.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  softeu-repo (http://maven.softeu.cz/)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:244)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:211)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTra
nsitively(DefaultArtifactResolver.java:182)
        at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepende
ncies(DefaultPluginManager.java:1117)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:366)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Sun Feb 18 13:00:40 MST 2007
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: 
http://www.nabble.com/Can%27t-compile-project-tf3249541s177.html#a9033168
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to