[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Sep 07 23:56:29 MDT 2010
[INFO] Final Memory: 3M/38M
[INFO] ---------------------------------------------------------------
I must be doing something wrong or misinterpreted the instructions in
some way.
Please advise.
Sam
Guy Van den Broeck
unread,
Sep 8, 2010, 3:21:03 AM9/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You're running mvn from your home directory. You need to run it from the cspoker root directory.
This is why mvn complains that there is no pom.xml file in the directory:
Sam
unread,
Sep 8, 2010, 4:09:39 AM9/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cspoker-discuss
Ok, I ran mvn compile in the directory that contains the source I
downloaded using Subversion.
There were occasional timeouts and failures to load resources.
When I perused the source directory, the swt .java files are still
missing.
Sam
On Sep 8, 1:21 am, Guy Van den Broeck
Guy Van den Broeck
unread,
Sep 8, 2010, 4:38:21 AM9/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
There were occasional timeouts and failures to load resources.
When I perused the source directory, the swt .java files are still
missing.
Maven sometimes reports that it failed to download a dependency from a repository and then goes on to download it from another repository. This is not a problem.
The dependencies are jar files that are downloaded into your local maven repository, probably "~/.m2/...". They are not supposed to show up in the cspoker source tree and certainly not as .java files.
Use m2eclipse to import the existing maven project.