Eclipse IDE Project build error: Unknown packaging: content-package | Community
Skip to main content
Level 3
October 16, 2015
Solved

Eclipse IDE Project build error: Unknown packaging: content-package

  • October 16, 2015
  • 3 replies
  • 2760 views

Hello, I am a freshman about CQ. I have setup a project based on URL(http://docs.adobe.com/docs/en/aem/6-0/develop/how-tos/howto-projects-eclipse.html).

I don’t know why it runs ok via Maven, but it gets an error if I import it to Eclipse IDE.
I mean how to configure the Eclipse IDE <packaging>content-package</packaging> and let IED knows the plugin.

Please see the attachment screenshot.

[img]Screenshot.png[/img]

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ove_Lindström

Seems like eclipse does not have a binding to the correct lifecycle.

Take a look at http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apache-maven.html. It might help.

/Ove

3 replies

Sham_HC
Level 10
October 16, 2015
Ove_LindströmAccepted solution
Level 6
October 16, 2015

Seems like eclipse does not have a binding to the correct lifecycle.

Take a look at http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apache-maven.html. It might help.

/Ove

jiaBaiAuthor
Level 3
October 16, 2015

Thanks for your help.

I fixed this error that is caused by I messed the profile tag of pom.xml.

It should put on <build> tag.

<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>

 

Thanks!!!