Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6324

examples build with maven 3.0.1 warns about missing plugin versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • EAP_EWP 5.1.1 ER1
    • RESTEasy
    • None
    • NEW

      When building the examples with maven 3.0.1 I get this WARNING message:

      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy.examples:api-clients:jar:1.2.1.GA_CP01
      [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 63, column 12
      [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] 
      

      could we specify those plugin versions so that we get rid of those warnings ?

      the issue exists in all of the examples:

      resteasy/examples/api-clients:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 63, column 12
      
      resteasy/examples/async-job-service:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 109, column 21
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 90, column 21
      
      resteasy/examples/ejb-integration:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 28, column 18
      
      resteasy/examples/ejb-integration/ejb-integration-war:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 15, column 21
      
      resteasy/examples/ejb-integration/ejb-integration-ear:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 113, column 21
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 94, column 21
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ear-plugin is missing. @ line 47, column 21
      
      resteasy/examples/guice-hello:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 108, column 21
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 89, column 21
      
      resteasy/examples/jaxb-json:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 69, column 21
      
      resteasy/examples/jms-facade:
            Some problems were encountered while building the effective model for org.jboss.resteasy.mom:resteasy-mom:jar:1.0
            'version' contains an expression but should be a constant. @ org.jboss.resteasy.mom:resteasy-mom:${resteasy-mom-version}, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/jms-facade/resteasy-mom/pom.xml, line 12, column 13
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.mom:resteasy-mom:${resteasy-mom-version}, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/jms-facade/resteasy-mom/pom.xml, line 58, column 18
            
            Some problems were encountered while building the effective model for org.jboss.resteasy.mom:resteasy-mom-war:war:1.0
            'version' contains an expression but should be a constant. @ org.jboss.resteasy.mom:resteasy-mom-war:${resteasy-mom-version}, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/jms-facade/resteasy-mom-war/pom.xml, line 12, column 14
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.mom:resteasy-mom-war:${resteasy-mom-version}, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/jms-facade/resteasy-mom-war/pom.xml, line 102, column 21
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.jboss.resteasy.mom:resteasy-mom-war:${resteasy-mom-version}, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/jms-facade/resteasy-mom-war/pom.xml, line 83, column 21
      
      resteasy/examples/resteasy-springMVC:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 65, column 21
      
      resteasy/examples/spring-hibernate-contacts:
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.examples:spring-hibernate-contacts:1.2.1.GA_CP01, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/spring-hibernate-contacts/pom.xml, line 103, column 21
            Some problems were encountered while building the effective model for org.jboss.resteasy.examples:spring-hibernate-contacts-services:war:1.2.1.GA_CP01
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.examples:spring-hibernate-contacts:1.2.1.GA_CP01, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/spring-hibernate-contacts/pom.xml, line 103, column 21
            Some problems were encountered while building the effective model for org.jboss.resteasy.examples:spring-hibernate-contacts-persistence:jar:1.2.1.GA_CP01
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.examples:spring-hibernate-contacts:1.2.1.GA_CP01, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/spring-hibernate-contacts/pom.xml, line 103, column 21
            Some problems were encountered while building the effective model for org.jboss.resteasy.examples:spring-hibernate-contacts-client:jar:1.2.1.GA_CP01
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ org.jboss.resteasy.examples:spring-hibernate-contacts:1.2.1.GA_CP01, /home/mlinhard/dev/projects/EAP511ER/jboss-eap-5.1-src/resteasy/examples/spring-hibernate-contacts/pom.xml, line 103, column 21
            Some problems were encountered while building the effective model for org.jboss.resteasy.examples:spring-hibernate-contacts:pom:1.2.1.GA_CP01
            'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 103, column 21
      

              weli@redhat.com Weinan Li
              mlinhard Michal Linhard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: