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

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?

1 vote
David Simpson Community Champion Jun 06, 2012
Work from home or use another Internet connection :-)

No Suggestions..?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

50 views 0 3
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