6 Replies Latest reply on Sep 25, 2007 9:57 AM by pgier

    Trying to release jboss-ejb3-cache

    wolfc

      I'm having a release problem with ejb3-cache:

      [INFO] Working directory: /home/carlo/work/ejb3/ejb3-cache
      [INFO] Tagging release with the label jboss-ejb3-cache-0.11.0...
      [INFO] Executing: svn --non-interactive copy --file /tmp/maven-scm-1736308454.commit . https://svn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-cache-0.11.0
      [INFO] Working directory: /home/carlo/work/ejb3/ejb3-cache
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Unable to tag SCM
      Provider message:
      The svn tag command failed.
      Command output:
      svn: Commit failed (details follow):
      svn: Directory '/home/carlo/work/ejb3/ejb3-cache/src/test/java/org/jboss/ejb3/test/xpc' is missing
      
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 25 seconds
      [INFO] Finished at: Fri Sep 21 12:42:26 CEST 2007
      [INFO] Final Memory: 5M/10M
      [INFO] ------------------------------------------------------------------------


      It appears to be a svn problem. The xpc directory is marked as deleted in entries (and thus not on the filesystem).

        • 1. Re: Trying to release jboss-ejb3-cache
          pgier

          Maybe you can try running again from a fresh svn checkout? I've had problems similar to this before with the svn metadata getting out of sync.

          • 2. Re: Trying to release jboss-ejb3-cache
            wolfc

            IMHO the release plugin should copy the remote directory and not the working directory.

            Anyway:

            [INFO] Unable to tag SCM
            Provider message:
            The svn tag command failed.
            Command output:
            svn: Commit failed (details follow):
            svn: PROPFIND request failed on '/repos/jbossas/projects/ejb3/tags'
            svn: '/repos/jbossas/projects/ejb3/tags' path not found

            I've added a note to the wiki.

            • 3. Re: Trying to release jboss-ejb3-cache
              wolfc

              I don't like this at all.

              I would rather see:
              tags/0.11.0.Beta1/ejb3-cache/
              than:
              tags/jboss-ejb3-cache-0.11.0.Beta1/

              Shall I continue?

              • 4. Re: Trying to release jboss-ejb3-cache
                pgier

                The release plugin should have prompted you for the tag name. The dafault tag is - but you can just enter the tag that you want. I haven't tried entering a tag with a directory path like you want, so I'm not sure if that will work.

                • 5. Re: Trying to release jboss-ejb3-cache
                  wolfc

                  Grumble.

                  The tag doesn't contain a valid pom.xml, so if I do mvn release:perform I get another snapshot release.

                  What gives?

                  • 6. Re: Trying to release jboss-ejb3-cache
                    pgier

                     

                    "wolfc" wrote:
                    Grumble.

                    The tag doesn't contain a valid pom.xml, so if I do mvn release:perform I get another snapshot release.

                    What gives?


                    The release plugin created the tag for you? It should have updated the version automatically.