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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 7 hours ago in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

22 views 1 5
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