RoyZeng / red-piranha

Automatically exported from code.google.com/p/red-piranha
GNU General Public License v2.0
0 stars 0 forks source link

Cannot execute mojo: clean. It requires a project with an existing pom.xml, but the build is not using one #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Everything is installed as per instructions up to page 51
2. cd c:\workspace\drools-book-examples
3. mvn clean package

What is the expected output? What do you see instead?
System should respond with "BUILD SUCCESSFUL" but outputs "BUILD ERROR"

What version of the product are you using? On what operating system?
C:\workspace\drools-book-examples>mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_16
Java home: C:\Program Files\Java\jdk1.6.0_16\jre
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

Please provide any additional information below.
Using:
- C:\jboss\jboss-4.2.3.GA\bin
- C:\eclipse-SDK-3.4.1-win32

In addition, I already tried changing to the individual project folders that do 
contain pom.xml, and "mvn clean package" was successful. Also, from the same 
directory, "mvn eclipse:clean eclipse:eclipse" was successful.  I continued 
along this path for all directories with pom.xml.  However, creating the 
project in eclipse failed for reason other than M2_REPO (page 54) - which 
already existed. All "... cannot be resolved..."

As a result, I returned to page 51 & the original error message.

Any help is greatly appreciated.

Original issue reported on code.google.com by Steven.M...@gmail.com on 26 Aug 2009 at 9:22

GoogleCodeExporter commented 9 years ago
droolsbook

Original comment by Steven.M...@gmail.com on 26 Aug 2009 at 9:23

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by paul.m.browne on 26 Jan 2011 at 11:44