mvn eclipse:eclipse fails to generate .classpath files for some poms
--------------------------------------------------------------------
Key: MECLIPSE-310
URL: http://jira.codehaus.org/browse/MECLIPSE-310
Project: Maven 2.x Eclipse Plugin
Issue Type: Bug
Reporter: Brian DePradine
Some modules in the Apache Axis2 project do not generate .classpath files. The
common factor appears to be those modules that are packaged as MAR (Module
ARchive) files. These pom for these modules all contain the following:
<packaging>mar</packaging>, an example pom is included below. If this line is
removed then the all eclipse artifacts are generated as expected.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-parent</artifactId>
<version>SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<artifactId>addressing</artifactId>
<packaging>mar</packaging>
<name>Apache Axis 2.0 - Addressing</name>
<description>WS-Addressing implementation</description>
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
<version>${version}</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<resources>
<resource>
<directory>conf</directory>
<excludes>
<exclude>**/*.properties</exclude>
</excludes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<targetPath>../test-resources</targetPath>
<directory>test-resources</directory>
<includes>
<include>**/**</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<skip>false</skip>
<excludes>
<exclude>**/*Util.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-mar-maven-plugin</artifactId>
<version>${version}</version>
<extensions>true</extensions>
<configuration>
<includeDependencies>false</includeDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira