Setting project.version for pom dependency - maven

I need to set the value for project.version. The reference to ${project.version} will be in the pom for one of my dependencies in its dependency management section. In other words, the dependency org.apache.gora:gora-core:0.2.1 has parameterized the versions of its dependencies. Just my having included gora-core as a simple dependency doesn't set project.version and so none of those indirect dependencies are being included in my build.
The maven documentation hasn't been much help.

Works for me with Maven 3.0.4
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>a</groupId>
<artifactId>b</artifactId>
<version>1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.gora</groupId>
<artifactId>gora-core</artifactId>
<version>0.2.1</version>
</dependency>
</dependencies>
</project>
And when I ask Maven what the dependencies of that are:
$ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building b 1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) # b ---
[INFO] a:b:jar:1-SNAPSHOT
[INFO] \- org.apache.gora:gora-core:jar:0.2.1:compile
[INFO] +- org.apache.hadoop:hadoop-core:jar:1.0.1:compile
[INFO] | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | +- xmlenc:xmlenc:jar:0.52:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.0.1:compile
[INFO] | | +- junit:junit:jar:3.8.1:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.0.3:compile
[INFO] | +- commons-codec:commons-codec:jar:1.4:compile
[INFO] | +- org.apache.commons:commons-math:jar:2.1:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- commons-net:commons-net:jar:1.4.1:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] | +- tomcat:jasper-runtime:jar:5.5.12:compile
[INFO] | +- tomcat:jasper-compiler:jar:5.5.12:compile
[INFO] | +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
[INFO] | | \- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] | +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
[INFO] | | \- ant:ant:jar:1.6.5:compile
[INFO] | +- commons-el:commons-el:jar:1.0:compile
[INFO] | +- net.sf.kosmosfs:kfs:jar:0.3:compile
[INFO] | \- oro:oro:jar:2.0.8:compile
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.2:compile
[INFO] | +- org.apache.cxf:cxf-common-utilities:jar:2.5.2:compile
[INFO] | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.1:compile
[INFO] | | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.1:runtime
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] | +- org.apache.cxf:cxf-api:jar:2.5.2:compile
[INFO] | | +- org.apache.neethi:neethi:jar:3.0.1:compile
[INFO] | | \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-core:jar:2.5.2:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
[INFO] | | \- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:compile
[INFO] | +- org.springframework:spring-core:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-asm:jar:3.0.6.RELEASE:compile
[INFO] | +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] | +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.2:compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.2:compile
[INFO] | | \- org.springframework:spring-web:jar:3.0.6.RELEASE:compile
[INFO] | | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] | | +- org.springframework:spring-beans:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-context:jar:3.0.6.RELEASE:compile
[INFO] | | +- org.springframework:spring-aop:jar:3.0.6.RELEASE:compile
[INFO] | | \- org.springframework:spring-expression:jar:3.0.6.RELEASE:compile
[INFO] | \- org.codehaus.jettison:jettison:jar:1.3.1:compile
[INFO] +- org.apache.hadoop:avro:jar:1.3.3:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.4.2:compile
[INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.4.2:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.5.11:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer:jar:2.2:compile
[INFO] | \- com.thoughtworks.paranamer:paranamer-ant:jar:2.2:compile
[INFO] | +- com.thoughtworks.paranamer:paranamer-generator:jar:2.2:compile
[INFO] | | +- com.thoughtworks.qdox:qdox:jar:1.10.1:compile
[INFO] | | \- asm:asm:jar:3.2:compile
[INFO] | \- org.apache.ant:ant:jar:1.7.1:compile
[INFO] | \- org.apache.ant:ant-launcher:jar:1.7.1:compile
[INFO] +- commons-lang:commons-lang:jar:2.6:compile
[INFO] \- log4j:log4j:jar:1.2.16:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.301s
[INFO] Finished at: Wed Sep 19 19:10:04 IST 2012
[INFO] Final Memory: 8M/81M
[INFO] ------------------------------------------------------------------------
All being pulled in quite fine

Related

Hibernate validator issue in spring boot on PCF

Deployment to Pivotal cloud foundry of my spring boot app fails with the following error:
Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]:
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl
Using its java buildpack 4.17.2
Problem only in cloud foundry deployment, locally works fine.
Cleaned up dependencies, using spring boot 1.5.19 and its started validator.
How to get rid of this missing dependency? spring-boot-starter-validation includes hibernate validator.
[INFO] +- org.springframework.boot:spring-boot-starter:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:1.5.19.RELEASE:compile
[INFO] | | +- org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[INFO] | | \- org.slf4j:log4j-over-slf4j:jar:1.7.25:compile
[INFO] | +- org.springframework:spring-core:jar:4.3.22.RELEASE:compile
[INFO] | \- org.yaml:snakeyaml:jar:1.17:compile
[INFO] +- org.springframework.boot:spring-boot-starter-web:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-tomcat:jar:1.5.19.RELEASE:compile
[INFO] | | +- org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.37:compile
[INFO] | | | \- org.apache.tomcat:tomcat-annotations-api:jar:8.5.37:compile
[INFO] | | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.37:compile
[INFO] | +- org.springframework:spring-web:jar:4.3.22.RELEASE:compile
[INFO] | | \- org.springframework:spring-beans:jar:4.3.22.RELEASE:compile
[INFO] | \- org.springframework:spring-webmvc:jar:4.3.22.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.3.22.RELEASE:compile
[INFO] +- org.springframework.boot:spring-boot-starter-validation:jar:1.5.19.RELEASE:compile
[INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.37:compile
[INFO] | \- org.hibernate:hibernate-validator:jar:5.3.6.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] | \- com.fasterxml:classmate:jar:1.3.1:compile
[INFO] +- org.springframework.boot:spring-boot-starter-data-jpa:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-aop:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework.boot:spring-boot-starter-jdbc:jar:1.5.19.RELEASE:compile
[INFO] | | \- org.springframework:spring-jdbc:jar:4.3.22.RELEASE:compile
[INFO] | +- org.hibernate:hibernate-core:jar:5.0.12.Final:compile
[INFO] | | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] | | +- org.javassist:javassist:jar:3.18.1-GA:compile
[INFO] | | +- antlr:antlr:jar:2.7.7:compile
[INFO] | | +- org.jboss:jandex:jar:2.0.0.Final:compile
[INFO] | | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | | \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:compile
[INFO] | +- org.hibernate:hibernate-entitymanager:jar:5.0.12.Final:compile
[INFO] | +- javax.transaction:javax.transaction-api:jar:1.2:compile
[INFO] | +- org.springframework.data:spring-data-jpa:jar:1.11.18.RELEASE:compile
[INFO] | | +- org.springframework.data:spring-data-commons:jar:1.13.18.RELEASE:compile
[INFO] | | +- org.springframework:spring-orm:jar:4.3.22.RELEASE:compile
[INFO] | | \- org.springframework:spring-tx:jar:4.3.22.RELEASE:compile
[INFO] | \- org.springframework:spring-aspects:jar:4.3.22.RELEASE:compile
[INFO] +- org.liquibase:liquibase-core:jar:3.6.3:compile
[INFO] | \- ch.qos.logback:logback-classic:jar:1.2.3:compile
[INFO] | \- ch.qos.logback:logback-core:jar:1.2.3:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:1.5.19.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.22.RELEASE:compile
[INFO] | +- org.springframework.security:spring-security-config:jar:4.2.11.RELEASE:compile
[INFO] | | \- org.springframework.security:spring-security-core:jar:4.2.11.RELEASE:compile
[INFO] | \- org.springframework.security:spring-security-web:jar:4.2.11.RELEASE:compile
[INFO] +- wsl-java-validate:wslvalidate4:jar:4.0.1:compile
[INFO] +- wsl-java-validate:asn1:jar:4.0.1:compile
[INFO] +- wsl-java-validate:jsafe:jar:4.0.1:compile
[INFO] +- wsl-java-validate:certj:jar:4.0.1:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.8.6:compile
[INFO] +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:compile
[INFO] +- org.springframework.security:spring-security-jwt:jar:1.0.9.RELEASE:compile
[INFO] | \- org.bouncycastle:bcpkix-jdk15on:jar:1.56:compile
[INFO] | \- org.bouncycastle:bcprov-jdk15on:jar:1.56:compile
[INFO] +- org.springframework.boot:spring-boot-starter-quartz:jar:2.1.4.RELEASE:compile
[INFO] | \- org.quartz-scheduler:quartz:jar:2.3.1:compile
[INFO] | +- com.mchange:mchange-commons-java:jar:0.2.15:compile
[INFO] | \- com.zaxxer:HikariCP-java7:jar:2.4.13:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:1.5.19.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test:jar:1.5.19.RELEASE:test
[INFO] | +- org.springframework.boot:spring-boot-test-autoconfigure:jar:1.5.19.RELEASE:test
[INFO] | +- com.jayway.jsonpath:json-path:jar:2.2.0:test
[INFO] | | \- net.minidev:json-smart:jar:2.2.1:test
[INFO] | | \- net.minidev:accessors-smart:jar:1.1:test
[INFO] | | \- org.ow2.asm:asm:jar:5.0.3:test
[INFO] | +- org.assertj:assertj-core:jar:2.6.0:test
[INFO] | \- org.springframework:spring-test:jar:4.3.22.RELEASE:test
EDIT:
FIXED. Turns out it has been a problem caused by below jboss libraries I have picked up from another module of my webapp.
After excluding below libraries from target jar file, all works as expected.
Still strange my local deployments did not detect similar hibernate validator issues, need to understand more diffs between PCF java build packs and local java runtime.
[INFO] | +- com.sun.xml.messaging.saaj:saaj-impl:jar:1.3.2:compile
[INFO] | | \- javax.xml.soap:saaj-api:jar:1.3:compile
[INFO] | +- xml-security:xmlsec:jar:1.3.0:compile
[INFO] | +- com.sun.xml.rpc:jaxrpc-impl:jar:1.1.3_01:compile
[INFO] | +- com.sun.xml.rpc:jaxrpc-spi:jar:1.1.3_01:compile
[INFO] | +- com.sun.xml.fastinfoset:FastInfoset:jar:1.0.2:compile
[INFO] | +- jboss:jbossws-core:jar:1.0.4.GA:compile
[INFO] | +- jboss:jboss-common-client:jar:4.0.4.GA:compile
[INFO] | +- jboss.jbossws:jboss-jaxws-ext:jar:3.0.1-native-2.0.4.GA:compile
[INFO] | \- org.jboss:jbossxb:jar:2.0.3.GA:compile
[INFO] | +- org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:compile
[INFO] | +- org.jboss:jboss-common-core:jar:2.2.9.GA:compile
[INFO] | +- org.jboss:jboss-reflect:jar:2.0.2.GA:compile
[INFO] | +- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | +- xerces:xercesImpl:jar:2.9.1:compile
[INFO] | +- com.wutka:dtdparser:jar:1.21:compile
[INFO] | \- sun-jaxb:jaxb-api:jar:2.1.9:compile

