You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by thomas2004 <th...@yahoo.de> on 2009/01/16 10:27:45 UTC
A questionabout "Error building POM (may not be this project's
POM)."
Hi all,
As I build the project in Eclipse with "mvn package", it is successful. But
as I build it again in command prompt I got error as follow.
Someone has tips?
*************************
D:\Temp\MyProjects\jboss-seam-multi\jboss-seam-war>mvn package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building 1.0.0-1-SNAPSHOT jboss-seam-war
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: org.richfaces.ui:richfaces-ui
Reason: Parent: org.richfaces:ui:jar:3.2.2.SR1 of project:
org.richfaces.ui:rich
faces-ui has wrong packaging: jar. Must be 'pom'. for project
org.richfaces.ui:r
ichfaces-ui
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Fri Jan 16 10:18:17 CET 2009
[INFO] Final Memory: 6M/12M
[INFO]
------------------------------------------------------------------------
--
View this message in context: http://www.nabble.com/A-questionabout-%22Error-building-POM-%28may-not-be-this-project%27s-POM%29.%22-tp21495408p21495408.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: A questionabout "Error building POM (may not be this project's
POM)."
Posted by thomas2004 <th...@yahoo.de>.
waitting for answer
thomas2004 wrote:
>
> Hi all,
>
> As I build the project in Eclipse with "mvn package", it is successful.
> But as I build it again in command prompt I got error as follow.
>
> I changed the 'jar' to 'pom' in the pom-file but I still get the same
> error.
>
> Someone has tips?
>
> *************************
>
> D:\Temp\MyProjects\jboss-seam-multi\jboss-seam-war>mvn package
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building 1.0.0-1-SNAPSHOT jboss-seam-war
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.richfaces.ui:richfaces-ui
>
> Reason: Parent: org.richfaces:ui:jar:3.2.2.SR1 of project:
> org.richfaces.ui:rich
> faces-ui has wrong packaging: jar. Must be 'pom'. for project
> org.richfaces.ui:r
> ichfaces-ui
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Fri Jan 16 10:18:17 CET 2009
> [INFO] Final Memory: 6M/12M
> [INFO]
> ------------------------------------------------------------------------
>
--
View this message in context: http://www.nabble.com/A-questionabout-%22Error-building-POM-%28may-not-be-this-project%27s-POM%29.%22-tp21495408p21564589.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: A questionabout "Error building POM (may not be this project's
POM)."
Posted by thomas2004 <th...@yahoo.de>.
I solved the problem.
thomas2004 wrote:
>
> Hi all,
>
> As I build the project in Eclipse with "mvn package", it is successful.
> But as I build it again in command prompt I got error as follow.
>
> Someone has tips?
>
> *************************
>
> D:\Temp\MyProjects\jboss-seam-multi\jboss-seam-war>mvn package
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building 1.0.0-1-SNAPSHOT jboss-seam-war
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.richfaces.ui:richfaces-ui
>
> Reason: Parent: org.richfaces:ui:jar:3.2.2.SR1 of project:
> org.richfaces.ui:rich
> faces-ui has wrong packaging: jar. Must be 'pom'. for project
> org.richfaces.ui:r
> ichfaces-ui
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Fri Jan 16 10:18:17 CET 2009
> [INFO] Final Memory: 6M/12M
> [INFO]
> ------------------------------------------------------------------------
>
--
View this message in context: http://www.nabble.com/A-questionabout-%22Error-building-POM-%28may-not-be-this-project%27s-POM%29.%22-tp21495408p21578112.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org