Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 2 by
csfreeb...@gmail.com: compile failed
http://code.google.com/p/m2jdee/issues/detail?id=2
What steps will reproduce the problem?
1. install maven on Ubuntu 12.04 Desktop
mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 16:44:56+0800)
Maven home: /usr/maven
Java version: 1.6.0_34, vendor: Sun Microsystems Inc.
Java home: /usr/jdk1.6.0_34/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-29-generic", arch: "amd64", family: "unix"
2. checkout codes and execute 'mvn install'
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.maven.plugins:maven-jdee-plugin:maven-plugin:0.1
[WARNING] 'reporting.plugins.plugin.version' for
org.apache.maven.plugins:maven-plugin-plugin is missing. @
org.apache.maven.plugins:maven-plugins:8,
/home/chenshu/.m2/repository/org/apache/maven/plugins/maven-plugins/8/maven-plugins-8.pom,
line 154, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
3. Fix the above warning messages by upgrading plugin version in pom.xml
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>23</version>
</parent>
<build>
<defaultGoal>install</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-project</artifactId>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>
What is the expected output? What do you see instead?
Can't compile it successfully.
What version of the product are you using? On what operating system?
see above message
Please provide any additional information below.
no
Attachments:
pom.xml 1.7 KB