Hi Folks, I think my short question is, what URL do I put into the pom.xml for myfirstbamboo project? Page https://developer.atlassian.com/display/DOCS/Configuring+NetBeans+to+use+the+Atlassian+Plugin+SDK describes some additions to my pom.xml but the <url></url> fields are empty.
Thanks, Larry Fast
----------------------
In more detail...
I'm walking through the getting started instructions for Atlassian SDK and developing a Bamboo 3.3.3 plugin using NetBeans. I created myFirstBamboo plugin project and applied the pom.xml changes described on https://developer.atlassian.com/display/DOCS/Configuring+NetBeans+to+use+the+Atlassian+Plugin+SDK, then attempted to load the project in netbeans.
Netbeans complains:
The build could not read 1 project -> [Help 1]
The project org.lfast.bamboo.plugins:myfirstbamboo:0.1a (M:\atlassian-plugin-sdk-3.7.2\MyFirstApp\myfirstbamboo\pom.xml) has 4 errors
'repositories.repository[atlassian].url' is missing. @ line 50, column 19
'pluginRepositories.pluginRepository[atlassian-public].url' is missing. @ line 62, column 19
Invalid plugin repository: URL missing for repository atlassian-public -> [Help 2]
Invalid artifact repository: URL missing for repository atlassian -> [Help 2]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[Help 2] http://cwiki.apache.org/confluence/display/MAVEN/InvalidRepositoryException
Further testing revealed that I can no longer run the command line atlas-run on my plugin. It fails with a similar complaint about hte URL.
[ERROR] FATAL ERROR
[INFO] Error building POM (may not be this project's POM).
Reason: Repository URL must not be empty (ID is: atlassian). for project org.lfast.bamboo.plugins:myfirstbamboo
The actual pom.xml text generating the netbeans complaint is:
<repositories>
<repository>
<id>atlassian</id>
<name>Atlassian Repository</name>
<url></url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>atlassian-public</id>
<url></url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
Community moderators have prevented the ability to post new answers.
Updated the documentation @ https://developer.atlassian.com/display/DOCS/Configuring+NetBeans+to+use+the+Atlassian+Plugin+SDK
I have the exact same problem when creating a Confluence plugin. I've used the updated documentation as described in the previous answer, but to no avail. Any help would be appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The code macro wasn't showing the url values. Just updated it. Check https://developer.atlassian.com/display/DOCS/Configuring+NetBeans+to+use+the+Atlassian+Plugin+SDK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much for your help, as I have now got it working correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.