0 Replies Latest reply on May 16, 2012 7:44 PM by rdifrango

    Apache CXF JAX-RS Project Creation Gives pom.xml erros

    rdifrango

      I downloaded Fuse IDE as a result of the CamelOne conference and was taking it for a test drive.  What I was trying to do was create a JAX-RS project and the pom that is created gives me the following errors:

       

       

      Description     Resource     Path     Location     Type

       

      Project build error: 'artifactId' with value '$artifactId' does not match a valid id pattern.     pom.xml     /rest     line 5     Maven pom Loading Problem

       

      Project build error: 'groupId' with value '$groupId' does not match a valid id pattern.     pom.xml     /rest     line 4     Maven pom Loading Problem

       

      I was able to fix these by manually changing those values, but i would expect those to be populated based upon the IDE.

       

      Then, it gave me the following:

       

       

      Description     Resource     Path     Location     Type

       

      Missing artifact org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.0.fuse-7-061     pom.xml     /rest     line 14     Maven Dependency Problem

       

      Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile)     pom.xml     /rest     line 62     Maven Project Build Lifecycle Mapping Problem

       

      Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile)     pom.xml     /rest     line 62     Maven Project Build Lifecycle Mapping Problem

       

      I was able to fix the front end error by specifying CXF version 2.6, but I had to comment out the build helper plugin to make my pom work.

       

      Attached is the resulting POM.