Where is the slf4j binding?

I want to configure logging correctly in my project and removed the omnipresent warning
SLF4J: Found binding in [jar:file:/home/richter/.m2/repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/richter/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.2-b06/glassfish-embedded-all-3.2-b06.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
by excluding logging implementations through Maven exclusions. Now, I ended up with
SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6, 1.7]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
The referenced website paragraph doesn't contain any hints what to do and existing questions, like Exception thrown while using logback/slf4j, suggest to do what I did afaik. My mvn dependency:tree is now
[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) # project1-web ---
[INFO] richtercloud:project1-web:war:1.0-SNAPSHOT
[INFO] +- richtercloud:project1-jar:jar:1.0-SNAPSHOT:compile
[INFO] | +- org.eclipse.persistence:eclipselink:jar:2.5.2:compile
[INFO] | | +- org.eclipse.persistence:javax.persistence:jar:2.1.0:compile
[INFO] | | \- org.eclipse.persistence:commonj.sdo:jar:2.1.1:compile
[INFO] | +- org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor:jar:2.5.2:compile
[INFO] | | +- org.eclipse.persistence:org.eclipse.persistence.core:jar:2.5.2:compile
[INFO] | | | \- org.eclipse.persistence:org.eclipse.persistence.asm:jar:2.5.2:compile
[INFO] | | \- org.eclipse.persistence:org.eclipse.persistence.jpa:jar:2.5.2:compile
[INFO] | | +- org.eclipse.persistence:org.eclipse.persistence.antlr:jar:2.5.2:compile
[INFO] | | \- org.eclipse.persistence:org.eclipse.persistence.jpa.jpql:jar:2.5.2:compile
[INFO] | +- commons-validator:commons-validator:jar:1.4.0:compile
[INFO] | | +- commons-beanutils:commons-beanutils:jar:1.8.3:compile
[INFO] | | \- commons-digester:commons-digester:jar:1.8:compile
[INFO] | +- org.jscience:jscience:jar:4.3.1:compile
[INFO] | | \- org.javolution:javolution:jar:5.2.3:compile
[INFO] | +- org.apache.solr:solr-solrj:jar:6.5.0:compile
[INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.4.1:compile
[INFO] | | +- org.apache.httpcomponents:httpcore:jar:4.4.1:compile
[INFO] | | +- org.apache.httpcomponents:httpmime:jar:4.4.1:compile
[INFO] | | +- org.apache.zookeeper:zookeeper:jar:3.4.6:compile
[INFO] | | +- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] | | +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
[INFO] | | \- org.noggit:noggit:jar:0.6:compile
[INFO] | +- javax:javaee-api:jar:7.0:compile
[INFO] | | \- com.sun.mail:javax.mail:jar:1.5.0:compile
[INFO] | | \- javax.activation:activation:jar:1.1:compile
[INFO] | +- richtercloud:message-handler:jar:1.0-SNAPSHOT:compile
[INFO] | | +- org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] | | \- com.getsentry.raven:raven:jar:7.8.1:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.7.3:compile
[INFO] | \- richtercloud:message-handler-raven-bug-handler:jar:1.0-SNAPSHOT:compile
[INFO] +- org.primefaces:primefaces:jar:6.1:compile
[INFO] +- net.glxn:qrgen:jar:1.4:compile
[INFO] | \- com.google.zxing:javase:jar:3.0.0:compile
[INFO] | \- com.google.zxing:core:jar:3.0.0:compile
[INFO] +- net.sf.barcode4j:barcode4j-light:jar:2.1:compile
[INFO] +- com.google.guava:guava:jar:18.0:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- richtercloud:validation-tools:jar:1.0-SNAPSHOT:compile
[INFO] +- org.httpunit:httpunit:jar:1.7.2:test
[INFO] | +- rhino:js:jar:1.6R5:test
[INFO] | +- nekohtml:nekohtml:jar:0.9.5:test
[INFO] | +- javax.servlet:servlet-api:jar:2.4:test
[INFO] | +- net.sf.jtidy:jtidy:jar:r938:test
[INFO] | \- xerces:xmlParserAPIs:jar:2.6.1:test
[INFO] +- commons-io:commons-io:jar:2.5:compile
[INFO] +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-javaee:jar:2.0.0-alpha-10:test
[INFO] | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-10:compile
[INFO] +- org.jboss.jsfunit:jsfunit-arquillian:jar:2.0.0.Beta3-SNAPSHOT:test
[INFO] | +- org.jboss.jsfunit:jboss-jsfunit-core:jar:2.0.0.Beta3-SNAPSHOT:test
[INFO] | | +- net.sourceforge.htmlunit:htmlunit:jar:2.8:test
[INFO] | | | \- commons-codec:commons-codec:jar:1.4:test
[INFO] | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.8:test
[INFO] | | +- org.apache.james:apache-mime4j:jar:0.6:test
[INFO] | | +- commons-lang:commons-lang:jar:2.4:test
[INFO] | | +- commons-collections:commons-collections:jar:3.2.1:test
[INFO] | | +- net.sourceforge.cssparser:cssparser:jar:0.9.5:test
[INFO] | | | \- org.w3c.css:sac:jar:1.3:test
[INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.14:test
[INFO] | | \- xalan:xalan:jar:2.7.1:test
[INFO] | | \- xalan:serializer:jar:2.7.1:test
[INFO] | +- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.2.6:test
[INFO] | \- org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar:1.1.13.Final:test
[INFO] | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-10:compile
[INFO] +- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-javaee:jar:2.0.0-alpha-10:compile
[INFO] | \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-base:jar:2.0.0-alpha-10:compile
[INFO] +- xerces:xercesImpl:jar:2.11.0:test
[INFO] | \- xml-apis:xml-apis:jar:1.4.01:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] +- javax:javaee-web-api:jar:7.0:provided
[INFO] +- org.powermock:powermock-module-junit4:jar:1.7.0RC4:test
[INFO] | \- org.powermock:powermock-module-junit4-common:jar:1.7.0RC4:test
[INFO] | +- org.powermock:powermock-reflect:jar:1.7.0RC4:test
[INFO] | \- org.powermock:powermock-core:jar:1.7.0RC4:test
[INFO] | \- org.javassist:javassist:jar:3.21.0-GA:test
[INFO] +- org.powermock:powermock-api-mockito2:jar:1.7.0RC4:test
[INFO] | +- org.powermock:powermock-api-mockito-common:jar:1.7.0RC4:test
[INFO] | | \- org.powermock:powermock-api-support:jar:1.7.0RC4:test
[INFO] | \- org.mockito:mockito-core:jar:2.7.5:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.6.5:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.6.5:test
[INFO] | \- org.objenesis:objenesis:jar:2.5:test
[INFO] +- net.sf.jmimemagic:jmimemagic:jar:0.1.3:compile
[INFO] | +- oro:oro:jar:2.0.8:compile
[INFO] | +- xml-apis:xmlParserAPIs:jar:2.0.2:compile
[INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.5.2:compile
[INFO] | | +- org.codehaus.jackson:jackson-core-asl:jar:1.5.2:compile
[INFO] | | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.5.2:compile
[INFO] | \- org.codehaus.jackson:jackson-xc:jar:1.5.2:compile
[INFO] +- org.imgscalr:imgscalr-lib:jar:4.3-SNAPSHOT:compile
[INFO] +- org.ocpsoft.prettytime:prettytime:jar:3.2.7.Final:compile
[INFO] +- org.bitbucket.cowwoc:diff-match-patch:jar:1.1:compile
[INFO] +- org.rauschig:jarchivelib:jar:0.7.1:compile
[INFO] | \- org.apache.commons:commons-compress:jar:1.9:compile
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-api:jar:1.1.13.Final:test
[INFO] | | \- org.jboss.arquillian.core:arquillian-core-api:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.1.13.Final:test
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.2.6:test
[INFO] | \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.2.6:test
[INFO] +- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.core:arquillian-core-spi:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.config:arquillian-config-api:jar:1.1.13.Final:test
[INFO] | \- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.1.13.Final:test
[INFO] +- org.jboss.arquillian.container:arquillian-glassfish-embedded-3.1:jar:1.0.0.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-cdi:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-ejb:jar:1.1.13.Final:test
[INFO] | +- org.jboss.arquillian.testenricher:arquillian-testenricher-resource:jar:1.1.13.Final:test
[INFO] | \- org.jboss.arquillian.testenricher:arquillian-testenricher-initialcontext:jar:1.1.13.Final:test
[INFO] +- org.glassfish.extras:glassfish-embedded-all:jar:3.2-b06:test
[INFO] \- org.ow2.asm:asm-commons:jar:5.0.3:runtime
[INFO] \- org.ow2.asm:asm-tree:jar:5.0.3:runtime
[INFO] \- org.ow2.asm:asm:jar:5.0.3:runtime
I need slf4j-api in order to be able to compile the project. Where is the old API request coming from?
SLF4J: Found binding in [jar:file:/home/richter/.m2/repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/richter/.m2/repository/org/glassfish/extras/glassfish-embedded-all/3.2-b06/glassfish-embedded-all-3.2-b06.jar!/org/slf4j/impl/StaticLoggerBinder.class]
It said quite clear, you have slf4j bingding in both glassfish-embedded-all-3.2-b06.jar and logback-classic-1.1.8.jar.
Logback should be what you really need to print the log. But org/slf4j/impl/StaticLoggerBinder.class in glassfish jar also can implenment slf4j logging api.
So, what you should do is exclude glassfish-embedded-all. If you really need it ,you should include some other version of glassfish-embedded, not -all jar. Or at least, you can just remove org/slf4j/impl/StaticLoggerBinder.class in glassfish-embedded-all.jar

How to avoid multiple SLF4J bindings?

Collegues, when i run any test i receive the next stack trace:
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found
binding in
[jar:file:/C:/Users/someuser/.m2/repository/org/slf4j/slf4j-simple/1.7.22/slf4j-simple-1.7.22.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in
[jar:file:/C:/Users/someuser/.m2/repository/ch/qos/logback/logback-classic/1.1.9/logback-classic-1.1.9.jar!/org/slf4j/impl/StaticLoggerBinder.class]
My dependency tree looks like:
C:\Users\someuser\Documents\GIT\same-integration\same-ftp>mvn dependency:tree
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building same :: FTP 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) # same-ftp ---
[INFO] com.ac.same:same-ftp:jar:1.0-SNAPSHOT
[INFO] +- org.springframework:spring-context:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.3.5.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:4.3.5.RELEASE:compile
[INFO] | \- org.springframework:spring-expression:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:4.3.5.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:4.3.5.RELEASE:test
[INFO] +- org.springframework:spring-orm:jar:4.3.5.RELEASE:compile
[INFO] | \- org.springframework:spring-jdbc:jar:4.3.5.RELEASE:compile
[INFO] +- org.hibernate:hibernate-core:jar:5.2.6.Final:compile
[INFO] | +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Fin
[INFO] | +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] | +- antlr:antlr:jar:2.7.7:compile
[INFO] | +- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] | +- org.jboss:jandex:jar:2.0.3.Final:compile
[INFO] | +- com.fasterxml:classmate:jar:1.3.0:compile
[INFO] | +- dom4j:dom4j:jar:1.6.1:compile
[INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final:
[INFO] | \- javax.enterprise:cdi-api:jar:1.1:compile
[INFO] | +- javax.el:el-api:jar:2.2:compile
[INFO] | +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec
[INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
[INFO] | \- javax.inject:javax.inject:jar:1:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.9:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.7.22:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.1.9:compile
[INFO] +- me.moocar:logback-gelf:jar:0.3:compile
[INFO] | +- com.google.code.gson:gson:jar:2.3.1:compile
[INFO] | \- me.moocar:socket-encoder-appender:jar:0.1beta1:compile
[INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.22:compile
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.22:compile
[INFO] +- com.typesafe:config:jar:1.3.0:compile
[INFO] +- commons-io:commons-io:jar:2.2:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.5:compile
[INFO] +- org.apache.camel:camel-core:jar:2.18.1:compile
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] | \- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] +- org.apache.camel:camel-ftp:jar:2.18.1:compile
[INFO] | \- commons-net:commons-net:jar:3.3:compile
[INFO] +- org.apache.camel:camel-spring:jar:2.18.1:compile
[INFO] +- org.apache.camel:camel-quartz2:jar:2.18.1:compile
[INFO] | +- org.quartz-scheduler:quartz:jar:2.2.3:compile
[INFO] | \- com.mchange:c3p0:jar:0.9.5.2:compile
[INFO] | \- com.mchange:mchange-commons-java:jar:0.2.11:compile
[INFO] +- org.apache.camel:camel-jdbc:jar:2.18.1:compile
[INFO] +- com.jcraft:jsch:jar:0.1.42:compile
[INFO] +- junit:junit:jar:4.12:test
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- pl.touk:tsc-reload:jar:0.3.0:compile
[INFO] | \- com.javaslang:javaslang:jar:2.0.0-RC3:compile
[INFO] +- commons-collections:commons-collections:jar:3.0:compile
[INFO] +- org.apache.maven.plugins:maven-shade-plugin:jar:2.4.3:compile
[INFO] | +- org.apache.maven:maven-plugin-api:jar:3.0:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[INFO] | | \- org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[INFO] | +- org.apache.maven:maven-model:jar:3.0:compile
[INFO] | +- org.apache.maven:maven-core:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-settings-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0:compile
[INFO] | | +- org.apache.maven:maven-aether-provider:jar:3.0:runtime
[INFO] | | +- org.sonatype.aether:aether-impl:jar:1.7:compile
[INFO] | | | \- org.sonatype.aether:aether-spi:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-api:jar:1.7:compile
[INFO] | | +- org.sonatype.aether:aether-util:jar:1.7:compile
[INFO] | | +- org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[INFO] | | +- org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compi
[INFO] | | \- org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[INFO] | | \- org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[INFO] | +- org.apache.maven:maven-compat:jar:3.0:compile
[INFO] | | \- org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[INFO] | +- org.apache.maven:maven-artifact:jar:3.0:compile
[INFO] | +- org.codehaus.plexus:plexus-utils:jar:3.0.22:compile
[INFO] | +- org.ow2.asm:asm:jar:5.0.2:compile
[INFO] | +- org.ow2.asm:asm-commons:jar:5.0.2:compile
[INFO] | | \- org.ow2.asm:asm-tree:jar:5.0.2:compile
[INFO] | +- org.jdom:jdom:jar:1.1:compile
[INFO] | +- org.apache.maven.shared:maven-dependency-tree:jar:2.2:compile
[INFO] | | \- org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[INFO] | +- org.vafer:jdependency:jar:1.1:compile
[INFO] | | +- org.ow2.asm:asm-analysis:jar:5.0.4:compile
[INFO] | | \- org.ow2.asm:asm-util:jar:5.0.4:compile
[INFO] | \- com.google.guava:guava:jar:11.0.2:compile
[INFO] | \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] +- org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf:jar:3.0.2.RELEASE:compile
[INFO] | +- ognl:ognl:jar:3.1.10:compile
[INFO] | +- org.attoparser:attoparser:jar:2.0.1.RELEASE:compile
[INFO] | \- org.unbescape:unbescape:jar:1.1.4.RELEASE:compile
[INFO] +- org.thymeleaf:thymeleaf-spring4:jar:3.0.2.RELEASE:compile
[INFO] +- javax.mail:mail:jar:1.4.7:compile
[INFO] | \- javax.activation:activation:jar:1.1:compile
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
[INFO] | \- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] \- com.microsoft.sqlserver:sqljdbc4:jar:4.2:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.583 s
[INFO] Finished at: 2017-02-15T13:42:27+03:00
[INFO] Final Memory: 20M/236M
[INFO] ------------------------------------------------------------------------
I'am trying to add any exclusions but it doesn't help.
May you tell me how to fix the ptroblem?
Assuming you want to use logback-classic, you need to exclude the others :
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.2.6.Final</version>
<exclusions>
<exclusion>
<groupId>me.moocar:logback-gelf</groupId>
<artifactId>me.moocar:logback-gelf</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jul-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>me.moocar:logback-gelf</groupId>
<artifactId>me.moocar:logback-gelf</artifactId>
</exclusion>
</exclusions>
</dependency>

