4 Replies Latest reply on Apr 8, 2014 4:32 AM by Fred Bricon

    Problems converting Dynamic Web Project to a Maven Project

    Daniel Castro Newbie

      I have a dynamic web project with lots of web services and I would like to convert it to a Maven Project.

      The problem happens when I try to convert it. The dialog Convert to Maven Dependencies open.  Then it tries to identify the maven dependencies of my project.

      And tons of dependencies are identified with an alert icon on the left.  When I try to add repository nothing relevant comes out.

      My setting.xml is attached (Maven instalation)

       

      JBoss not identifying depenedencies when I convert my Dynamic Web Project to a Maven Project

      I attached some screenshot that might be useful.

      Any help will be graet.

       

      Below is a part of my project pom file that fails resolving dependencies.  It was automaticall generated by JBoss Developer Studio.

      JBoss Developer Studio

      Version: 7.1.0.GA

      Build id: GA-v20131208-0703-B592

      Build date: 20131208-0703

       

          <dependency>

            <groupId>javax.activation</groupId>

            <artifactId>activation</artifactId>

            <version>1.1.1-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.annotation</groupId>

            <artifactId>jboss-annotations-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.ejb</groupId>

            <artifactId>jboss-ejb-api_3.1_spec</artifactId>

            <version>1.0.2.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.el</groupId>

            <artifactId>jboss-el-api_2.2_spec</artifactId>

            <version>1.0.2.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>javax.enterprise</groupId>

            <artifactId>cdi-api</artifactId>

            <version>1.0-SP4-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.enterprise.deploy</groupId>

            <artifactId>jboss-jad-api_1.2_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.faces</groupId>

            <artifactId>jboss-jsf-api_2.1_spec</artifactId>

            <version>2.1.19.1.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.interceptor</groupId>

            <artifactId>jboss-interceptors-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.jms</groupId>

            <artifactId>jboss-jms-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>javax.mail</groupId>

            <artifactId>mail</artifactId>

            <version>1.4.5-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.management.j2ee</groupId>

            <artifactId>jboss-j2eemgmt-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.hibernate.javax.persistence</groupId>

            <artifactId>hibernate-jpa-2.0-api</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.resource</groupId>

            <artifactId>jboss-connector-api_1.6_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.rmi</groupId>

            <artifactId>jboss-rmi-api_1.0_spec</artifactId>

            <version>1.0.4.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.security.auth.message</groupId>

            <artifactId>jboss-jaspi-api_1.0_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.security.jacc</groupId>

            <artifactId>jboss-jacc-api_1.4_spec</artifactId>

            <version>1.0.2.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.servlet</groupId>

            <artifactId>jboss-servlet-api_3.0_spec</artifactId>

            <version>1.0.2.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.servlet.jsp</groupId>

            <artifactId>jboss-jsp-api_2.2_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.servlet.jstl</groupId>

            <artifactId>jboss-jstl-api_1.2_spec</artifactId>

            <version>1.0.3.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.transaction</groupId>

            <artifactId>jboss-transaction-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>javax.validation</groupId>

            <artifactId>validation-api</artifactId>

            <version>1.0.0.GA-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.ws.rs</groupId>

            <artifactId>jboss-jaxrs-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.xml.bind</groupId>

            <artifactId>jboss-jaxb-api_2.2_spec</artifactId>

            <version>1.0.4.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.xml.registry</groupId>

            <artifactId>jboss-jaxr-api_1.0_spec</artifactId>

            <version>1.0.2.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.xml.rpc</groupId>

            <artifactId>jboss-jaxrpc-api_1.1_spec</artifactId>

            <version>1.0.1.Final-redhat-3</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.xml.soap</groupId>

            <artifactId>jboss-saaj-api_1.3_spec</artifactId>

            <version>1.0.2.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.spec.javax.xml.ws</groupId>

            <artifactId>jboss-jaxws-api_2.2_spec</artifactId>

            <version>2.0.1.Final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.hibernate</groupId>

            <artifactId>hibernate-validator</artifactId>

            <version>4.3.1.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.picketbox</groupId>

            <artifactId>picketbox-commons</artifactId>

            <version>1.0.0.final-redhat-2</version>

          </dependency>

          <dependency>

            <groupId>org.picketbox</groupId>

            <artifactId>picketbox-infinispan</artifactId>

            <version>4.0.17.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.as</groupId>

            <artifactId>jboss-as-controller-client</artifactId>

            <version>7.2.0.Final-redhat-8</version>

          </dependency>

          <dependency>

            <groupId>org.jboss</groupId>

            <artifactId>jboss-dmr</artifactId>

            <version>1.1.6.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.logging</groupId>

            <artifactId>jboss-logging</artifactId>

            <version>3.1.2.GA-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.resteasy</groupId>

            <artifactId>resteasy-jaxb-provider</artifactId>

            <version>2.3.6.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.resteasy</groupId>

            <artifactId>async-http-servlet-3.0</artifactId>

            <version>2.3.6.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.resteasy</groupId>

            <artifactId>resteasy-jaxrs</artifactId>

            <version>2.3.6.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.resteasy</groupId>

            <artifactId>resteasy-multipart-provider</artifactId>

            <version>2.3.6.Final-redhat-1</version>

          </dependency>

          <dependency>

            <groupId>org.jboss.ejb3</groupId>

            <artifactId>jboss-ejb3-ext-api</artifactId>

            <version>2.0.0-redhat-2</version>

          </dependency>