On 9/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I am in no way, shape or form a Maven expert... I would suspect I have
even less of a special relationship with it than you :) However, in my
experience, I've often been asked "have you run the build a couple of
times?" Indeed, simply doing it a couple of times often has solved any
issues I was having.
So...
Have you run the build a couple of times? :)
This is quite cool.... I never knew we have something related to Java
that behaves like windows.
Now getting more serious, I am getting the impression that any
dependency that is tried against:
http://cvs.apache.org/maven-snapshot-repository/ is failing. What can
I do about this?
./alex
--
.w( the_mindstorm )p.
Frank
(I have no idea if it will help, but like the oft-repeated "have you
tried rebooting?" advice, it seems to sometimes work)
Alexandru Popescu wrote:
> 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]
>
>
>
>
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Ajax Projects With Java Technology"
(2006, Apress, ISBN 1-59059-695-1)
Java Web Parts - http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]