Could not resolve dependencies for project com.jira.plugin:custom-mail-listener:jar:0.1.0: Failure to find ofbcore:ofbcore-xerces:jar:serializer

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

1 answer

This widget could not be displayed.

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

46 views 0 0
View post

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