Version Incompatibility between Spring batch and cloudera hadoop

I was trying the spring batch word count program and faced a version issue like this :
ERROR [org.springframework.batch.core.step.AbstractStep] - <Encountered an error executing the step>
java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected
I use Cloudera Hadoop2 cdh4.5.0 and Spring hadoop version 1.0.1.RELEASE. I cant identify the exact problem as Spring batch is compatible with hadoop cdh4.
My dependency tree is as shown below.
[INFO] org.springframework.data:batch-wordcount:jar:0.0.1
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] | \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework.batch:spring-batch-core:jar:2.2.0.RELEASE:compile
[INFO] | +- com.thoughtworks.xstream:xstream:jar:1.3:compile
[INFO] | | \- xpp3:xpp3_min:jar:1.1.4c:compile
[INFO] | +- org.codehaus.jettison:jettison:jar:1.1:compile
[INFO] +- org.springframework.batch:spring-batch-infrastructure:jar:2.2.0.RELEASE:compile
[INFO] | \- org.springframework.retry:spring-retry:jar:1.0.2.RELEASE:compile
[INFO] +- org.springframework.batch:spring-batch-test:jar:2.2.0.RELEASE:compile
[INFO] | +- (junit:junit:jar:4.10:compile - omitted for conflict with 4.11)
[INFO] | +- (org.springframework:spring-test:jar:3.2.0.RELEASE:compile - omitted for conflict with 3.0.5.RELEASE)
[INFO] | +- commons-io:commons-io:jar:1.4:compile
[INFO] | +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] | | \- commons-pool:commons-pool:jar:1.3:compile
[INFO] | \- commons-collections:commons-collections:jar:3.2:compile
[INFO] +- junit:junit:jar:4.11:test (scope not updated to compile)
[INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- org.springframework.data:spring-data-hadoop:jar:1.0.2.RELEASE:compile
[INFO] +- org.apache.hadoop:hadoop-common:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- org.apache.hadoop:hadoop-annotations:jar:2.0.0-cdh4.5.0:compile
[INFO] | | \- jdk.tools:jdk.tools:jar:1.6:system
[INFO] | +- com.google.guava:guava:jar:11.0.2:compile
[INFO] | +- commons-net:commons-net:jar:3.1:compile
[INFO] | +- javax.servlet:servlet-api:jar:2.5:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.26.cloudera.2:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26.cloudera.2:compile
[INFO] | +- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] | +- com.sun.jersey:jersey-json:jar:1.8:compile
[INFO] | | +- com.sun.xml.bind:jaxb-impl:jar:2.2.3-1:compile
[INFO] | | | \- javax.xml.bind:jaxb-api:jar:2.2.2:compile
[INFO] | | | \- javax.activation:activation:jar:1.1:compile
[INFO] | | \- (com.sun.jersey:jersey-core:jar:1.8:compile - omitted for duplicate)
[INFO] | +- log4j:log4j:jar:1.2.17:compile
[INFO] | +- org.apache.hadoop:cloudera-jets3t:jar:2.0.0-cdh4.5.0:compile
[INFO] | | \- (net.java.dev.jets3t:jets3t:jar:0.9.0:compile - omitted for conflict with 0.6.1)
[INFO] | +- net.java.dev.jets3t:jets3t:jar:0.6.1:compile
[INFO] | | +- (commons-codec:commons-codec:jar:1.3:compile - omitted for conflict with 1.4)
[INFO] | | +- (commons-logging:commons-logging:jar:1.1.1:compile - omitted for duplicate)
[INFO] | | \- (commons-httpclient:commons-httpclient:jar:3.1:compile - omitted for duplicate)
[INFO] | +- (junit:junit:jar:4.8.2:compile - omitted for conflict with 4.11)
[INFO] | +- commons-lang:commons-lang:jar:2.5:compile
[INFO] | +- commons-configuration:commons-configuration:jar:1.6:compile
[INFO] | | +- commons-digester:commons-digester:jar:1.8:compile
[INFO] | | | +- commons-beanutils:commons-beanutils:jar:1.7.0:compile
[INFO] | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[INFO] | +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] | +- org.slf4j:slf4j-log4j12:jar:1.6.1:runtime
[INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.8.8:compile
[INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:compile
[INFO] | +- net.sf.kosmosfs:kfs:jar:0.3:compile
[INFO] | +- com.google.protobuf:protobuf-java:jar:2.4.0a:compile
[INFO] | +- org.apache.hadoop:hadoop-auth:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- com.jcraft:jsch:jar:0.1.42:compile
[INFO] | \- org.apache.zookeeper:zookeeper:jar:3.4.5-cdh4.5.0:compile
[INFO] | \- jline:jline:jar:0.9.94:compile
[INFO] +- org.apache.hadoop:hadoop-hdfs:jar:2.0.0-cdh4.5.0:compile
[INFO] | +- tomcat:jasper-runtime:jar:5.5.23:compile
[INFO] | | \- commons-el:commons-el:jar:1.0:compile
[INFO] +- org.apache.hadoop:hadoop-tools:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] | +- com.cloudera.cdh:hadoop-ant:pom:2.0.0-mr1-cdh4.5.0:compile
[INFO] | \- org.apache.hadoop:hadoop-core:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] | +- hsqldb:hsqldb:jar:1.8.0.10:compile
[INFO] | +- org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] +- org.hamcrest:hamcrest-all:jar:1.1:compile
[INFO] +- org.apache.hadoop:hadoop-client:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] +- org.apache.hadoop:hadoop-streaming:jar:2.0.0-mr1-cdh4.5.0:compile
[INFO] \- org.springframework:spring-test:jar:3.0.5.RELEASE:compile
Also, Does ommited for duplicate dependencies cause any error ?
You should use the 1.0.2.RELEASE-cdh4 version with Cloudera CDH4 - these distro specific releases are available in the Spring repository:
<repository>
<id>spring-releases</id>
<name>Spring Release Repository</name>
<url>http://repo.spring.io/libs-release</url>
</repository>
More info here: https://github.com/spring-projects/spring-hadoop/wiki/Build-with-Cloudera-CDH4

