Expand my Community achievements bar.

SOLVED

Error coming when try run maven command

Avatar

Level 4

Hi,

When I try to run maven command mvm clean install -P full, error coming

I am not able to sort it out.

I am using jdk1.7.51

apachae 3.0.3

and AEM 6.0

I have set all the environment variables also

It will be greatly helpful for me if anyone help me, in setting up the maven and building AEM projects through maven.\

Please find the attachment for the error

Thank you 

BestRegards,

Vijaya

1 Accepted Solution

Avatar

Correct answer by
Level 9

Please check whether you have the following defined in pom.xml

<packaging>bundle</packaging> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>x.x.x</version><extensions>true</extensions></plugin> </plugins>    

Also right click on the project in eclipse and do Update project.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Please check whether you have the following defined in pom.xml

<packaging>bundle</packaging> <build> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>x.x.x</version><extensions>true</extensions></plugin> </plugins>    

Also right click on the project in eclipse and do Update project.