Hi all,
Since mule is failing to build I am attempting to update it to use the new Java guidelines. It currently uses a depmap file to find correct dependencies. How is this done under the new guidelines? From what I've read it appears that simply using "%mvn_build" should work, but it fails to resolve some dependencies.
Thanks, Matt Spaulding
On 08/13/2013 06:54 AM, Matt Spaulding wrote:
Since mule is failing to build I am attempting to update it to use the new Java guidelines. It currently uses a depmap file to find correct dependencies. How is this done under the new guidelines? From what I've read it appears that simply using "%mvn_build" should work, but it fails to resolve some dependencies.
It would help if you included build log or Koji task ID. Logs from mass rebuild have already expired and I can't do much without looking at the log.
When debugging dependency problems it's usually good idea to enable Maven debugging output (option -X).
Here is the portion of the build log where artifacts are being resolved. There are a few that cannot be found. As an example, in the mule depmap file geronimo-j2ee-connector_1.5_spec is mapped to jboss-connector-1.6-api.
[DEBUG] ======================================================================= [DEBUG] Trying to resolve artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:pom] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] ] [DEBUG] Resolving [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:pom] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] ] [DEBUG] Failed to resolve artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:pom] [DEBUG] Unresolved artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:pom] [WARNING] The POM for org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1 is missing, no dependency information available [DEBUG] Trying to resolve artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:pom] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] ] [DEBUG] Resolving [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:pom] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] ] [DEBUG] Failed to resolve artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:pom] [DEBUG] Unresolved artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:pom] [WARNING] The POM for org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1 is missing, no dependency information available [DEBUG] Trying to resolve artifact [org.safehaus.jug:jug:2.0.0:pom] [DEBUG] Trying to translate artifact [org.safehaus.jug:jug] [DEBUG] Translation result is [ [org.safehaus.jug:jug] ] [DEBUG] Resolving [org.safehaus.jug:jug:2.0.0:pom] [DEBUG] Trying to translate artifact [org.safehaus.jug:jug] [DEBUG] Translation result is [ [org.safehaus.jug:jug] ] [DEBUG] Failed to resolve artifact [org.safehaus.jug:jug:2.0.0:pom] [DEBUG] Unresolved artifact [org.safehaus.jug:jug:2.0.0:pom] [WARNING] The POM for org.safehaus.jug:jug:jar:asl:2.0.0 is missing, no dependency information available [DEBUG] Trying to resolve artifact [log4j:log4j:1.2.14:pom] [DEBUG] Trying to translate artifact [log4j:log4j] [DEBUG] Artifact [log4j:log4j] was mapped to [JPP:log4j] [DEBUG] Translation result is [ [JPP:log4j], [log4j:log4j] ] [DEBUG] Resolving [log4j:log4j:1.2.14:pom] [DEBUG] Trying to translate artifact [log4j:log4j] [DEBUG] Artifact [log4j:log4j] was mapped to [JPP:log4j] [DEBUG] Translation result is [ [JPP:log4j], [log4j:log4j] ] [DEBUG] Artifact [log4j:log4j:1.2.14:pom] was resolved to /usr/share/maven-effective-poms/JPP-log4j.pom [DEBUG] Artifact [log4j:log4j:1.2.14:pom] is provided by log4j [DEBUG] Dropped dependency on oro:oro because tests are skipped. [DEBUG] Dropped dependency on junit:junit because tests are skipped. [DEBUG] Trying to resolve artifact [commons-beanutils:commons-beanutils:1.7.0:pom] [DEBUG] Trying to translate artifact [commons-beanutils:commons-beanutils] [DEBUG] Artifact [commons-beanutils:commons-beanutils] was mapped to [JPP:apache-commons-beanutils] [DEBUG] Translation result is [ [JPP:apache-commons-beanutils], [commons-beanutils:commons-beanutils] ] [DEBUG] Resolving [commons-beanutils:commons-beanutils:1.7.0:pom] [DEBUG] Trying to translate artifact [commons-beanutils:commons-beanutils] [DEBUG] Artifact [commons-beanutils:commons-beanutils] was mapped to [JPP:apache-commons-beanutils] [DEBUG] Translation result is [ [JPP:apache-commons-beanutils], [commons-beanutils:commons-beanutils] ] [DEBUG] Artifact [commons-beanutils:commons-beanutils:1.7.0:pom] was resolved to /usr/share/maven-effective-poms/JPP-apache-commons-beanutils.pom [DEBUG] Artifact [commons-beanutils:commons-beanutils:1.7.0:pom] is provided by apache-commons-beanutils [DEBUG] Trying to resolve artifact [commons-cli:commons-cli:1.0:pom] [DEBUG] Trying to translate artifact [commons-cli:commons-cli] [DEBUG] Artifact [commons-cli:commons-cli] was mapped to [JPP:commons-cli] [DEBUG] Translation result is [ [JPP:commons-cli], [commons-cli:commons-cli] ] [DEBUG] Resolving [commons-cli:commons-cli:1.0:pom] [DEBUG] Trying to translate artifact [commons-cli:commons-cli] [DEBUG] Artifact [commons-cli:commons-cli] was mapped to [JPP:commons-cli] [DEBUG] Translation result is [ [JPP:commons-cli], [commons-cli:commons-cli] ] [DEBUG] Artifact [commons-cli:commons-cli:1.0:pom] was resolved to /usr/share/maven-effective-poms/JPP-commons-cli.pom [DEBUG] Artifact [commons-cli:commons-cli:1.0:pom] is provided by apache-commons-cli [DEBUG] Dropped dependency on junit:junit because tests are skipped. [DEBUG] Trying to resolve artifact [commons-collections:commons-collections:3.2:pom] [DEBUG] Trying to translate artifact [commons-collections:commons-collections] [DEBUG] Artifact [commons-collections:commons-collections] was mapped to [JPP:commons-collections] [DEBUG] Translation result is [ [JPP:commons-collections], [commons-collections:commons-collections] ] [DEBUG] Resolving [commons-collections:commons-collections:3.2:pom] [DEBUG] Trying to translate artifact [commons-collections:commons-collections] [DEBUG] Artifact [commons-collections:commons-collections] was mapped to [JPP:commons-collections] [DEBUG] Translation result is [ [JPP:commons-collections], [commons-collections:commons-collections] ] [DEBUG] Artifact [commons-collections:commons-collections:3.2:pom] was resolved to /usr/share/maven-poms/JPP-commons-collections.pom [DEBUG] Artifact [commons-collections:commons-collections:3.2:pom] is provided by apache-commons-collections [DEBUG] Trying to resolve artifact [org.apache.commons:commons-parent:9:pom] [DEBUG] Trying to translate artifact [org.apache.commons:commons-parent] [DEBUG] Artifact [org.apache.commons:commons-parent] was mapped to [JPP/apache-commons-parent:org.apache.commons@commons-parent] [DEBUG] Translation result is [ [JPP/apache-commons-parent:org.apache.commons@commons-parent], [org.apache.commons:commons-parent] ] [DEBUG] Resolving [org.apache.commons:commons-parent:9:pom] [DEBUG] Trying to translate artifact [org.apache.commons:commons-parent] [DEBUG] Artifact [org.apache.commons:commons-parent] was mapped to [JPP/apache-commons-parent:org.apache.commons@commons-parent] [DEBUG] Translation result is [ [JPP/apache-commons-parent:org.apache.commons@commons-parent], [org.apache.commons:commons-parent] ] [DEBUG] Artifact [org.apache.commons:commons-parent:9:pom] was resolved to /usr/share/maven-poms/JPP.apache-commons-parent-org.apache.commons@commons-parent.pom [DEBUG] Artifact [org.apache.commons:commons-parent:9:pom] is provided by apache-commons-parent [DEBUG] Trying to resolve artifact [org.apache:apache:13:pom] [DEBUG] Trying to translate artifact [org.apache:apache] [DEBUG] Artifact [org.apache:apache] was mapped to [JPP:apache-parent] [DEBUG] Translation result is [ [JPP:apache-parent], [org.apache:apache] ] [DEBUG] Resolving [org.apache:apache:13:pom] [DEBUG] Trying to translate artifact [org.apache:apache] [DEBUG] Artifact [org.apache:apache] was mapped to [JPP:apache-parent] [DEBUG] Translation result is [ [JPP:apache-parent], [org.apache:apache] ] [DEBUG] Artifact [org.apache:apache:13:pom] was resolved to /usr/share/maven-poms/JPP-apache-parent.pom [DEBUG] Artifact [org.apache:apache:13:pom] is provided by apache-parent [DEBUG] Dropped dependency on junit:junit because tests are skipped. [DEBUG] Trying to resolve artifact [commons-discovery:commons-discovery:0.2:pom] [DEBUG] Trying to translate artifact [commons-discovery:commons-discovery] [DEBUG] Artifact [commons-discovery:commons-discovery] was mapped to [JPP:commons-discovery] [DEBUG] Translation result is [ [JPP:commons-discovery], [commons-discovery:commons-discovery] ] [DEBUG] Resolving [commons-discovery:commons-discovery:0.2:pom] [DEBUG] Trying to translate artifact [commons-discovery:commons-discovery] [DEBUG] Artifact [commons-discovery:commons-discovery] was mapped to [JPP:commons-discovery] [DEBUG] Translation result is [ [JPP:commons-discovery], [commons-discovery:commons-discovery] ] [DEBUG] Artifact [commons-discovery:commons-discovery:0.2:pom] was resolved to /usr/share/maven-effective-poms/JPP-commons-discovery.pom [DEBUG] Artifact [commons-discovery:commons-discovery:0.2:pom] is provided by apache-commons-discovery [DEBUG] Dropped dependency on junit:junit because tests are skipped. [DEBUG] Trying to resolve artifact [commons-io:commons-io:1.3.1:pom] [DEBUG] Trying to translate artifact [commons-io:commons-io] [DEBUG] Artifact [commons-io:commons-io] was mapped to [JPP:commons-io] [DEBUG] Translation result is [ [JPP:commons-io], [commons-io:commons-io] ] [DEBUG] Resolving [commons-io:commons-io:1.3.1:pom] [DEBUG] Trying to translate artifact [commons-io:commons-io] [DEBUG] Artifact [commons-io:commons-io] was mapped to [JPP:commons-io] [DEBUG] Translation result is [ [JPP:commons-io], [commons-io:commons-io] ] [DEBUG] Artifact [commons-io:commons-io:1.3.1:pom] was resolved to /usr/share/maven-effective-poms/JPP-commons-io.pom [DEBUG] Artifact [commons-io:commons-io:1.3.1:pom] is provided by apache-commons-io [DEBUG] Dropped dependency on junit:junit because tests are skipped. [DEBUG] Trying to resolve artifact [org.slf4j:jcl104-over-slf4j:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:jcl104-over-slf4j] [DEBUG] Translation result is [ [org.slf4j:jcl104-over-slf4j] ] [DEBUG] Resolving [org.slf4j:jcl104-over-slf4j:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:jcl104-over-slf4j] [DEBUG] Translation result is [ [org.slf4j:jcl104-over-slf4j] ] [DEBUG] Failed to resolve artifact [org.slf4j:jcl104-over-slf4j:1.5.0:pom] [DEBUG] Unresolved artifact [org.slf4j:jcl104-over-slf4j:1.5.0:pom] [WARNING] The POM for org.slf4j:jcl104-over-slf4j:jar:1.5.0 is missing, no dependency information available [DEBUG] Trying to resolve artifact [org.slf4j:slf4j-api:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-api] [DEBUG] Artifact [org.slf4j:slf4j-api] was mapped to [JPP/slf4j:slf4j-api] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-api], [org.slf4j:slf4j-api] ] [DEBUG] Resolving [org.slf4j:slf4j-api:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-api] [DEBUG] Artifact [org.slf4j:slf4j-api] was mapped to [JPP/slf4j:slf4j-api] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-api], [org.slf4j:slf4j-api] ] [DEBUG] Artifact [org.slf4j:slf4j-api:1.5.0:pom] was resolved to /usr/share/maven-effective-poms/JPP.slf4j-slf4j-api.pom [DEBUG] Artifact [org.slf4j:slf4j-api:1.5.0:pom] is provided by slf4j [DEBUG] Trying to resolve artifact [org.slf4j:slf4j-log4j12:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-log4j12] [DEBUG] Artifact [org.slf4j:slf4j-log4j12] was mapped to [JPP/slf4j:slf4j-log4j12] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-log4j12], [org.slf4j:slf4j-log4j12] ] [DEBUG] Resolving [org.slf4j:slf4j-log4j12:1.5.0:pom] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-log4j12] [DEBUG] Artifact [org.slf4j:slf4j-log4j12] was mapped to [JPP/slf4j:slf4j-log4j12] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-log4j12], [org.slf4j:slf4j-log4j12] ] [DEBUG] Artifact [org.slf4j:slf4j-log4j12:1.5.0:pom] was resolved to /usr/share/maven-effective-poms/JPP.slf4j-slf4j-log4j12.pom [DEBUG] Artifact [org.slf4j:slf4j-log4j12:1.5.0:pom] is provided by slf4j [DEBUG] Trying to resolve artifact [commons-pool:commons-pool:1.4:pom] [DEBUG] Trying to translate artifact [commons-pool:commons-pool] [DEBUG] Artifact [commons-pool:commons-pool] was mapped to [JPP:apache-commons-pool] [DEBUG] Translation result is [ [JPP:apache-commons-pool], [commons-pool:commons-pool] ] [DEBUG] Resolving [commons-pool:commons-pool:1.4:pom] [DEBUG] Trying to translate artifact [commons-pool:commons-pool] [DEBUG] Artifact [commons-pool:commons-pool] was mapped to [JPP:apache-commons-pool] [DEBUG] Translation result is [ [JPP:apache-commons-pool], [commons-pool:commons-pool] ] [DEBUG] Artifact [commons-pool:commons-pool:1.4:pom] was resolved to /usr/share/maven-effective-poms/JPP-apache-commons-pool.pom [DEBUG] Artifact [commons-pool:commons-pool:1.4:pom] is provided by apache-commons-pool [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=19, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=16, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=18, DefaultDependencyCollector.collectTime=54, DefaultDependencyCollector.transformTime=2} [DEBUG] org.mule:mule-core:jar:2.0.2.20080813 [DEBUG] org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1:compile [DEBUG] org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1:compile [DEBUG] org.safehaus.jug:jug:jar:asl:2.0.0:compile [DEBUG] log4j:log4j:jar:1.2.14:compile [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile [DEBUG] commons-cli:commons-cli:jar:1.0:compile [DEBUG] commons-collections:commons-collections:jar:3.2:compile [DEBUG] commons-discovery:commons-discovery:jar:0.2:compile [DEBUG] commons-io:commons-io:jar:1.3.1:compile [DEBUG] commons-lang:commons-lang:jar:2.3:compile [DEBUG] org.slf4j:jcl104-over-slf4j:jar:1.5.0:compile [DEBUG] org.slf4j:slf4j-api:jar:1.5.0:compile [DEBUG] org.slf4j:slf4j-log4j12:jar:1.5.0:compile [DEBUG] commons-pool:commons-pool:jar:1.4:compile [DEBUG] junit:junit:jar:3.8.2:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile [DEBUG] Trying to resolve artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:jar] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] ] [DEBUG] Resolving [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:jar] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec] ] [DEBUG] Failed to resolve artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:jar] [DEBUG] Unresolved artifact [org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:1.1:jar] [DEBUG] Trying to resolve artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:jar] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] ] [DEBUG] Resolving [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:jar] [DEBUG] Trying to translate artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] [DEBUG] Translation result is [ [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec] ] [DEBUG] Failed to resolve artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:jar] [DEBUG] Unresolved artifact [org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.1:jar] [DEBUG] Trying to resolve artifact [org.safehaus.jug:jug:2.0.0:jar] [DEBUG] Trying to translate artifact [org.safehaus.jug:jug] [DEBUG] Translation result is [ [org.safehaus.jug:jug] ] [DEBUG] Resolving [org.safehaus.jug:jug:2.0.0:jar] [DEBUG] Trying to translate artifact [org.safehaus.jug:jug] [DEBUG] Translation result is [ [org.safehaus.jug:jug] ] [DEBUG] Failed to resolve artifact [org.safehaus.jug:jug:2.0.0:jar] [DEBUG] Unresolved artifact [org.safehaus.jug:jug:2.0.0:jar] [DEBUG] Trying to resolve artifact [log4j:log4j:1.2.14:jar] [DEBUG] Trying to translate artifact [log4j:log4j] [DEBUG] Artifact [log4j:log4j] was mapped to [JPP:log4j] [DEBUG] Translation result is [ [JPP:log4j], [log4j:log4j] ] [DEBUG] Resolving [log4j:log4j:1.2.14:jar] [DEBUG] Trying to translate artifact [log4j:log4j] [DEBUG] Artifact [log4j:log4j] was mapped to [JPP:log4j] [DEBUG] Translation result is [ [JPP:log4j], [log4j:log4j] ] [DEBUG] Artifact [log4j:log4j:1.2.14:jar] was resolved to /usr/share/java/log4j.jar [DEBUG] Artifact [log4j:log4j:1.2.14:jar] is provided by log4j [DEBUG] Trying to resolve artifact [commons-beanutils:commons-beanutils:1.7.0:jar] [DEBUG] Trying to translate artifact [commons-beanutils:commons-beanutils] [DEBUG] Artifact [commons-beanutils:commons-beanutils] was mapped to [JPP:apache-commons-beanutils] [DEBUG] Translation result is [ [JPP:apache-commons-beanutils], [commons-beanutils:commons-beanutils] ] [DEBUG] Resolving [commons-beanutils:commons-beanutils:1.7.0:jar] [DEBUG] Trying to translate artifact [commons-beanutils:commons-beanutils] [DEBUG] Artifact [commons-beanutils:commons-beanutils] was mapped to [JPP:apache-commons-beanutils] [DEBUG] Translation result is [ [JPP:apache-commons-beanutils], [commons-beanutils:commons-beanutils] ] [DEBUG] Artifact [commons-beanutils:commons-beanutils:1.7.0:jar] was resolved to /usr/share/java/apache-commons-beanutils.jar [DEBUG] Artifact [commons-beanutils:commons-beanutils:1.7.0:jar] is provided by apache-commons-beanutils [DEBUG] Trying to resolve artifact [commons-cli:commons-cli:1.0:jar] [DEBUG] Trying to translate artifact [commons-cli:commons-cli] [DEBUG] Artifact [commons-cli:commons-cli] was mapped to [JPP:commons-cli] [DEBUG] Translation result is [ [JPP:commons-cli], [commons-cli:commons-cli] ] [DEBUG] Resolving [commons-cli:commons-cli:1.0:jar] [DEBUG] Trying to translate artifact [commons-cli:commons-cli] [DEBUG] Artifact [commons-cli:commons-cli] was mapped to [JPP:commons-cli] [DEBUG] Translation result is [ [JPP:commons-cli], [commons-cli:commons-cli] ] [DEBUG] Artifact [commons-cli:commons-cli:1.0:jar] was resolved to /usr/share/java/commons-cli.jar [DEBUG] Artifact [commons-cli:commons-cli:1.0:jar] is provided by apache-commons-cli [DEBUG] Trying to resolve artifact [commons-collections:commons-collections:3.2:jar] [DEBUG] Trying to translate artifact [commons-collections:commons-collections] [DEBUG] Artifact [commons-collections:commons-collections] was mapped to [JPP:commons-collections] [DEBUG] Translation result is [ [JPP:commons-collections], [commons-collections:commons-collections] ] [DEBUG] Resolving [commons-collections:commons-collections:3.2:jar] [DEBUG] Trying to translate artifact [commons-collections:commons-collections] [DEBUG] Artifact [commons-collections:commons-collections] was mapped to [JPP:commons-collections] [DEBUG] Translation result is [ [JPP:commons-collections], [commons-collections:commons-collections] ] [DEBUG] Artifact [commons-collections:commons-collections:3.2:jar] was resolved to /usr/share/java/apache-commons-collections.jar [DEBUG] Artifact [commons-collections:commons-collections:3.2:jar] is provided by apache-commons-collections [DEBUG] Trying to resolve artifact [commons-discovery:commons-discovery:0.2:jar] [DEBUG] Trying to translate artifact [commons-discovery:commons-discovery] [DEBUG] Artifact [commons-discovery:commons-discovery] was mapped to [JPP:commons-discovery] [DEBUG] Translation result is [ [JPP:commons-discovery], [commons-discovery:commons-discovery] ] [DEBUG] Resolving [commons-discovery:commons-discovery:0.2:jar] [DEBUG] Trying to translate artifact [commons-discovery:commons-discovery] [DEBUG] Artifact [commons-discovery:commons-discovery] was mapped to [JPP:commons-discovery] [DEBUG] Translation result is [ [JPP:commons-discovery], [commons-discovery:commons-discovery] ] [DEBUG] Artifact [commons-discovery:commons-discovery:0.2:jar] was resolved to /usr/share/java/commons-discovery.jar [DEBUG] Artifact [commons-discovery:commons-discovery:0.2:jar] is provided by apache-commons-discovery [DEBUG] Trying to resolve artifact [commons-io:commons-io:1.3.1:jar] [DEBUG] Trying to translate artifact [commons-io:commons-io] [DEBUG] Artifact [commons-io:commons-io] was mapped to [JPP:commons-io] [DEBUG] Translation result is [ [JPP:commons-io], [commons-io:commons-io] ] [DEBUG] Resolving [commons-io:commons-io:1.3.1:jar] [DEBUG] Trying to translate artifact [commons-io:commons-io] [DEBUG] Artifact [commons-io:commons-io] was mapped to [JPP:commons-io] [DEBUG] Translation result is [ [JPP:commons-io], [commons-io:commons-io] ] [DEBUG] Artifact [commons-io:commons-io:1.3.1:jar] was resolved to /usr/share/java/commons-io.jar [DEBUG] Artifact [commons-io:commons-io:1.3.1:jar] is provided by apache-commons-io [DEBUG] Trying to resolve artifact [commons-lang:commons-lang:2.3:jar] [DEBUG] Trying to translate artifact [commons-lang:commons-lang] [DEBUG] Artifact [commons-lang:commons-lang] was mapped to [JPP:apache-commons-lang] [DEBUG] Translation result is [ [JPP:apache-commons-lang], [commons-lang:commons-lang] ] [DEBUG] Artifact [commons-lang:commons-lang:2.3:jar] was resolved from cache [DEBUG] Trying to resolve artifact [org.slf4j:jcl104-over-slf4j:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:jcl104-over-slf4j] [DEBUG] Translation result is [ [org.slf4j:jcl104-over-slf4j] ] [DEBUG] Resolving [org.slf4j:jcl104-over-slf4j:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:jcl104-over-slf4j] [DEBUG] Translation result is [ [org.slf4j:jcl104-over-slf4j] ] [DEBUG] Failed to resolve artifact [org.slf4j:jcl104-over-slf4j:1.5.0:jar] [DEBUG] Unresolved artifact [org.slf4j:jcl104-over-slf4j:1.5.0:jar] [DEBUG] Trying to resolve artifact [org.slf4j:slf4j-api:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-api] [DEBUG] Artifact [org.slf4j:slf4j-api] was mapped to [JPP/slf4j:slf4j-api] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-api], [org.slf4j:slf4j-api] ] [DEBUG] Resolving [org.slf4j:slf4j-api:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-api] [DEBUG] Artifact [org.slf4j:slf4j-api] was mapped to [JPP/slf4j:slf4j-api] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-api], [org.slf4j:slf4j-api] ] [DEBUG] Artifact [org.slf4j:slf4j-api:1.5.0:jar] was resolved to /usr/share/java/slf4j/slf4j-api.jar [DEBUG] Artifact [org.slf4j:slf4j-api:1.5.0:jar] is provided by slf4j [DEBUG] Trying to resolve artifact [org.slf4j:slf4j-log4j12:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-log4j12] [DEBUG] Artifact [org.slf4j:slf4j-log4j12] was mapped to [JPP/slf4j:slf4j-log4j12] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-log4j12], [org.slf4j:slf4j-log4j12] ] [DEBUG] Resolving [org.slf4j:slf4j-log4j12:1.5.0:jar] [DEBUG] Trying to translate artifact [org.slf4j:slf4j-log4j12] [DEBUG] Artifact [org.slf4j:slf4j-log4j12] was mapped to [JPP/slf4j:slf4j-log4j12] [DEBUG] Translation result is [ [JPP/slf4j:slf4j-log4j12], [org.slf4j:slf4j-log4j12] ] [DEBUG] Artifact [org.slf4j:slf4j-log4j12:1.5.0:jar] was resolved to /usr/share/java/slf4j/slf4j-log4j12.jar [DEBUG] Artifact [org.slf4j:slf4j-log4j12:1.5.0:jar] is provided by slf4j [DEBUG] Trying to resolve artifact [commons-pool:commons-pool:1.4:jar] [DEBUG] Trying to translate artifact [commons-pool:commons-pool] [DEBUG] Artifact [commons-pool:commons-pool] was mapped to [JPP:apache-commons-pool] [DEBUG] Translation result is [ [JPP:apache-commons-pool], [commons-pool:commons-pool] ] [DEBUG] Resolving [commons-pool:commons-pool:1.4:jar] [DEBUG] Trying to translate artifact [commons-pool:commons-pool] [DEBUG] Artifact [commons-pool:commons-pool] was mapped to [JPP:apache-commons-pool] [DEBUG] Translation result is [ [JPP:apache-commons-pool], [commons-pool:commons-pool] ] [DEBUG] Artifact [commons-pool:commons-pool:1.4:jar] was resolved to /usr/share/java/apache-commons-pool.jar [DEBUG] Artifact [commons-pool:commons-pool:1.4:jar] is provided by apache-commons-pool [DEBUG] Trying to resolve artifact [junit:junit:3.8.2:jar] [DEBUG] Trying to translate artifact [junit:junit] [DEBUG] Artifact [junit:junit] was mapped to [JPP:junit] [DEBUG] Translation result is [ [JPP:junit], [junit:junit] ] [DEBUG] Artifact [junit:junit:3.8.2:jar] was resolved from cache [DEBUG] Trying to resolve artifact [org.hamcrest:hamcrest-core:1.3:jar] [DEBUG] Trying to translate artifact [org.hamcrest:hamcrest-core] [DEBUG] Artifact [org.hamcrest:hamcrest-core] was mapped to [JPP/hamcrest:core] [DEBUG] Translation result is [ [JPP/hamcrest:core], [org.hamcrest:hamcrest-core] ] [DEBUG] Artifact [org.hamcrest:hamcrest-core:1.3:jar] was resolved from cache [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Skipping Mule [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mule .............................................. SUCCESS [1.170s] [INFO] Mule Build Tools .................................. SUCCESS [0.924s] [INFO] Mule Core ......................................... FAILURE [0.076s] [INFO] Mule Modules ...................................... SKIPPED [INFO] Spring Config ..................................... SKIPPED [INFO] Mule Configuration Builders ....................... SKIPPED [INFO] XML Extensions .................................... SKIPPED [INFO] Mule Client ....................................... SKIPPED [INFO] Jaas Security ..................................... SKIPPED [INFO] Management Extensions ............................. SKIPPED [INFO] OGNL Filter ....................................... SKIPPED [INFO] Mule Transports ................................... SKIPPED [INFO] BPM Transport ..................................... SKIPPED [INFO] RMI Transport ..................................... SKIPPED [INFO] EJB Transport ..................................... SKIPPED [INFO] TCP Transport ..................................... SKIPPED [INFO] SSL Transport ..................................... SKIPPED [INFO] HTTP Transport .................................... SKIPPED [INFO] JMS Transport ..................................... SKIPPED [INFO] UDP Transport ..................................... SKIPPED [INFO] Multicast Transport ............................... SKIPPED [INFO] Quartz Transport .................................. SKIPPED [INFO] Servlet Transport ................................. SKIPPED [INFO] SOAP Transport .................................... SKIPPED [INFO] System I/O Transport .............................. SKIPPED [INFO] VM Transport ...................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.737s [INFO] Finished at: Tue Aug 13 09:32:46 PDT 2013 [INFO] Final Memory: 39M/346M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project mule-core: Could not resolve dependencies for project org.mule:mule-core:jar:2.0.2.20080813: The following artifacts could not be resolved: org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1, org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1, org.safehaus.jug:jug:jar:asl:2.0.0, org.slf4j:jcl104-over-slf4j:jar:1.5.0: Cannot access codehaus (http://repository.codehaus.org) in offline mode and the artifact org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1 has not been downloaded from it before. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project mule-core: Could not resolve dependencies for project org.mule:mule-core:jar:2.0.2.20080813: The following artifacts could not be resolved: org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1, org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:jar:1.1, org.safehaus.jug:jug:jar:asl:2.0.0, org.slf4j:jcl104-over-slf4j:jar:1.5.0: Cannot access codehaus (http://repository.codehaus.org) in offline mode and the artifact org.apache.geronimo.specs:geronimo-j2ee-connector_1.5_spec:jar:1.1 has not been downloaded from it before.
On Mon, Aug 12, 2013 at 11:33 PM, Mikolaj Izdebski mizdebsk@redhat.comwrote:
On 08/13/2013 06:54 AM, Matt Spaulding wrote:
Since mule is failing to build I am attempting to update it to use the
new
Java guidelines. It currently uses a depmap file to find correct dependencies. How is this done under the new guidelines? From what I've read it appears that simply using "%mvn_build" should work, but it fails
to
resolve some dependencies.
It would help if you included build log or Koji task ID. Logs from mass rebuild have already expired and I can't do much without looking at the log.
When debugging dependency problems it's usually good idea to enable Maven debugging output (option -X).
-- Mikolaj Izdebski IRC: mizdebsk -- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
I've done another build on Koji so you can see the logs: http://koji.fedoraproject.org/koji/taskinfo?taskID=5812726
On Mon, Aug 12, 2013 at 11:33 PM, Mikolaj Izdebski mizdebsk@redhat.comwrote:
On 08/13/2013 06:54 AM, Matt Spaulding wrote:
Since mule is failing to build I am attempting to update it to use the
new
Java guidelines. It currently uses a depmap file to find correct dependencies. How is this done under the new guidelines? From what I've read it appears that simply using "%mvn_build" should work, but it fails
to
resolve some dependencies.
It would help if you included build log or Koji task ID. Logs from mass rebuild have already expired and I can't do much without looking at the log.
When debugging dependency problems it's usually good idea to enable Maven debugging output (option -X).
-- Mikolaj Izdebski IRC: mizdebsk -- java-devel mailing list java-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/java-devel
java-devel@lists.fedoraproject.org