Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 4

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]

1 Accepted Solution

Avatar

Correct answer by
Level 6

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.h.... It might help.

/Ove

View solution in original post

3 Replies

Avatar

Correct answer by
Level 6

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.h.... It might help.

/Ove

Avatar

Level 4

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!!!