Hi,
I'm trying to modify MailListener.java ( https://confluence.atlassian.com/display/JIRA063/Listeners )
and i followed the instructions at:
https://bobswift.atlassian.net/wiki/display/JCLI/How+to+limit+notifications+for+automation+actions
When I ran this:
$ /var/atlassian-plugin-sdk/bin/atlas-mvn compile
[INFO] ------------------------------------------------------------------------
[INFO] Building Custom Mail Listener 0.1.0
[INFO] ------------------------------------------------------------------------
Downloading: https://maven.atlassian.com/repository/public/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.pom
Downloading: file:///var/atlassian-plugin-sdk/repository/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.pom
Downloading: http://repo.maven.apache.org/maven2/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.pom
[WARNING] The POM for ofbcore:ofbcore-xerces:jar:serializer is missing, no dependency information available
Downloading: https://maven.atlassian.com/repository/public/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.jar
Downloading: file:///var/atlassian-plugin-sdk/repository/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.jar
Downloading: http://repo.maven.apache.org/maven2/ofbcore/ofbcore-xerces/serializer/ofbcore-xerces-serializer.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.081 s
[INFO] Finished at: 2015-07-22T15:01:05-08:00
[INFO] Final Memory: 12M/481M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project custom-mail-listener: Could not resolve dependencies for project com.jira.plugin:custom-mail-listener:jar:0.1.0: Could not find artifact ofbcore:ofbcore-xerces:jar:serializer in atlassian-public (https://maven.atlassian.com/repository/public) -> [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/DependencyResolutionException
////////////////////////////////////
It appears ofbcore is not accessible. How can i resolve the above error?
I'm using ATLAS Version: 5.0.13
Thanks
--Andrew
1
fyi... I added this to my pom.xml:
<repository>
<id>atlassian-maven2</id>
<name>Jira maven2 repository</name>
<url>http://www.doveltech.com/maven/</url>
</repository>
This fixed the "Could not resolve dependencies for project com.jira.plugin:custom-mail-listener:jar:0.1.0: Failure to find ofbcore:ofbcore-xerces:jar:serializer" message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.