Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-789

Xar plugin fails when invoked a second time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • Core
    • None

    Description

      When one created a custom Synapse mediator with the use of the maven xar plugin, it fails to build the maven project a second time without cleaning the project first:

      [ERROR] Failed to execute goal org.apache.synapse:synapse-xar-maven-plugin:2.1.0-SNAPSHOT:xar (default-xar) on project <project>: Error while creating the directory: <project>/target/xar-files/META-INF/services -> [Help 1]

      This is due to the fact that AbstractXarMojo throws an exception when the services directory exists in the target directory.

      Attachments

        Activity

          People

            veithen Andreas Veithen
            auke Auke Schrijnen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: