I'm still new to Maven.

 

When building my web project, I get the following messages:

 

[INFO] Assembling webapp agilejury-frontend in
D:\juror\agilejury-frontend\target\agilejury-frontend-0.5

[ERROR] 

 

The following mojo encountered an error while executing:

Group-Id: org.apache.maven.plugins

Artifact-Id: maven-war-plugin

Version: 2.0

Mojo: war

brought in via: packaging: war

 

While building project:

Group-Id: com.acs.gs.juror

Artifact-Id: agilejury-frontend

Version: 0.5

>From file: D:\juror\agilejury-frontend\pom.xml

Reason: Could not explode webapp...

 

This is coming from the plugin:

 

                  <plugin>

                  <groupId>org.apache.maven.plugins</groupId>

                  <artifactId>maven-war-plugin</artifactId>

                  <version>2.0</version>

                  <configuration>

                        <webResources>

                              <resource>

                                    <!-- this is relative to the pom.xml
directory -->

                                    <directory>war</directory>

                                          <includes>

 
<include>**/*.css</include>

 
<include>**/*.gif</include>

 
<include>**/*.html</include>

 
<include>**/*.jpg</include>

                                              <include>**/*.js</include>

 
<include>**/*.png</include>

 
<include>**/*.rpc</include>

 
<include>**/*.swf</include>

 
<include>**/*.xml</include>

                                          </includes>

                              </resource>

                        </webResources>

                  </configuration>

                  </plugin>

 

And I don't understand why I'm getting an error when I'm creating a war
and not exploding one.

 

Reply via email to