[aerogear-dev] Push Quickstarts - Maven ?

Bruno Oliveira bruno at abstractj.org
Tue Aug 12 07:11:11 EDT 2014


Ahoy, commented on your PR
https://github.com/aerogear/aerogear-push-quickstarts/pull/60

On 2014-08-12, Matthias Wessendorf wrote:
> Bruno already improved some of the confusing instructions.
>
> I think with https://github.com/aerogear/aerogear-push-quickstarts/pull/60
> merged, we are good to go
>
> One question: Should be use --setting settings.xml? Or
> contributor-settings.xml ?
>
> -Matthias
>
>
> On Mon, Aug 11, 2014 at 8:33 PM, Matthias Wessendorf <matzew at apache.org>
> wrote:
>
> > ah!!!!!!!!!!!!!!!!
> >
> > thanks, Sebi - I am on Apache Maven 3.2.2
> > (45f7c06d68e745d05611f7fd14efb6594181933e; 2014-06-17T15:51:42+02:00)
> >
> >
> > I will update the README tomorrow!
> >
> > thanks!
> >
> >
> > On Mon, Aug 11, 2014 at 8:14 PM, Sebastien Blanc <scm.blanc at gmail.com>
> > wrote:
> >
> >> Which version of Maven are you using ? I remember Fred reported a bug
> >> with Maven and resolving BOMs : https://jira.codehaus.org/browse/MNG-5663
> >>
> >>
> >> On Mon, Aug 11, 2014 at 7:27 PM, Matthias Wessendorf <matzew at apache.org>
> >> wrote:
> >>
> >>> Hi,
> >>>
> >>> the README on the quickstarts have a "Configure Maven to Build and
> >>> Deploy the Quickstarts".
> >>>
> >>> I am not able to build the thing, nor do I understand the "need" to do
> >>> all that (especially "replace the repo" part).
> >>>
> >>> Doing "mvn clean -s ./contributor-settings.xml" (similar to using the
> >>> "settings.xml" instead) on the root of the directory gives some maven
> >>> trouble (as reported in a few PRs last week)
> >>>
> >>>
> >>> So.... I am wondering how folks are building this...
> >>>
> >>> Ideally a "mvn clean install -s ./contributor-settings.xml" should work.
> >>> Or if some magic profile needs to be enabled, our README should say so
> >>>
> >>>
> >>> Thanks,
> >>> Matthias
> >>>
> >>>
> >>>
> >>> <maven>
> >>>
> >>>
> >>> [INFO] Scanning for projects...
> >>> Downloading:
> >>> http://repo.maven.apache.org/maven2/org/jboss/bom/eap/jboss-javaee-6.0-with-resteasy/6.2.0.GA/jboss-javaee-6.0-with-resteasy-6.2.0.GA.pom
> >>> [ERROR] The build could not read 2 projects -> [Help 1]
> >>> [ERROR]
> >>> [ERROR]   The project
> >>> org.jboss.quickstarts.wfk:jboss-contacts-mobile-picketlink-secured:1.0.0.Beta2-SNAPSHOT
> >>> (/Users/matzew/TEMP/QUICKI/aerogear-push-quickstarts/server/contacts-mobile-picketlink-secured/pom.xml)
> >>> has 27 errors
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-11 in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @
> >>> org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version],
> >>> /Users/matzew/.m2/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-redhat-1/jboss-javaee-6.0-with-tools-2.6.0-redhat-1.pom,
> >>> line 42, column 25 -> [Help 2]
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.bom.wfk:jboss-javaee-6.0-with-deltaspike:pom:2.6.0-redhat-1 in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @ line 99, column 25 -> [Help 2]
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.bom.eap:jboss-javaee-6.0-with-hibernate:pom:6.2.2.GA in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @ line 107, column 25 -> [Help 2]
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.bom.eap:jboss-javaee-6.0-with-resteasy:pom:6.2.2.GA in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @ line 115, column 25 -> [Help 2]
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.bom.eap:jboss-javaee-6.0-with-security:pom:6.2.2.GA in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @ line 122, column 25 -> [Help 2]
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> javax.enterprise:cdi-api:jar is missing. @ line 167, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> javax.inject:javax.inject:jar is missing. @ line 172, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar is
> >>> missing. @ line 179, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @
> >>> line 186, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @
> >>> line 193, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 200,
> >>> column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is missing. @
> >>> line 207, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> javax.validation:validation-api:jar is missing. @ line 214, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.hibernate:hibernate-validator:jar is missing. @ line 223, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.resteasy:resteasy-jackson-provider:jar is missing. @ line 235,
> >>> column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.apache.deltaspike.core:deltaspike-core-api:jar is missing. @ line 283,
> >>> column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.apache.deltaspike.core:deltaspike-core-impl:jar is missing. @ line 291,
> >>> column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.apache.deltaspike.modules:deltaspike-security-module-api:jar is
> >>> missing. @ line 300, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.apache.deltaspike.modules:deltaspike-security-module-impl:jar is
> >>> missing. @ line 308, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.hibernate:hibernate-jpamodelgen:jar is missing. @ line 317, column 21
> >>> [ERROR]     'dependencies.dependency.version' for junit:junit:jar is
> >>> missing. @ line 324, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @
> >>> line 336, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @
> >>> line 342, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.arquillian.container:arquillian-container-test-api:jar is
> >>> missing. @ line 348, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.arquillian.junit:arquillian-junit-core:jar is missing. @ line
> >>> 354, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.shrinkwrap:shrinkwrap-api:jar is missing. @ line 360, column 21
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-api-maven:jar is missing.
> >>> @ line 366, column 21
> >>> [ERROR]
> >>> [ERROR]   The project
> >>> org.jboss.quickstarts.wfk:jboss-contacts-mobile-proxy:1.0.0.Beta2-SNAPSHOT
> >>> (/Users/matzew/TEMP/QUICKI/aerogear-push-quickstarts/server/contacts-mobile-proxy/pom.xml)
> >>> has 4 errors
> >>> [ERROR]     Non-resolvable import POM: Failure to find
> >>> org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-11 in
> >>> http://repo.maven.apache.org/maven2 was cached in the local repository,
> >>> resolution will not be reattempted until the update interval of central has
> >>> elapsed or updates are forced @
> >>> org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version],
> >>> /Users/matzew/.m2/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-redhat-1/jboss-javaee-6.0-with-tools-2.6.0-redhat-1.pom,
> >>> line 42, column 25 -> [Help 2]
> >>> [ERROR]     Non-resolvable import POM: Could not find artifact
> >>> org.jboss.bom.eap:jboss-javaee-6.0-with-resteasy:pom:6.2.0.GA in
> >>> central (http://repo.maven.apache.org/maven2) @ line 79, column 25 ->
> >>> [Help 2]
> >>> [ERROR]     'dependencies.dependency.version' for
> >>> org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec:jar is missing. @
> >>> line 92, column 21
> >>> [ERROR]     'dependencies.dependency.version' for junit:junit:jar is
> >>> missing. @ line 117, column 21
> >>> [ERROR]
> >>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> >>> -e switch.
> >>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> >>> [ERROR]
> >>> [ERROR] For more information about the errors and possible solutions,
> >>> please read the following articles:
> >>> [ERROR] [Help 1]
> >>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> >>> [ERROR] [Help 2]
> >>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> >>>
> >>>
> >>> </maven>
> >>>
> >>> --
> >>> Matthias Wessendorf
> >>>
> >>> blog: http://matthiaswessendorf.wordpress.com/
> >>> sessions: http://www.slideshare.net/mwessendorf
> >>> twitter: http://twitter.com/mwessendorf
> >>>
> >>> _______________________________________________
> >>> aerogear-dev mailing list
> >>> aerogear-dev at lists.jboss.org
> >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >>>
> >>
> >>
> >> _______________________________________________
> >> aerogear-dev mailing list
> >> aerogear-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >>
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > twitter: http://twitter.com/mwessendorf
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf

> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


--

abstractj
PGP: 0x84DC9914


More information about the aerogear-dev mailing list