atlas-create-confluence-plugin creates build failure

I'm new in developing plugins for Confluence, so I don't know how to solve this problem.

If I run this, I gt the following:

Executing: "C:\AZ_DATEN\ConfluencePluginSDK\atlassian-plugin-sdk-3.8\apache-mave
n\bin\mvn.bat" com.atlassian.maven.plugins:maven-confluence-plugin:3.8:create
[INFO] Scanning for projects...
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-confluence-plugin/3.8/maven-confluence-plugin-3.8.jar
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-confluence-p
lugin:maven-plugin:3.8' from repository atlassian-public (https://m2proxy.atlass
ian.com/repository/public): Error transferring file: m2proxy.atlassian.com
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-con
fluence-plugin/3.8/maven-confluence-plugin-3.8.jar
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-confluence-p
lugin:maven-plugin:3.8' from repository central (http://repo1.maven.org/maven2):
 Error transferring file: repo1.maven.org
[INFO] Cannot find mojo descriptor for: 'com.atlassian.maven.plugins:maven-confl
uence-plugin:3.8:create' - Treating as non-aggregator.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [com.atlassian.maven.plugins:maven-confluence-plugin:3.8
:create]
[INFO] ------------------------------------------------------------------------
Downloading: https://m2proxy.atlassian.com/repository/public/com/atlassian/maven
/plugins/maven-confluence-plugin/3.8/maven-confluence-plugin-3.8.jar
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-confluence-p
lugin:maven-plugin:3.8' from repository atlassian-public (https://m2proxy.atlass
ian.com/repository/public): Error transferring file: m2proxy.atlassian.com
Downloading: http://repo1.maven.org/maven2/com/atlassian/maven/plugins/maven-con
fluence-plugin/3.8/maven-confluence-plugin-3.8.jar
[WARNING] Unable to get resource 'com.atlassian.maven.plugins:maven-confluence-p
lugin:maven-plugin:3.8' from repository central (http://repo1.maven.org/maven2):
 Error transferring file: repo1.maven.org
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that t
he goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=com.atlassian.maven.plugins -DartifactId=
maven-confluence-plugin -Dversion=3.8 -Dpackaging=maven-plugin -Dfile=/path/to/f
ile

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=com.atlassian.maven.plugins -DartifactId=ma
ven-confluence-plugin -Dversion=3.8 -Dpackaging=maven-plugin -Dfile=/path/to/fil
e -Durl=[url] -DrepositoryId=[id]


  com.atlassian.maven.plugins:maven-confluence-plugin:maven-plugin:3.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  atlassian-public (https://m2proxy.atlassian.com/repository/public)


  com.atlassian.maven.plugins:maven-confluence-plugin:maven-plugin:3.8

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  atlassian-public (https://m2proxy.atlassian.com/repository/public)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Mar 09 13:34:37 CET 2012
[INFO] Final Memory: 2M/15M
[INFO] ------------------------------------------------------------------------

I tried to solve it, as written there, but then it says "mvn is not found"

I'm using the Atlassian Plugin SDK

Greetings!

Bethlis

3 answers

1 accepted

This widget could not be displayed.

Are you behind and internet proxy? If yes adjust the maven proxy settings so that the dependencies can be downloaded.

I did that, but the problem is, that my company denies the access to that server.

Is there a way of handling this?

Can this download be done manually?

But if the access is denied to that how can you achieve that manually?

This widget could not be displayed.
David Simpson Community Champion Jun 06, 2012
Work from home or use another Internet connection :-)
This widget could not be displayed.

No Suggestions..?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Monday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

340 views 0 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you