Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

ERROR - Invalid packaging for parent POM /xyz/pom.xml), must be "pom" but is "jar"

Error

Invalid Packaging for Parent POM /xyz/pom.xml , must be "pom" but is "jar".


Error Type

Build


Cause

The specified parent has a packaging of jar instead of pom.

Resolution

Open the pom file for the problematic project ( for which the build is failing )

Check the parent artifact and group Id

Go to the Pom file for the Parent artifact in Eclipse

Click "Overview" tab and change the Packaging for the artifact to pom.

Save it and then rebuild the child artifact.








This post first appeared on Techsharepoint, please read the originial post: here

Share the post

ERROR - Invalid packaging for parent POM /xyz/pom.xml), must be "pom" but is "jar"

×

Subscribe to Techsharepoint

Get updates delivered right to your inbox!

Thank you for your subscription

×