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: [email protected] For additional commands, e-mail: [email protected]
