Hello maven dev, gurus and users. I have a curious situation from attempting to 
create a jar of the generated /CLASSES directory as generated from the parent 
project pom.xml.  The existing parent project directory and pom.xml executes 
correctly and generates the expected (dot).war. In the parent directory I have 
a second sub-directory named: ./jar as the child project directory. The child 
project directory has its own pom.xml w/ the sole purpose of generating a 
(dot).jar file referencing selected classes generated in the parent project 
directory. The child project pom.xml returns the following exception condition 
upon execution of: mvn install. TIA and please advise, David.

********************************************************************************************
Project ID: fds-app:upload-jar

Reason: Parent: fds-app:upload-war:war:null of project: fds-app:upload-jar has 
wrong packaging: war. Must be 'pom'. for project fds-app:upload-jar


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Parent: 
fds-app:upload-war:war:null of project: fds-app:upload-jar has wrong packaging: 
war. Must be 'pom'. for project fds-app:upload-jar
        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
*********************************************************************************************

Yet some, not wise, go to the other side of the globe, to barbarous and 
unhealthy regions, and devote ten or twenty years, in that they may live,-that 
is, keep comfortably warm,- and die in New England at last. 

Henry David Thoreau - Walden - 1845
Yet some, not wise, go to the other side of the globe, to barbarous and 
unhealthy regions, and devote ten or twenty years, in that they may live,-that 
is, keep comfortably warm,- and die in New England at last. 

Henry David Thoreau - Walden - 1845


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to