Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Trivial
-
Resolution: Unresolved
-
Affects Version/s: 1.0, 1.1-beta-1, 1.1-RC1, 1.1, 1.1.1, 1.1.2, 1.2-RC, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6
-
Fix Version/s: 1.2.7
-
Component/s: Annotations
-
Labels:None
-
Environment:Apache Maven 2.2.1 Java version: 1.6.0_18 OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows"
-
Number of attachments :
Description
My project is depend on xfire 1.2.6. when I build it with maven 2.2.1, the warning message below is always printed in the console.
///////////////////////////////////////////////////////////////////////////////////////
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building AppFuse Struts 2 Application
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
////////////////////////////////////////////////////////////////////////////////////////
The pom file of xfire-jsr181-api is not a valid POM version 4. It seems some kind of old maven 1 project.xml file.
It's not a big problem, we can just ignore it. But could you please fix it, so we will not see the warning message again and again.
Here is also a reference guide about "Moving from Maven 1.x to Maven 2.x"
http://maven.apache.org/guides/mini/guide-m1-m2.html