On Aug 31, 2009, at 2:39 PM, Dahl, Sandra wrote:
I am working through the jetspeed tutorial building jetexpress using
java 1.6, m2eclipse and maven 2.2.1. I'm new to maven so please
forgive me if this is easy to resolve and please let me know if you
need additional information. The following error occurs when
jetexpress project Is compiled:
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] jetexpress portal project
[INFO] jetexpress portal
[INFO] jetexpress portlet application
[INFO]
------------------------------------------------------------------------
[INFO] Building jetexpress portal project
[INFO]
[INFO] Id: com.tdiinc:jetexpress:pom:0.0.1-SNAPSHOT
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Building jetexpress portal
[INFO]
[INFO] Id: com.tdiinc:jetexpress-portal:war:0.0.1-SNAPSHOT
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [jetspeed-deploy:deploy]
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] jetexpress portal project .............................
SUCCESS [0.000s]
[INFO] jetexpress portal .....................................
FAILED [0.891s]
[INFO] jetexpress portlet application ........................ NOT
BUILT
[INFO]
------------------------------------------------------------------------
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.apache.portals.jetspeed-2
Artifact-Id: jetspeed-deploy-maven-plugin
Version: 2.2.0
Mojo: deploy
brought in via: POM
While building project:
Group-Id: com.tdiinc
Artifact-Id: jetexpress-portal
Version: 0.0.1-SNAPSHOT
From file: C:\Program Files\eclipse\workspace\jetexpress
\__rootArtifactId__-portal\pom.xml
Reason: Artifact org.apache.portals.jetspeed-2:jetspeed-layouts:war
dependency not defined
I just tested it myself here, and (obviously, Im a committer) it
worked for me. I am trying to see what is different, some
observations..:
1. don't use C:\Program Files or any directly with spaces when using
Maven. It should work but personally I've never had much luck with it.
So just put your workspace and Tomcat in somewhere like /java/projects
or something similar
2. My Maven version is 2.0.10 -- I haven't tested the build against
the new 2.2 of Maven yet, it really shouldn't be a problem though
See if that helps if not we can look into it deeper...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]