Hi!

Being myself one of those that are having a special relation with
Maven (being it 1 or 2), I am having some hard times to get Struts2
compiled on my machine.

I have updated the sourcecode from
https://svn.apache.org/repos/asf/struts/struts2/trunk.

I have maven-2.0.4 on my machine and when trying mvn clean compile I
am getting the following output:

[trimmed]
[INFO] [compiler:compile]
Compiling 14 source files to
D:\workspace\java\cvsprojects\svn\struts2\api\target\classes
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Struts 2 - Core
[INFO]    task-segment: [clean, compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\workspace\java\cvsprojects\svn\struts2\core\target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from snapshots-maven-codehaus
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from apache
[WARNING] repository metadata for: 'snapshot
org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT' could not be
retrieved fro
m repository: apache due to an error: Error transferring file
[INFO] Repository 'apache' will be blacklisted
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from opensymphony
[INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates
from snapshots-maven-codehaus
[INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates
from opensymphony
Downloading: 
http://cvs.apache.org/maven-snapshot-repository/ognl/ognl/2.6.7/ognl-2.6.7.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: ognl:ognl

Reason: Error getting POM for 'ognl:ognl' from the repository: Error
transferring file
 ognl:ognl:pom:2.6.7

from the specified remote repositories:
 Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
 central (http://repo1.maven.org/maven2),
 opensymphony (http://maven.opensymphony.com),
 apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
 apache (http://cvs.apache.org/repository),
 snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2)
[/trimmed]

Full:

[console]
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Struts 2
[INFO]   Struts 2 API
[INFO]   Struts 2 - Core
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Struts 2
[INFO]    task-segment: [clean, compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] No goals needed for project - skipping
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Struts 2 API
[INFO]    task-segment: [clean, compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\workspace\java\cvsprojects\svn\struts2\api\target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading easymock:easymock:2.0
 This artifact has been relocated to org.easymock:easymock:2.0.


[INFO] [compiler:compile]
Compiling 14 source files to
D:\workspace\java\cvsprojects\svn\struts2\api\target\classes
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Struts 2 - Core
[INFO]    task-segment: [clean, compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\workspace\java\cvsprojects\svn\struts2\core\target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from snapshots-maven-codehaus
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from apache
[WARNING] repository metadata for: 'snapshot
org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT' could not be
retrieved fro
m repository: apache due to an error: Error transferring file
[INFO] Repository 'apache' will be blacklisted
[INFO] snapshot org.apache.struts.tiles:tiles-core:0.2-SNAPSHOT:
checking for updates from opensymphony
[INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates
from snapshots-maven-codehaus
[INFO] snapshot opensymphony:xwork:2.0-SNAPSHOT: checking for updates
from opensymphony
Downloading: 
http://cvs.apache.org/maven-snapshot-repository/ognl/ognl/2.6.7/ognl-2.6.7.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: ognl:ognl

Reason: Error getting POM for 'ognl:ognl' from the repository: Error
transferring file
 ognl:ognl:pom:2.6.7

from the specified remote repositories:
 Maven Snapshots (http://snapshots.maven.codehaus.org/maven2/),
 central (http://repo1.maven.org/maven2),
 opensymphony (http://maven.opensymphony.com),
 apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
 apache (http://cvs.apache.org/repository),
 snapshots-maven-codehaus (http://snapshots.maven.codehaus.org/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 48 seconds
[INFO] Finished at: Sat Sep 09 21:59:12 EEST 2006
[INFO] Final Memory: 4M/10M
[INFO] ------------------------------------------------------------------------
[/console]

Now, I can admit I am doing something wrong, but can you tell me what
I should do differently?

TIA,

./alex
--
.w( the_mindstorm )p.

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

Reply via email to