Bad version number in .class file

I am trying to deploy a webapp in my local Jetty with Maven.
My Java -version in command line is
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
In Eclipse, my project's JDK Compliance is set to 'Use Compliance from execution Environment J2SE-1.5 on the Build path', which is JDK1.5.0_22 as well.
No matter where I try to run it from, either command line with mvn jetty:run or Eclipse configuring a VM like this
I get the same errors.
Listening for transport dt_socket at address: 4000
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.ow2.frascati.examples:frascati-gae:war:1.5-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.sun.xml.bind:jaxb-impl:jar -> version 2.1.13 vs 2.1.12 # line 103, column 17
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. # org.ow2.frascati.examples:parent:1.5-SNAPSHOT, C:\WorkSpace\FrascatiTrunk\examples\pom.xml, line 93, column 15
[WARNING] 'build.plugins.plugin.version' for com.google.code.maven-replacer-plugin:maven-replacer-plugin is missing. # org.ow2.frascati.examples:frascati-in-the-cloud:1.5-SNAPSHOT, C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\pom.xml, line 462, column 15
[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]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OW2 FraSCAti in Google App Engine 1.5-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae >>>
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # frascati-gae ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) # frascati-gae ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) # frascati-gae ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) # frascati-gae ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae <<<
[INFO]
[INFO] --- maven-jetty-plugin:6.1.26:run (default-cli) # frascati-gae ---
[INFO] Configuring Jetty for project: OW2 FraSCAti in Google App Engine
[INFO] Webapp source directory = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\classes
2012-10-04 10:25:26.688:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
[INFO] Context path = /frascati-gae
[INFO] Tmp directory = determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp\WEB-INF\web.xml
[INFO] Webapp directory = C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp
[INFO] Starting jetty 6.1.26 ...
2012-10-04 10:25:26.770:INFO::jetty-6.1.26
2012-10-04 10:25:27.070:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext#f553e3{/frascati-gae,C:\WorkSpace\FrascatiTrunk\examples\frascati-in-the-cloud\Google App Engine\target\webapp}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.mortbay.jetty.plugin.Jetty6MavenConfiguration.parseAnnotations(Jetty6MavenConfiguration.java:142)
.
.
.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
.
.
.
[INFO] Started Jetty Server
2012-10-04 10:25:27.156:INFO::Started SelectChannelConnector#0.0.0.0:8080
[INFO] Starting scanner at interval of 10 seconds.
I am confused with the
java.lang.UnsupportedClassVersionError: Bad version number in .class file
since I've been getting this ever since I changed to J2SE-1.5, because the project requirements specified so.
I even deleted my whole m2repo and had Maven redownloading it all.
I am a bit lost with this mix of errors. Can anyone throw any light on this?
EDIT:
If I change my Java version to JDK-1.6 it works "fine" (different unrelated errors).
But why? Shouldn't it work if the project requirements are Java 1.5?
Besides, Shouldn't all the repositories that Maven downloaded be compatible with 1.5 since that's what they where compiled with before deploying?
EDIT 2: (regarding #Kal's comment)
My project is a subproject example of a main Trunk. To compile it I run Maven on the POM of my example project which depends on previous POMs. In its parent POM, in the examples directory, there is:
<!-- Compile with Java 1.5 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
EDIT 3:
Here is my dependency.tree:
[INFO] org.ow2.frascati.examples:frascati-gae:war:1.5-SNAPSHOT
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.1.12:runtime (scope not updated to co
mpile)
[INFO] +- org.ow2.frascati.examples:fibonacci:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-binding-rest:jar:1.5-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-metamodel-frascati:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | | \- org.ow2.frascati.model:frascati-model:jar:2.0.1.3:compile
[INFO] | | | \- org.ow2.frascati.model:sca-model:jar:2.0.1.3:compile
[INFO] | | | +- org.eclipse.emf:ecore:jar:2.4.0:compile
[INFO] | | | | \- org.eclipse.core:runtime:jar:3.4.0:compile
[INFO] | | | | \- org.eclipse.equinox:common:jar:3.4.0:compile
[INFO] | | | +- org.eclipse.emf.ecore:xmi:jar:2.4.0:compile
[INFO] | | | \- org.eclipse.emf:common:jar:2.4.0:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-factory:jar:1.5-SNAPSHOT:compi
le
[INFO] | | | +- org.ow2.fractal.bf.connectors:fractal-bf-connectors-common:ja
r:0.10-SNAPSHOT:compile
[INFO] | | | | \- org.ow2.fractal.bf:fractal-bf-core:jar:0.10-SNAPSHOT:compi
le
[INFO] | | | +- org.objectweb.fractal.fractaladl:fractal-adl:jar:2.3.1:compil
e
[INFO] | | | | +- org.objectweb.fractal.fractaladl:ast-core:jar:2.3.1:compil
e
[INFO] | | | | | \- dtdparser:dtdparser:jar:1.21:compile
[INFO] | | | | +- org.objectweb.fractal.fractaladl:task-framework:jar:2.3.1:
compile
[INFO] | | | | \- org.objectweb.fractal.fractaladl:task-deployment:jar:2.3.1
:compile
[INFO] | | | \- org.objectweb.fractal:fractal-util:jar:1.1.2:compile
[INFO] | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-rest-cxf:jar
:0.10-SNAPSHOT:compile
[INFO] | | +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
[INFO] | | \- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:2.5.4:compile
[INFO] | | +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.5.4:compile
[INFO] | | \- org.codehaus.jettison:jettison:jar:1.3.1:compile
[INFO] | \- org.ow2.frascati:frascati-binding-ws:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-soap-cxf:jar
:0.10-SNAPSHOT:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-bindings-soap:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.5.4:compil
e
[INFO] | +- org.apache.cxf:cxf-rt-databinding-aegis:jar:2.5.4:compile
[INFO] | +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-ws-addr:jar:2.5.4:compile
[INFO] | \- wsdl4j:wsdl4j:jar:1.6.2:compile
[INFO] +- org.ow2.frascati.examples:isbntest:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.ow2.frascati:frascati-interface-wsdl:jar:1.5-SNAPSHOT:compile
[INFO] | \- org.jvnet.jaxb2_commons:jaxb2-basics:jar:0.5.0:compile
[INFO] | +- org.jvnet.jaxb2_commons:jaxb2-basics-runtime:jar:0.5.0:compil
e
[INFO] | \- org.jvnet.jaxb2_commons:jaxb2-basics-tools:jar:0.5.0:compile
[INFO] +- org.ow2.frascati.examples:ohloh-proxy-standalone:jar:1.5-SNAPSHOT:comp
ile
[INFO] +- org.ow2.frascati.examples:verifymail:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati.examples:weather:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati.examples:weather-mock:jar:1.5-SNAPSHOT:compile
[INFO] +- org.ow2.frascati:frascati-servlet-cxf:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-assembly-factory:jar:1.5-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-sca-parser:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati:frascati-util:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati.tinfi:frascati-tinfi-membranes-oo:jar:1.4.4:
compile
[INFO] | | | | \- org.ow2.frascati.tinfi:frascati-tinfi-runtime:jar:1.4.4:co
mpile
[INFO] | | | | +- org.objectweb.fractal.juliac:juliac-runtime:jar:2.4:com
pile
[INFO] | | | | +- org.ow2.frascati.tinfi:frascati-tinfi-runtime-api:jar:1
.4.4:compile
[INFO] | | | | +- org.oasis-open.sca.j:sca-caa-apis:jar:1.1-CD04:compile
[INFO] | | | | +- org.eclipse.stp.sca.osoa.java:osoa-java-api:jar:2.0.1.2
:compile
[INFO] | | | | \- org.objectweb.fractal.fraclet.java:fraclet-annotations:
jar:3.3:compile
[INFO] | | | \- org.ow2.frascati.model:sca-model-introspection:jar:2.0.1.3:co
mpile
[INFO] | | \- org.ow2.frascati:frascati-component-factory-tinfi-oo:jar:1.5-SNA
PSHOT:compile
[INFO] | | \- org.ow2.frascati:frascati-component-factory:jar:1.5-SNAPSHOT:
compile
[INFO] | +- org.apache.cxf:cxf-rt-transports-http:jar:2.5.4:compile
[INFO] | | +- org.apache.cxf:cxf-api:jar:2.4.2:compile
[INFO] | | | +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0:compile
[INFO] | | | \- org.apache.neethi:neethi:jar:3.0.2:compile
[INFO] | | +- org.apache.cxf:cxf-rt-transports-common:jar:2.5.4:compile
[INFO] | | \- org.apache.cxf:cxf-rt-core:jar:2.4.2:compile
[INFO] | \- org.apache.cxf:cxf-rt-transports-http-jetty:jar:2.5.4:compile
[INFO] | +- org.eclipse.jetty:jetty-server:jar:7.4.5.v20110725:compile
[INFO] | \- org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.1.2:co
mpile
[INFO] +- org.ow2.frascati:frascati-web-explorer:jar:1.5-SNAPSHOT:compile
[INFO] | +- org.ow2.frascati:frascati-binding-http:jar:1.5-SNAPSHOT:compile
[INFO] | | \- org.ow2.frascati:frascati-metamodel-tuscany:jar:1.5-SNAPSHOT:com
pile
[INFO] | | \- org.ow2.frascati.model:tuscany-model:jar:2.0.1.3:compile
[INFO] | +- com.sun.jersey:jersey-client:jar:1.8:compile
[INFO] | | \- com.sun.jersey:jersey-core:jar:1.8:compile
[INFO] | +- org.ow2.frascati:frascati-web-explorer-bootstrap:jar:1.5-SNAPSHOT:c
ompile
[INFO] | | +- org.ow2.frascati:frascati-implementation-velocity:jar:1.5-SNAPSH
OT:compile
[INFO] | | | \- org.ow2.frascati:frascati-metamodel-web:jar:1.5-SNAPSHOT:comp
ile
[INFO] | | +- org.ow2.frascati:frascati-implementation-fractal:jar:1.5-SNAPSHO
T:compile
[INFO] | | | +- org.objectweb.fractal.julia:julia-asm:jar:2.5.2:compile
[INFO] | | | | \- asm:asm:jar:3.1:compile
[INFO] | | | \- org.objectweb.fractal.julia:julia-mixins:jar:2.5.2:compile
[INFO] | | \- org.ow2.frascati:frascati-component-factory-julia:jar:1.5-SNAPSH
OT:compile
[INFO] | | \- org.objectweb.fractal.julia:julia-runtime:jar:2.5.2:compile
[INFO] | +- org.ow2.frascati:frascati-introspection-impl:jar:1.5-SNAPSHOT:compi
le
[INFO] | | +- org.ow2.frascati:frascati-bootstrap-jdt-rest:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | +- org.ow2.frascati:frascati-binding-jsonrpc:jar:1.5-SNAPSHOT:compi
le
[INFO] | | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-json-rpc:
jar:0.10-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati.upnp:frascati-binding-upnp:jar:1.5-SNAPSHOT:com
pile
[INFO] | | | +- org.ow2.frascati.upnp:frascati-metamodel-upnp:jar:1.5-SNAPSHO
T:compile
[INFO] | | | +- org.ow2.fractal.bf.connectors:fractal-bf-connectors-upnp:jar:
0.10-SNAPSHOT:compile
[INFO] | | | | +- org.ow2.fractal.bf.binjiu.runtime:controlpoint:jar:0.2-SNA
PSHOT:compile
[INFO] | | | | | +- org.ow2.fractal.bf.binjiu.description:model:jar:0.2-SNA
PSHOT:compile
[INFO] | | | | | \- org.cybergarage.cyberlink:upnp-stack:jar:1.7.0:compile
[INFO] | | | | | \- net.sf.kxml:kxml2:jar:2.1.8:compile
[INFO] | | | | +- org.ow2.fractal.bf.binjiu.runtime:device:jar:0.2-SNAPSHOT:
compile
[INFO] | | | | | \- org.ow2.fractal.bf.binjiu.description:upnp2java:jar:0.2
-SNAPSHOT:compile
[INFO] | | | | \- org.ow2.fractal.bf.binjiu.description:java2upnp:jar:0.2-SN
APSHOT:compile
[INFO] | | | \- xerces:xercesImpl:jar:2.9.1:compile
[INFO] | | | \- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] | | +- org.ow2.frascati.gcs:frascati-binding-jgroups:jar:1.5-SNAPSHOT:c
ompile
[INFO] | | | +- org.ow2.frascati.gcs:frascati-metamodel-gcs:jar:1.5-SNAPSHOT:
compile
[INFO] | | | \- org.jgroups:jgroups:jar:2.12.1.Final:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-jms:jar:1.5-SNAPSHOT:compile
[INFO] | | | +- org.ow2.frascati:frascati-util-xml:jar:1.5-SNAPSHOT:compile
[INFO] | | | | \- org.jdom:jdom:jar:1.1:compile
[INFO] | | | +- org.objectweb.joram:joram-client-jms:jar:5.5.0:compile
[INFO] | | | | +- org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:
compile
[INFO] | | | | +- org.objectweb.joram:joram-shared:jar:5.5.0:compile
[INFO] | | | | | \- org.objectweb.joram:jcup:jar:5.3.1:compile
[INFO] | | | | \- soap:soap:jar:2.3:compile
[INFO] | | | +- org.objectweb.joram:jndi-client:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:jndi-shared:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:a3-common:jar:5.5.0:compile
[INFO] | | | | +- org.ow2.jonas.osgi:monolog:jar:5.1.1:compile
[INFO] | | | | \- org.osgi:org.osgi:jar:3.0.0:compile
[INFO] | | | +- org.objectweb.joram:jndi-server:jar:5.5.0:compile
[INFO] | | | | \- org.objectweb.joram:a3-rt:jar:5.5.0:compile
[INFO] | | | | +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] | | | | | \- commons-pool:commons-pool:jar:1.3:compile
[INFO] | | | | \- mysql:mysql-connector-java:jar:5.1.6:compile
[INFO] | | | \- org.objectweb.joram:joram-mom-core:jar:5.5.0:compile
[INFO] | | +- org.ow2.frascati.native:frascati-binding-jna:jar:1.5-SNAPSHOT:co
mpile
[INFO] | | | +- org.ow2.frascati.native:frascati-metamodel-native:jar:1.5-SNA
PSHOT:compile
[INFO] | | | \- net.java.dev.jna:jna:jar:3.2.5:compile
[INFO] | | +- org.ow2.frascati:frascati-binding-rmi:jar:1.5-SNAPSHOT:compile
[INFO] | | | \- org.ow2.fractal.bf.connectors:fractal-bf-connectors-rmi:jar:0
.10-SNAPSHOT:compile
[INFO] | | +- org.ow2.frascati:frascati-introspection-api:jar:1.5-SNAPSHOT:com
pile
[INFO] | | | +- org.ow2.frascati.model:osoa-java-api:jar:2.0.1.3:compile
[INFO] | | | \- org.objectweb.fractal:fractal-api:jar:2.0.2:compile
[INFO] | | \- org.apache.cxf:cxf-common-utilities:jar:2.4.2:compile
[INFO] | | \- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.2:runtime
[INFO] | | \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
[INFO] | \- commons-io:commons-io:jar:1.3:compile
[INFO] +- org.apache.velocity:velocity:jar:1.7:compile
[INFO] | +- commons-collections:commons-collections:jar:3.2.1:compile
[INFO] | \- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided (scope not updated to compi
le)
[INFO] +- org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided (scope not upd
ated to compile)
[INFO] +- org.apache.geronimo.specs:geronimo-servlet_3.0_spec:jar:1.0:provided
[INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:provided (scope not u
pdated to compile)
[INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:provided
[INFO] | +- org.springframework:spring-context:jar:3.0.5.RELEASE:provided
[INFO] | | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:provided
[INFO] | | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:provided
[INFO] | | \- org.springframework:spring-asm:jar:3.0.5.RELEASE:provided
[INFO] | \- org.springframework:spring-core:jar:3.0.5.RELEASE:provided
[INFO] +- aopalliance:aopalliance:jar:1.0:runtime
[INFO] +- org.mortbay.jetty:jetty:jar:6.1.16:provided (scope not updated to comp
ile)
[INFO] | \- org.mortbay.jetty:jetty-util:jar:6.1.16:provided
[INFO] +- org.eclipse.jetty:jetty-util:jar:7.4.5.v20110725:runtime (scope not up
dated to compile)
[INFO] +- org.eclipse.jetty:jetty-continuation:jar:7.4.5.v20110725:provided (sco
pe not updated to compile)
[INFO] +- org.eclipse.jetty:jetty-http:jar:7.4.5.v20110725:provided (scope not u
pdated to compile)
[INFO] | \- org.eclipse.jetty:jetty-io:jar:7.4.5.v20110725:provided
[INFO] +- org.eclipse.jetty:jetty-security:jar:7.4.5.v20110725:provided (scope n
ot updated to compile)
[INFO] +- org.objectweb.monolog:monolog-api:jar:1.8:provided (scope not updated
to compile)
[INFO] +- org.objectweb.monolog:monolog:jar:1.8:provided (scope not updated to c
ompile)
[INFO] +- com.sun.xml.bind:jaxb-xjc:jar:2.1.13:provided (scope not updated to ru
ntime)
[INFO] +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.7.1:provide
d (scope not updated to compile)
[INFO] +- org.jabsorb:jabsorb:jar:1.3.1:provided (scope not updated to compile)
[INFO] +- org.slf4j:slf4j-api:jar:1.5.0:provided (scope not updated to compile)
[INFO] +- org.slf4j:slf4j-jdk14:jar:1.5.0:provided (scope not updated to compile
)
[INFO] +- org.jvnet.jaxb2_commons:runtime:jar:0.4.1.5:provided (scope not update
d to compile)
[INFO] +- commons-beanutils:commons-beanutils:jar:1.7.0:provided (scope not upda
ted to compile)
[INFO] +- commons-logging:commons-logging:jar:1.0.3:provided (scope not updated
to compile)
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-core:jar:2.4.2:provided (scope not upd
ated to compile)
[INFO] | \- org.apache.cxf:cxf-tools-validator:jar:2.4.2:provided
[INFO] +- org.apache.cxf:cxf-tools-common:jar:2.4.2:runtime
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-frontend-jaxws:jar:2.4.2:provided (sco
pe not updated to compile)
[INFO] | \- xml-resolver:xml-resolver:jar:1.2:provided
[INFO] +- org.apache.cxf:cxf-tools-wsdlto-databinding-jaxb:jar:2.4.2:provided (s
cope not updated to compile)
[INFO] +- org.eclipse:osgi:jar:3.4.0:provided
[INFO] +- org.eclipse.core:jobs:jar:3.4.0:provided
[INFO] +- asm:asm-util:jar:3.1:provided (scope not updated to compile)
[INFO] | \- asm:asm-tree:jar:3.1:provided
[INFO] +- asm:asm-analysis:jar:3.1:provided (scope not updated to compile)
[INFO] +- javax.activation:activation:jar:1.1:provided (scope not updated to run
time)
[INFO] +- javax.annotation:jsr250-api:jar:1.0:provided (scope not updated to com
pile)
[INFO] +- javax.script:script-api:jar:1.0:provided
[INFO] +- javax.xml.bind:jaxb-api:jar:2.1:provided (scope not updated to runtime
)
[INFO] +- javax.xml.stream:stax-api:jar:1.0-2:provided (scope not updated to com
pile)
[INFO] +- org.ow2.frascati:frascati-runtime-factory:jar:1.5-SNAPSHOT:provided (s
cope not updated to compile)
[INFO] | +- org.ow2.frascati:frascati-component-factory-juliac-jdt:jar:1.5-SNAP
SHOT:provided
[INFO] | | +- org.ow2.frascati:frascati-component-factory-juliac:jar:1.5-SNAPS
HOT:provided
[INFO] | | | \- org.objectweb.fractal.juliac:juliac-core:jar:2.4.3:provided
[INFO] | | | \- com.google.guava:guava:jar:r07:provided
[INFO] | | \- org.objectweb.fractal.juliac:juliac-jdt:jar:2.4.3:provided
[INFO] | | \- org.eclipse.jdt:core:jar:3.3.0.771:provided
[INFO] | \- org.ow2.frascati:frascati-component-factory-juliac-tinfi-oo:jar:1.5
-SNAPSHOT:provided
[INFO] | \- org.ow2.frascati.tinfi:frascati-tinfi-oo:jar:1.4.4:provided
[INFO] | +- org.objectweb.fractal.juliac:juliac-oo:jar:2.4:provided
[INFO] | \- org.ow2.frascati.tinfi:frascati-tinfi-mixins:jar:1.4.4:provid
ed
[INFO] \- org.ow2.frascati:frascati-explorer-api:jar:1.5-SNAPSHOT:provided
[INFO] +- org.objectweb.fractal.fractalexplorer:fractal-explorer:jar:1.1.4:pr
ovided
[INFO] | +- org.objectweb.util.explorer:explorer:jar:1.0:provided
[INFO] | | \- org.objectweb.apollon:apollon-runtime:jar:1.0:provided
[INFO] | | +- org.objectweb.util.misc:ow-misc:jar:1.0:provided
[INFO] | | \- org.objectweb.util:commandline:jar:1.0:provided
[INFO] | +- org.objectweb.util.explorer.plugins:explorer-reflector-plugin:ja
r:1.0:provided
[INFO] | \- jgraph:jgraph:jar:fractal:provided
[INFO] \- org.swinglabs:swing-layout:jar:1.0.3:provided
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.787s
[INFO] Finished at: Thu Oct 04 12:22:34 CEST 2012
[INFO] Final Memory: 17M/112M
[INFO] ------------------------------------------------------------------------

Resources