Reload test plugin compilation don't work with amps 5.0.13

Antoine Berthelin June 5, 2015

Hello,

When I change some integration test and reload in JIRA with fastdev, Maven try to find "org.apache.maven.plugins:maven-compiler-plugin:jar:5.0.13" without success because 5.0.13 is not maven-compiler-plugin version.

 

Error 

[INFO] Scanning for projects...
[WARNING] The POM for org.apache.maven.plugins:maven-compiler-plugin:jar:5.0.13 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.759 s
[INFO] Finished at: 2015-06-05T16:47:07+01:00
[INFO] Final Memory: 13M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:5.0.13 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:5.0.13 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 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Don't understand.captureFastDevError.png

Could you hep me ?

Thanks,

 

Antoine



3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Colin Sauvanet June 23, 2015

Hello,

I have the exact same issue.

The workaround described by Antoine does not work for me (I used exclusively "atlas-" prefixed commands).

Strictly following the tutorial (Except I am using Confluence and not Jira), the step 4 fails:

https://developer.atlassian.com/docs/getting-started/writing-and-running-plugin-tests/run-wired-tests-with-the-plugin-test-console

With the same error:

D:\workspace\confluence\atlassian_plugin\atlassiantutorial\testTutorial
failed to install and exited with error code 1
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.example.plugins.tutorial.confluence:testTutorial:atlassian-plugin:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 88, column 21
[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]
[WARNING] The POM for org.apache.maven.plugins:maven-compiler-plugin:jar:5.0.13 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.248 s
[INFO] Finished at: 2015-06-23T17:08:53+01:00
[INFO] Final Memory: 13M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:5.0.13 or one of its dependencies could not be resolved: Failure to find org.apache.maven.plugins:maven-compiler-plugin:jar:5.0.13 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 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

I will open a ticket if I can't find out why.

Note: in my pom configuration I use "<useFastdevCli>false</useFastdevCli>"

0 votes
Justice McCullum June 10, 2015

Hi Antoine, could you file a support ticket here: https://support.atlassian.com/servicedesk/customer/portal/22

Our support team can have a look and see what's up. You can use the same service to file a ticket to figure out what's going on in your question here https://answers.atlassian.com/questions/17436970 as well.

0 votes
Antoine Berthelin June 5, 2015

Don't find solution but a temporary workaround :

Checkout http://maven.apache.org/plugins/maven-compiler-plugin/

Update maven-compiler-plugin in 5.0.13 version

mvn clean install 

And it's work ...

Hum, workaround solution waiting answer ...

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events