Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3590

Can't activate release profile from a module directory

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Won't Fix
    • 2.3.0
    • Not applicable
    • build-system
    • None

    Description

      To run and test a specific module, e.g. JmsIO a common pattern is to go to the
      directory and do:

      cd sdks/java/io/jms
      mvn clean verify -Prelease

      This worked before but breaks since the recent changes in the release profile.
      The detailed exception

      [INFO] — maven-assembly-plugin:3.1.0:single (source-release-assembly) @ beam-sdks-java-io-jms —
      [INFO] Reading assembly descriptor: assembly.xml
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 12.221 s
      [INFO] Finished at: 2018-01-31T22:03:27+01:00
      [INFO] Final Memory: 71M/1457M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single (source-release-assembly) on project beam-sdks-java-io-jms: Error reading assemblies: Error locating assembly descriptor: assembly.xml
      [ERROR]
      [ERROR] [1] [INFO] Searching for file location: /home/ismael/upstream/beam/sdks/java/io/jms/assembly.xml
      [ERROR]
      [ERROR] [2] [INFO] File: /home/ismael/upstream/beam/sdks/java/io/jms/assembly.xml does not exist.
      [ERROR]
      [ERROR] [3] [INFO] File: /home/ismael/upstream/beam/sdks/java/io/jms/assembly.xml does not exist.
      [ERROR] -> [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/MojoExecutionException

       

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            iemejia Ismaël Mejía
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: