XML Merge + Maven

  •  Malte Brunnlieb

    Malte Brunnlieb - 2013-06-10

    Hi all,

    first of all, thanks for XML Merge. I used it in a new Generator-Approach for merging existing and newly generated contents.
    Actually, I want to transform my generator project to a maven-driven project. Unfortunately I cannot get XML Merge as a dependency to work.
    I found this example: https://github.com/remillet/XMLMerge-Example/blob/master/pom.xml but trying this leads to the following exception:

    ch.elca.el4j.modules:module-xml_merge-common:jar:3.1 (compile)]: Failed to read artifact descriptor for javax.inject:inject:jar:1.0: Could not transfer artifact javax.inject:inject:pom:1.0 from/to collectionspace-remote-repos (http://source.collectionspace.org:8081/artifactory/remote-repos): Connection to http://source.collectionspace.org:8081 refused: Connection timed out: connect -> [Help 1]

    Are there currently any problems with your maven repository?

    Last edit: Malte Brunnlieb 2013-06-10
  • Martin Zeltner

    Martin Zeltner - 2013-06-10

    Hi Malte

    The artifact that is requested is in maven central but under artifact-id javax.inject instead of just inject.

    I recommend to add an exclusion xml-element to dependency javax.inject:inject and add the following dependency beside:




Log in to post a comment.