atlas-run fails to find com.atlassian.refapp:atlassian-platform

Peter Macdonald July 15, 2015

I'm following the steps outline at https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/create-a-helloworld-plugin-project and when I get to the part where I have to execute atlas-run in step 3, it fails with a message about not being able to find com.atlassian.refapp:atlassian-platform.

I tried removing my helloworld folder and re-running the atlas-create-plugin and the atlas-run still fails. Whilst the output suggests a couple of possible solutions, I don't understand why it should fail when I follow all the instructions to the letter.  I have re-run it with the -e and -X switches, output below:

Executing: "C:\Programs\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:5.0.13:run -gs C:\Programs\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml -e -X
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-15T04:37:52+10:00)
Maven home: C:\Programs\atlassian-plugin-sdk\apache-maven-3.2.1\bin\..
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: C:\Java\jdk1.8.0_51\jre
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from C:\Programs\atlassian-plugin-sdk\apache-maven-3.2.1\conf\settings.xml
[DEBUG] Reading user settings from C:\Users\Peter\.m2\settings.xml
[DEBUG] Using local repository at C:\Users\Peter\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\Peter\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=6, ConflictMarker.markTime=3, ConflictMarker.nodeCount=456, ConflictIdSorter.graphTime=3, ConflictIdSorter.topsortTime=2, ConflictIdSorter.conflictIdCount=136, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=36, ConflictResolver.conflictItemCount=276, DefaultDependencyCollector.collectTime=2072, DefaultDependencyCollector.transformTime=55}
[DEBUG] com.atlassian.maven.plugins:maven-refapp-plugin:jar:5.0.13:
[DEBUG] com.atlassian.maven.plugins:maven-amps-plugin:jar:5.0.13:compile
[DEBUG] com.atlassian.core:atlassian-core:jar:4.0:compile
[DEBUG] com.atlassian.profiling:atlassian-profiling:jar:1.3:compile
[DEBUG] javax.servlet:servlet-api:jar:2.3:compile
[DEBUG] p6spy:p6spy:jar:1.3:compile
[DEBUG] commons-collections:commons-collections:jar:3.1:compile
[DEBUG] commons-lang:commons-lang:jar:2.4:compile
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG] osuser:osuser:jar:1.0-dev-log4j-1.4jdk-7Dec05:compile
[DEBUG] opensymphony:propertyset:jar:1.3-21Nov03:compile
[DEBUG] opensymphony:sitemesh:jar:2.3:compile
[DEBUG] dom4j:dom4j:jar:1.4:compile
[DEBUG] jaxen:jaxen:jar:1.0-FCS:compile
[DEBUG] saxpath:saxpath:jar:1.0-FCS:compile
[DEBUG] msv:msv:jar:20020414:compile
[DEBUG] relaxngDatatype:relaxngDatatype:jar:20020414:compile
[DEBUG] isorelax:isorelax:jar:20020414:compile
[DEBUG] opensymphony:oscore:jar:2.2.7:compile
[DEBUG] log4j:log4j:jar:1.2.7:compile
[DEBUG] javax.mail:mail:jar:1.4:compile
[DEBUG] javax.activation:activation:jar:1.1:compile
[DEBUG] mockobjects:alt-jdk1.3:jar:0.07:compile
[DEBUG] oscache:oscache:jar:DEV:compile
[DEBUG] commons-io:commons-io:jar:2.4:compile
[DEBUG] junit:junit:jar:4.10:compile
[DEBUG] org.hamcrest:hamcrest-core:jar:1.1:compile
[DEBUG] biz.aQute:bndlib:jar:1.43.0-atlassian-1:compile
[DEBUG] org.apache.ant:ant:jar:1.7.1:compile
[DEBUG] org.apache.ant:ant-launcher:jar:1.7.1:compile
[DEBUG] org.apache.maven:maven-core:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-settings-builder:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.2.1:compile
[DEBUG] org.eclipse.aether:aether-spi:jar:0.9.0.M2:compile
[DEBUG] org.eclipse.aether:aether-impl:jar:0.9.0.M2:compile
[DEBUG] org.eclipse.aether:aether-api:jar:0.9.0.M2:compile
[DEBUG] org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:compile
[DEBUG] javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG] javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG] aopalliance:aopalliance:jar:1.0:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.19:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG] org.apache.maven:maven-model:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-compat:jar:3.2.1:compile
[DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:2.6:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
[DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9:compile
[DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-15:compile
[DEBUG] org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-15:compile
[DEBUG] org.codehaus.plexus:plexus-io:jar:1.0-alpha-1:compile
[DEBUG] org.apache.maven:maven-archiver:jar:2.3:compile
[DEBUG] org.apache.maven:maven-project:jar:2.0:compile
[DEBUG] org.apache.maven:maven-profile:jar:2.0:compile
[DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0:compile
[DEBUG] org.apache.commons:commons-compress:jar:1.4.1:compile
[DEBUG] org.tukaani:xz:jar:1.0:compile
[DEBUG] commons-validator:commons-validator:jar:1.2.0:compile
[DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG] commons-digester:commons-digester:jar:1.6:compile
[DEBUG] oro:oro:jar:2.0.8:compile
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG] jdom:jdom:jar:1.0:compile
[DEBUG] com.atlassian.amps:plugin-module-codegen-maven-client:jar:5.0.13:compile
[DEBUG] com.atlassian.amps:plugin-module-codegen-engine:jar:5.0.13:compile
[DEBUG] com.atlassian.amps:plugin-module-codegen-api:jar:5.0.13:compile
[DEBUG] org.apache.velocity:velocity:jar:1.6.3:compile
[DEBUG] org.ow2.asm:asm:jar:5.0.3:compile
[DEBUG] com.atlassian.fugue:fugue:jar:1.0:compile
[DEBUG] com.googlecode.guava-osgi:guava-osgi:jar:10.0.1:compile
[DEBUG] jline:jline:jar:0.9.94:compile
[DEBUG] org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG] plexus:plexus-utils:jar:1.0.2:compile
[DEBUG] com.atlassian.maven.archetypes:refapp-plugin-archetype:jar:5.0.13:runtime
[DEBUG] com.dmurph:JGoogleAnalyticsTracker:jar:1.2.1-atlassian:compile
[DEBUG] org.slf4j:slf4j-nop:jar:1.6.2:compile
[DEBUG] org.slf4j:slf4j-api:jar:1.6.2:compile
[DEBUG] com.atlassian.plugins.rest:atlassian-rest-doclet:jar:2.9.2:compile
[DEBUG] com.atlassian.plugins.rest:atlassian-rest-common:jar:2.9.2:compile
[DEBUG] com.atlassian.plugins.rest:com.atlassian.jersey-library:pom:2.9.2:compile
[DEBUG] com.sun.jersey:jersey-server:jar:1.8-atlassian-13:compile
[DEBUG] asm:asm:jar:3.1:compile
[DEBUG] com.sun.jersey:jersey-json:jar:1.8-atlassian-13:compile
[DEBUG] org.codehaus.jettison:jettison:jar:1.1:compile
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.9.1:compile
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.9.1:compile
[DEBUG] org.codehaus.jackson:jackson-jaxrs:jar:1.9.1:compile
[DEBUG] org.codehaus.jackson:jackson-xc:jar:1.9.1:compile
[DEBUG] commons-fileupload:commons-fileupload:jar:1.3:compile
[DEBUG] com.atlassian.security:atlassian-secure-random:jar:3.1.5:compile
[DEBUG] com.sun.jersey:jersey-core:jar:1.8-atlassian-13:compile
[DEBUG] javax.xml.bind:jaxb-api:jar:2.1:compile
[DEBUG] javax.xml.stream:stax-api:jar:1.0-2:compile
[DEBUG] org.hibernate:hibernate-validator:jar:4.0.2.GA:compile
[DEBUG] javax.validation:validation-api:jar:1.0.0.GA:compile
[DEBUG] com.atlassian.jersey:atlassian-jersey-restdoc:jar:1.0.3:compile
[DEBUG] com.sun.jersey.contribs:wadl-resourcedoc-doclet:jar:1.8-atlassian-13:compile
[DEBUG] com.atlassian.annotations:atlassian-annotations:jar:0.8.1:compile
[DEBUG] com.atlassian.amps:standalone:pom:5.0.13:runtime
[DEBUG] com.atlassian.plugins:atlassian-plugins-osgi-testrunner:jar:1.2.3:compile
[DEBUG] org.apache.wink:wink-client:jar:1.1.3-incubating:compile
[DEBUG] org.apache.wink:wink-common:jar:1.1.3-incubating:compile
[DEBUG] org.apache.geronimo.specs:geronimo-annotation_1.1_spec:jar:1.0:compile
[DEBUG] com.sun.xml.bind:jaxb-impl:jar:2.2.1.1:compile
[DEBUG] com.google.code.gson:gson:jar:2.2.2-atlassian-1:compile
[DEBUG] com.atlassian.upm:upm-api:jar:2.15:compile
[DEBUG] javax.ws.rs:jsr311-api:jar:1.1.1:compile
[DEBUG] com.google.javascript:closure-compiler:jar:rr2079.1:compile
[DEBUG] args4j:args4j:jar:2.0.12:compile
[DEBUG] com.google.guava:guava:jar:10.0.1:compile
[DEBUG] com.google.protobuf:protobuf-java:jar:2.4.1:compile
[DEBUG] org.json:json:jar:20090211:compile
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile
[DEBUG] com.googlecode.jarjar:jarjar:jar:1.1:compile
[DEBUG] com.yahoo.platform.yui:yuicompressor:jar:2.4.7:compile
[DEBUG] rhino:js:jar:1.6R7:compile
[DEBUG] commons-codec:commons-codec:jar:1.6:compile
[DEBUG] com.googlecode.htmlcompressor:htmlcompressor:jar:1.4:compile
[DEBUG] org.apache.wink:wink-client-apache-httpclient:jar:1.1.3-incubating:compile
[DEBUG] org.apache.httpcomponents:httpclient:jar:4.0.1:compile
[DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile
[DEBUG] org.slf4j:jcl-over-slf4j:jar:1.6.1:compile
[DEBUG] org.twdata.maven:mojo-executor:jar:1.5.2:compile
[DEBUG] org.apache.maven:maven-artifact:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-plugin-api:jar:3.2.1:compile
[DEBUG] org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: org.apache.maven.cli < plexus.core
[DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG] Imported: org.apache.maven.repository < plexus.core
[DEBUG] Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Imported: org.apache.maven.usability < plexus.core
[DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.* < plexus.core
[DEBUG] Imported: org.apache.maven.project < plexus.core
[DEBUG] Imported: org.apache.maven.exception < plexus.core
[DEBUG] Imported: org.eclipse.aether.spi < plexus.core
[DEBUG] Imported: org.apache.maven.plugin < plexus.core
[DEBUG] Imported: org.eclipse.aether.collection < plexus.core
[DEBUG] Imported: org.codehaus.plexus.* < plexus.core
[DEBUG] Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG] Imported: org.apache.maven.profiles < plexus.core
[DEBUG] Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG] Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG] Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG] Imported: org.eclipse.aether.impl < plexus.core
[DEBUG] Imported: org.apache.maven.monitor < plexus.core
[DEBUG] Imported: org.eclipse.aether.graph < plexus.core
[DEBUG] Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG] Imported: org.codehaus.plexus.context < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG] Imported: javax.inject.* < plexus.core
[DEBUG] Imported: org.apache.maven.model < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG] Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG] Imported: org.apache.maven.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.toolchain < plexus.core
[DEBUG] Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG] Imported: org.apache.maven.settings < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG] Imported: org.apache.maven.reporting < plexus.core
[DEBUG] Imported: org.eclipse.aether.repository < plexus.core
[DEBUG] Imported: org.slf4j.* < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG] Imported: org.apache.maven.configuration < plexus.core
[DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.classworlds < plexus.core
[DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG] Imported: org.apache.maven.classrealm < plexus.core
[DEBUG] Imported: org.eclipse.aether.* < plexus.core
[DEBUG] Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG] Imported: org.apache.maven.execution < plexus.core
[DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG] Imported: org.codehaus.plexus.container < plexus.core
[DEBUG] Imported: org.eclipse.aether.version < plexus.core
[DEBUG] Imported: org.eclipse.aether.installation < plexus.core
[DEBUG] Imported: org.codehaus.plexus.component < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created new class realm extension>com.atlassian.maven.plugins:maven-refapp-plugin:5.0.13
[DEBUG] Importing foreign packages into class realm extension>com.atlassian.maven.plugins:maven-refapp-plugin:5.0.13
[DEBUG] Imported: < maven.api
[DEBUG] Populating class realm extension>com.atlassian.maven.plugins:maven-refapp-plugin:5.0.13
[DEBUG] Included: com.atlassian.maven.plugins:maven-refapp-plugin:jar:5.0.13
[DEBUG] Included: com.atlassian.maven.plugins:maven-amps-plugin:jar:5.0.13
[DEBUG] Included: com.atlassian.core:atlassian-core:jar:4.0
[DEBUG] Included: com.atlassian.profiling:atlassian-profiling:jar:1.3
[DEBUG] Included: javax.servlet:servlet-api:jar:2.3
[DEBUG] Included: p6spy:p6spy:jar:1.3
[DEBUG] Included: commons-collections:commons-collections:jar:3.1
[DEBUG] Included: commons-lang:commons-lang:jar:2.4
[DEBUG] Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG] Included: osuser:osuser:jar:1.0-dev-log4j-1.4jdk-7Dec05
[DEBUG] Included: opensymphony:propertyset:jar:1.3-21Nov03
[DEBUG] Included: opensymphony:sitemesh:jar:2.3
[DEBUG] Included: dom4j:dom4j:jar:1.4
[DEBUG] Included: jaxen:jaxen:jar:1.0-FCS
[DEBUG] Included: saxpath:saxpath:jar:1.0-FCS
[DEBUG] Included: msv:msv:jar:20020414
[DEBUG] Included: relaxngDatatype:relaxngDatatype:jar:20020414
[DEBUG] Included: isorelax:isorelax:jar:20020414
[DEBUG] Included: opensymphony:oscore:jar:2.2.7
[DEBUG] Included: log4j:log4j:jar:1.2.7
[DEBUG] Included: javax.mail:mail:jar:1.4
[DEBUG] Included: javax.activation:activation:jar:1.1
[DEBUG] Included: mockobjects:alt-jdk1.3:jar:0.07
[DEBUG] Included: oscache:oscache:jar:DEV
[DEBUG] Included: commons-io:commons-io:jar:2.4
[DEBUG] Included: junit:junit:jar:4.10
[DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.1
[DEBUG] Included: biz.aQute:bndlib:jar:1.43.0-atlassian-1
[DEBUG] Included: org.apache.ant:ant:jar:1.7.1
[DEBUG] Included: org.apache.ant:ant-launcher:jar:1.7.1
[DEBUG] Included: org.eclipse.aether:aether-util:jar:0.9.0.M2
[DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG] Included: javax.inject:javax.inject:jar:1
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.19
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
[DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-9
[DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0-alpha-1
[DEBUG] Included: org.apache.maven:maven-archiver:jar:2.3
[DEBUG] Included: org.apache.commons:commons-compress:jar:1.4.1
[DEBUG] Included: org.tukaani:xz:jar:1.0
[DEBUG] Included: commons-validator:commons-validator:jar:1.2.0
[DEBUG] Included: commons-beanutils:commons-beanutils:jar:1.7.0
[DEBUG] Included: commons-digester:commons-digester:jar:1.6
[DEBUG] Included: oro:oro:jar:2.0.8
[DEBUG] Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG] Included: jdom:jdom:jar:1.0
[DEBUG] Included: com.atlassian.amps:plugin-module-codegen-maven-client:jar:5.0.13
[DEBUG] Included: com.atlassian.amps:plugin-module-codegen-engine:jar:5.0.13
[DEBUG] Included: com.atlassian.amps:plugin-module-codegen-api:jar:5.0.13
[DEBUG] Included: org.apache.velocity:velocity:jar:1.6.3
[DEBUG] Included: org.ow2.asm:asm:jar:5.0.3
[DEBUG] Included: com.atlassian.fugue:fugue:jar:1.0
[DEBUG] Included: com.googlecode.guava-osgi:guava-osgi:jar:10.0.1
[DEBUG] Included: jline:jline:jar:0.9.94
[DEBUG] Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG] Included: plexus:plexus-utils:jar:1.0.2
[DEBUG] Included: com.atlassian.maven.archetypes:refapp-plugin-archetype:jar:5.0.13
[DEBUG] Included: com.dmurph:JGoogleAnalyticsTracker:jar:1.2.1-atlassian
[DEBUG] Included: org.slf4j:slf4j-nop:jar:1.6.2
[DEBUG] Included: org.slf4j:slf4j-api:jar:1.6.2
[DEBUG] Included: com.atlassian.plugins.rest:atlassian-rest-doclet:jar:2.9.2
[DEBUG] Included: com.atlassian.plugins.rest:atlassian-rest-common:jar:2.9.2
[DEBUG] Included: com.atlassian.plugins.rest:com.atlassian.jersey-library:pom:2.9.2
[DEBUG] Included: com.sun.jersey:jersey-server:jar:1.8-atlassian-13
[DEBUG] Included: asm:asm:jar:3.1
[DEBUG] Included: com.sun.jersey:jersey-json:jar:1.8-atlassian-13
[DEBUG] Included: org.codehaus.jettison:jettison:jar:1.1
[DEBUG] Included: org.codehaus.jackson:jackson-core-asl:jar:1.9.1
[DEBUG] Included: org.codehaus.jackson:jackson-mapper-asl:jar:1.9.1
[DEBUG] Included: org.codehaus.jackson:jackson-jaxrs:jar:1.9.1
[DEBUG] Included: org.codehaus.jackson:jackson-xc:jar:1.9.1
[DEBUG] Included: commons-fileupload:commons-fileupload:jar:1.3
[DEBUG] Included: com.atlassian.security:atlassian-secure-random:jar:3.1.5
[DEBUG] Included: com.sun.jersey:jersey-core:jar:1.8-atlassian-13
[DEBUG] Included: javax.xml.bind:jaxb-api:jar:2.1
[DEBUG] Included: javax.xml.stream:stax-api:jar:1.0-2
[DEBUG] Included: org.hibernate:hibernate-validator:jar:4.0.2.GA
[DEBUG] Included: javax.validation:validation-api:jar:1.0.0.GA
[DEBUG] Included: com.atlassian.jersey:atlassian-jersey-restdoc:jar:1.0.3
[DEBUG] Included: com.sun.jersey.contribs:wadl-resourcedoc-doclet:jar:1.8-atlassian-13
[DEBUG] Included: com.atlassian.annotations:atlassian-annotations:jar:0.8.1
[DEBUG] Included: com.atlassian.amps:standalone:pom:5.0.13
[DEBUG] Included: com.atlassian.plugins:atlassian-plugins-osgi-testrunner:jar:1.2.3
[DEBUG] Included: org.apache.wink:wink-client:jar:1.1.3-incubating
[DEBUG] Included: org.apache.wink:wink-common:jar:1.1.3-incubating
[DEBUG] Included: org.apache.geronimo.specs:geronimo-annotation_1.1_spec:jar:1.0
[DEBUG] Included: com.sun.xml.bind:jaxb-impl:jar:2.2.1.1
[DEBUG] Included: com.google.code.gson:gson:jar:2.2.2-atlassian-1
[DEBUG] Included: com.atlassian.upm:upm-api:jar:2.15
[DEBUG] Included: javax.ws.rs:jsr311-api:jar:1.1.1
[DEBUG] Included: com.google.javascript:closure-compiler:jar:rr2079.1
[DEBUG] Included: args4j:args4j:jar:2.0.12
[DEBUG] Included: com.google.guava:guava:jar:10.0.1
[DEBUG] Included: com.google.protobuf:protobuf-java:jar:2.4.1
[DEBUG] Included: org.json:json:jar:20090211
[DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9
[DEBUG] Included: com.googlecode.jarjar:jarjar:jar:1.1
[DEBUG] Included: com.yahoo.platform.yui:yuicompressor:jar:2.4.7
[DEBUG] Included: rhino:js:jar:1.6R7
[DEBUG] Included: commons-codec:commons-codec:jar:1.6
[DEBUG] Included: com.googlecode.htmlcompressor:htmlcompressor:jar:1.4
[DEBUG] Included: org.apache.wink:wink-client-apache-httpclient:jar:1.1.3-incubating
[DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.1
[DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1
[DEBUG] Included: org.slf4j:jcl-over-slf4j:jar:1.6.1
[DEBUG] Included: org.twdata.maven:mojo-executor:jar:1.5.2
[DEBUG] Extension realms for project com.atlassian.tutorial:helloworld:atlassian-plugin:1.0-SNAPSHOT: [ClassRealm[extension>com.atlassian.maven.plugins:maven-refapp-plugin:5.0.13, parent: sun.misc.Launcher$AppClassLoader@4e25154f]]
[DEBUG] Created new class realm project>com.atlassian.tutorial:helloworld:1.0-SNAPSHOT
[DEBUG] Populating class realm project>com.atlassian.tutorial:helloworld:1.0-SNAPSHOT
[DEBUG] Looking up lifecyle mappings for packaging atlassian-plugin from ClassRealm[project>com.atlassian.tutorial:helloworld:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 91, column 21
[ERROR] Non-resolvable import POM: Failure to find com.atlassian.refapp:atlassian-platform:pom:3.0.0 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced @ line 70, column 25

at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[ERROR] The project com.atlassian.tutorial:helloworld:1.0-SNAPSHOT (c:\atlastutorial\helloworld\pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find com.atlassian.refapp:atlassian-platform:pom:3.0.0 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced @ line 70, column 25 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Failure to find com.atlassian.refapp:atlassian-platform:pom:3.0.0 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159)
at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:966)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:397)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:368)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:561)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:353)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:250)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.atlassian.refapp:atlassian-platform:pom:3.0.0 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:295)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155)
... 20 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.atlassian.refapp:atlassian-platform:pom:3.0.0 in https://maven.atlassian.com/repository/public was cached in the local repository, resolution will not be reattempted until the update interval of atlassian-public has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
... 24 more
[ERROR]
[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

 

2 answers

0 votes
Steve Kling January 21, 2016

This gave me fits for a while.  But this worked:  

  1. Try changing version to 1.0.4.
  2. Then invalidate your caches and restart your IDE and re-import (if not done automatically)
  3. Inspect your IDE's log for specific errors if any.
  4. Comment out the offending reference to ...rest.common... (AnonymousAccess perhaps?) so that your plugin compiles. 
  5. From command line: atlas-run 
  6. Inspect output for errors.  If none and app starts,  shut down and return to IDE.

Check your offending reference and comment back in.  It should have resolved the dependency.

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2015

Hello Peter,

Thank you for your question.

Please, review the artifact version available and update pom.xml accordingly.

https://maven.atlassian.com/content/groups/public/com/atlassian/refapp/atlassian-platform/

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer