Re: Maven/SVN issues while releasing Felix HTTP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/18/13 8:41 AM, Bram de Kruijff wrote: >> svn: E175002: Unexpected HTTP status 500 'Internal Server Error' >> on >>> '/repos/asf/!svn/rvr/1524067/felix/trunk/http' >>> >>> svn: E160006: Additional errors: svn: E160006: No such revision >>> 1524068 >>> >>> I've tried this several times now, but it fails consistently >>> with the same error (but with different revision number). >>> >>> Anybody able to help me out (again)? >>> > "If you're located in Europe then release:prepare may fail with > 'Unable to tag SCM' and ' svn: No such revision X '. Wait 10 > seconds and run mvn release:prepare again." > > Might be a svn lagging issue [0]. Try again ;) Tried again today, and it worked like a charm, as you can see by the vote I've casted for Felix HTTP. Apparently there was a glitch in my time-continuum, yesterday. Again, thanks for your help! > [0] http://www.apache.org/dev/publishing-maven-artifacts.html (maybe we should add a pointer or two in the Felix release guide on this, *makes note to himself*) - -- Met vriendelijke groeten | Kind regards Jan Willem Janssen | Software Architect +31 631 765 814 /My world is revolving around PulseOn and Amdatu/ Luminis Technologies B.V. J.C. Wilslaan 29 7313 HK Apeldoorn +31 88 586 46 30 http://www.luminis-technologies.com http://www.luminis.eu KvK (CoC) 09 16 28 93 BTW (VAT) NL8169.78.566.B.01 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSObmZAAoJEKF/mP2eHDc4Cb0QALDHt2JeYC69OBHUO7m4q30A b/kRj72kKg+YikulhdO56gmnbtTYKqBGFg6suezeB+0jUXmIL+JstLfxZz7c1hcA ypqjHqy8eWF/eCM8pHzWv1+exF4mxBLqBzIkC9ODrdHAawqeBirMikpza0As2EA0 Xxjgh3ov5THWAJZJm+E1WjpHyJHnh3r6+NSHkw/SFx8HJeOSAfA3erxgiQ66admz /sh3qla7oxyUvBlVYRN3xOazQ1DKTpxXFe1gFwVBHNVBrVZOcO5nycKKs1CZSMG/ OOpwnz1CNXZYudYKgVqhem1IDKlEd3nnX+wt0p5YicAdgsoR8io4KJDTHF+jRIYA jXygHvlMFWHL7avuYJrYvPwhV/mzFTGUuZyspmH0EkwJxJQupdcEZFFKFIKK0n4A fMFrfxJT8fJaeqWOfTPaVbYinpW2Xz7QlsTkRO7ODSsvecM9mmXYp8YGFYGqLxex kwooAEmQWfi/VMTSfmT1z7UI2qQtWQDCO1jIdlt1IPHFE+GvhrxcFhvowwOkfn7v iRmYOTTEJM9gGZbpzjxnP4GGy1ULB8sgkCslyHyvbjexs/TyxaXwRefDuofJT8rJ 52FiU9nNYhlhykofuDnE2OOx3cH4JDwgG5Y/soc8NO6/sld3dntVwTe/TqHuyDKv EW1UzFkBJTpDWKddoy21 =lJyr -END PGP SIGNATURE-
Re: Maven/SVN issues while releasing Felix HTTP
On Tue, Sep 17, 2013 at 4:40 PM, Jan Willem Janssen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 9/16/13 1:09 PM, Felix Meschberger wrote: >> Yes, Bram is correct: You need to add the element as >> proposed to the reactor POM. > > Thanks Bram & Felix for your remarks! > >> Http Service is currently a special biest in the Apache Felix >> context: All bundles are released in one go along with the >> reactor. Hence setting the scm on the reactor should >> (theoretically) be enough to create the tag in the right location. >> >> The ultimate goal is to break this "release everything together" >> lock also for these projects. At this time, we will have to add >> elements on each of the projects. > > Ok, check. I've added the correct SCM tags to all POMs, which gets me > a little bit further, mvn release:prepare (still from the reactor) now > fails with: > > svn: E175002: Unexpected HTTP status 500 'Internal Server Error' on > '/repos/asf/!svn/rvr/1524067/felix/trunk/http' > > svn: E160006: Additional errors: > svn: E160006: No such revision 1524068 > > I've tried this several times now, but it fails consistently with the > same error (but with different revision number). > > Anybody able to help me out (again)? > "If you're located in Europe then release:prepare may fail with 'Unable to tag SCM' and ' svn: No such revision X '. Wait 10 seconds and run mvn release:prepare again." Might be a svn lagging issue [0]. Try again ;) grz Bram [0] http://www.apache.org/dev/publishing-maven-artifacts.html > - -- > Met vriendelijke groeten | Kind regards > > Jan Willem Janssen | Software Architect > +31 631 765 814 > > /My world is revolving around PulseOn and Amdatu/ > > Luminis Technologies B.V. > J.C. Wilslaan 29 > 7313 HK Apeldoorn > +31 88 586 46 30 > > http://www.luminis-technologies.com > http://www.luminis.eu > > KvK (CoC) 09 16 28 93 > BTW (VAT) NL8169.78.566.B.01 > -BEGIN PGP SIGNATURE- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJSOGnzAAoJEKF/mP2eHDc4yjUP/jhf59TaGEaAUjDWOhW6zQCI > sDmCA17NThUMabm7CBy6Y5KmfKbSIHYRsRikGmmbNeShsp/IfTytfjyAGPV6s1l5 > C9EjkKDaP7s+V/GmQISEOWOL+iI/8o84fLZgoRFyIRSQPzUlpC+dl9qTUs5L2CTL > tEA9EqmBY110FG/aGft0Q4TfH3QEMI5SxHXinrGP0UQoVe0AsgfEyLL4C/Ox2KsK > wSqBpG8Lha3L4rz93jICgc5TkfTOcAXlppWSoC4yyFeVjq5Hhfrl3Z/236n+ji6M > SUsTPvxVcMOGPGAYlXiKtdt9ZejQ5TYuD1//4Y8nu0XF8iuJvk5djnBaFuOUM1Ak > qWKtokkNrIH1X4vH3OPK6VGIPO6CBmJDa/rlQsPK6gc4JDli+j9W7IbrBzG+RSua > U6Gg9YDOo1Y8bacGhh91vcRapRD5KbTYBL1RGmVx1Kwtcuewu2eewBBEopIBi+wR > pb5E16vzogr+nck0M2Y8B5RM8cNAsZck+ub7hFrFB8Juy5OYfaLkwuH9rLzlmhTF > 34mVTjSugsMatWL7KUa/y4P4QQKnra/jQc/Xx3sN2Hi8KoS5cjjO0Gmyyn6i63vp > 0kpkuLz72oZu0zpqUczA6NsyqPDwOCPtsu0Hys8v3J2BtwktG1miRrfukvIraRQ3 > +lao76rfuehXzVhb9hgx > =0sfl > -END PGP SIGNATURE-
Re: Maven/SVN issues while releasing Felix HTTP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/16/13 1:09 PM, Felix Meschberger wrote: > Yes, Bram is correct: You need to add the element as > proposed to the reactor POM. Thanks Bram & Felix for your remarks! > Http Service is currently a special biest in the Apache Felix > context: All bundles are released in one go along with the > reactor. Hence setting the scm on the reactor should > (theoretically) be enough to create the tag in the right location. > > The ultimate goal is to break this "release everything together" > lock also for these projects. At this time, we will have to add > elements on each of the projects. Ok, check. I've added the correct SCM tags to all POMs, which gets me a little bit further, mvn release:prepare (still from the reactor) now fails with: svn: E175002: Unexpected HTTP status 500 'Internal Server Error' on '/repos/asf/!svn/rvr/1524067/felix/trunk/http' svn: E160006: Additional errors: svn: E160006: No such revision 1524068 I've tried this several times now, but it fails consistently with the same error (but with different revision number). Anybody able to help me out (again)? - -- Met vriendelijke groeten | Kind regards Jan Willem Janssen | Software Architect +31 631 765 814 /My world is revolving around PulseOn and Amdatu/ Luminis Technologies B.V. J.C. Wilslaan 29 7313 HK Apeldoorn +31 88 586 46 30 http://www.luminis-technologies.com http://www.luminis.eu KvK (CoC) 09 16 28 93 BTW (VAT) NL8169.78.566.B.01 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSOGnzAAoJEKF/mP2eHDc4yjUP/jhf59TaGEaAUjDWOhW6zQCI sDmCA17NThUMabm7CBy6Y5KmfKbSIHYRsRikGmmbNeShsp/IfTytfjyAGPV6s1l5 C9EjkKDaP7s+V/GmQISEOWOL+iI/8o84fLZgoRFyIRSQPzUlpC+dl9qTUs5L2CTL tEA9EqmBY110FG/aGft0Q4TfH3QEMI5SxHXinrGP0UQoVe0AsgfEyLL4C/Ox2KsK wSqBpG8Lha3L4rz93jICgc5TkfTOcAXlppWSoC4yyFeVjq5Hhfrl3Z/236n+ji6M SUsTPvxVcMOGPGAYlXiKtdt9ZejQ5TYuD1//4Y8nu0XF8iuJvk5djnBaFuOUM1Ak qWKtokkNrIH1X4vH3OPK6VGIPO6CBmJDa/rlQsPK6gc4JDli+j9W7IbrBzG+RSua U6Gg9YDOo1Y8bacGhh91vcRapRD5KbTYBL1RGmVx1Kwtcuewu2eewBBEopIBi+wR pb5E16vzogr+nck0M2Y8B5RM8cNAsZck+ub7hFrFB8Juy5OYfaLkwuH9rLzlmhTF 34mVTjSugsMatWL7KUa/y4P4QQKnra/jQc/Xx3sN2Hi8KoS5cjjO0Gmyyn6i63vp 0kpkuLz72oZu0zpqUczA6NsyqPDwOCPtsu0Hys8v3J2BtwktG1miRrfukvIraRQ3 +lao76rfuehXzVhb9hgx =0sfl -END PGP SIGNATURE-
Re: Maven/SVN issues while releasing Felix HTTP
Hi Yes, Bram is correct: You need to add the element as proposed to the reactor POM. Http Service is currently a special biest in the Apache Felix context: All bundles are released in one go along with the reactor. Hence setting the scm on the reactor should (theoretically) be enough to create the tag in the right location. The ultimate goal is to break this "release everything together" lock also for these projects. At this time, we will have to add elements on each of the projects. Regards Felix Am 16.09.2013 um 11:43 schrieb Bram de Kruijff: > Hi Jan-Willem, > > disclaimer: I have never done a Felix release so there may be > something I am missing :) Having said so.. > >> svn --non-interactive copy \ >>--file /path/to/maven-scm-1604415565.commit \ >>--revision 1522994 \ >>.../felix/releases/felix-parent-2.1/org.apache.felix.http \ >>.../felix/releases/org.apache.felix.http-2.2.1 > > As the http root pom does not specify any scm info the > developerConnection is inherited from the released 2.1 parent pom and > postfixed with the project.artifactId. Hence the ' > .../felix/releases/felix-parent-2.1/org.apache.felix.http'. This is > the maven default heuristic that works if you use a hierarchical > layout where artifactId matches directory name and you do a > multi-module release > > In this case obviously fails. Running 'maven help:effective-pom' shows > this info as well; > > > > scm:svn:http://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http > > scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http > > http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/felix-parent-2.1/org.apache.felix.http > > > The straightforward approach is to specify the scm info in each pom. > This also seems to be implicitly suggested by the release page [0] > (see Staging the release candidate #4). So for example in the > http/pom.xml > > > > scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http > > scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http >http://svn.apache.org/viewvc/felix/trunk/http/ > > > However, as none of the poms have this info I am wondering how this > has been released before. Not sure. Obvisouly you can also pass the > parameters as java options on the command line.. > > Regards, > Bram > > [0] > http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates > > On Fri, Sep 13, 2013 at 8:06 PM, Jan Willem Janssen > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> >> I'm trying to release Felix HTTP v2.2.1 (using [1]), but running `mvn >> release:prepare` (from the `http` directory) fails while trying to >> create a release tag of the current sources (full log below): >> >> [ERROR] The svn tag command failed. >> [ERROR] Command output: >> [ERROR] svn: E160013: >> '/repos/asf/!svn/rvr/1522993/felix/releases/felix-parent-2.1/org.apache.felix.http' >> path not found >> >> The actual command being (shortened a little for readability): >> >> svn --non-interactive copy \ >>--file /path/to/maven-scm-1604415565.commit \ >>--revision 1522994 \ >>.../felix/releases/felix-parent-2.1/org.apache.felix.http \ >>.../felix/releases/org.apache.felix.http-2.2.1 >> >> Somehow, Maven has an incorrect notion of where the Felix HTTP sources >> are residing in the SVN tree. It thinks that they are residing >> underneath `releases/felix-parent-2.1/org.apache.felix.http`, while >> they obviously reside underneath `trunk/http`. >> >> - From the history, it appears that this is the first time a release is >> made with the Felix parent POM v2.1 (release v2.2.0 used v1.2 of the >> Felix parent POM), which might be a clue as to why it fails this time. >> >> Anybody able to help me out on this? How does Maven get the "strange" >> notion on where the sources should reside in SVN? >> >> Thanks in advance, >> >> Jan Willem >> >> >> 1. >> http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates >> >> Relevant output log: >> - --snip-- >> [INFO] Checking in modified POMs... >> [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn >> - --non-interactive commit --file >> /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-586998340.commit >> - --targets >> /var/folders/3w/s23k21td37bgc >> 4_z7_hgh370gn/T/maven-scm-3764299962992961060-targets >> [INFO] Working directory: /Users/jawi/Sources/felix/http >> [INFO] Tagging release with the label org.apache.felix.http-2.2.1... >> [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn >> - --non-interactive copy --file >> /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-1604415565.commit >> - --revision 1522994 >> https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http >> https://svn.apache.org/repos/asf/felix/re
Re: Maven/SVN issues while releasing Felix HTTP
On Mon, Sep 16, 2013 at 11:43 AM, Bram de Kruijff wrote: > Hi Jan-Willem, > > disclaimer: I have never done a Felix release so there may be > something I am missing :) Having said so.. > >> svn --non-interactive copy \ >> --file /path/to/maven-scm-1604415565.commit \ >> --revision 1522994 \ >> .../felix/releases/felix-parent-2.1/org.apache.felix.http \ >> .../felix/releases/org.apache.felix.http-2.2.1 > > As the http root pom does not specify any scm info the > developerConnection is inherited from the released 2.1 parent pom and > postfixed with the project.artifactId. Hence the ' > .../felix/releases/felix-parent-2.1/org.apache.felix.http'. This is > the maven default heuristic that works if you use a hierarchical > layout where artifactId matches directory name and you do a > multi-module release > > In this case obviously fails. Running 'maven help:effective-pom' shows > this info as well; > > > > scm:svn:http://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http > > scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http > > http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/felix-parent-2.1/org.apache.felix.http > > > The straightforward approach is to specify the scm info in each pom. > This also seems to be implicitly suggested by the release page [0] > (see Staging the release candidate #4). So for example in the > http/pom.xml > > > > scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http > > scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http > http://svn.apache.org/viewvc/felix/trunk/http/ > > > However, as none of the poms have this info I am wondering how this > has been released before. Not sure. Obvisouly you can also pass the > parameters as java options on the command line.. > Ps. Looking at the recently released projects (eg metatype, prefs, scr) adding this scm info seems to be the way it is done. grz Bram > Regards, > Bram > > [0] > http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates > > On Fri, Sep 13, 2013 at 8:06 PM, Jan Willem Janssen > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hi, >> >> I'm trying to release Felix HTTP v2.2.1 (using [1]), but running `mvn >> release:prepare` (from the `http` directory) fails while trying to >> create a release tag of the current sources (full log below): >> >> [ERROR] The svn tag command failed. >> [ERROR] Command output: >> [ERROR] svn: E160013: >> '/repos/asf/!svn/rvr/1522993/felix/releases/felix-parent-2.1/org.apache.felix.http' >> path not found >> >> The actual command being (shortened a little for readability): >> >> svn --non-interactive copy \ >> --file /path/to/maven-scm-1604415565.commit \ >> --revision 1522994 \ >> .../felix/releases/felix-parent-2.1/org.apache.felix.http \ >> .../felix/releases/org.apache.felix.http-2.2.1 >> >> Somehow, Maven has an incorrect notion of where the Felix HTTP sources >> are residing in the SVN tree. It thinks that they are residing >> underneath `releases/felix-parent-2.1/org.apache.felix.http`, while >> they obviously reside underneath `trunk/http`. >> >> - From the history, it appears that this is the first time a release is >> made with the Felix parent POM v2.1 (release v2.2.0 used v1.2 of the >> Felix parent POM), which might be a clue as to why it fails this time. >> >> Anybody able to help me out on this? How does Maven get the "strange" >> notion on where the sources should reside in SVN? >> >> Thanks in advance, >> >> Jan Willem >> >> >> 1. >> http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates >> >> Relevant output log: >> - --snip-- >> [INFO] Checking in modified POMs... >> [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn >> - --non-interactive commit --file >> /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-586998340.commit >> - --targets >> /var/folders/3w/s23k21td37bgc >> 4_z7_hgh370gn/T/maven-scm-3764299962992961060-targets >> [INFO] Working directory: /Users/jawi/Sources/felix/http >> [INFO] Tagging release with the label org.apache.felix.http-2.2.1... >> [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn >> - --non-interactive copy --file >> /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-1604415565.commit >> - --revision 1522994 >> https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http >> https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.http-2.2.1 >> [INFO] Working directory: /Users/jawi/Sources/felix/http >> [INFO] >> - >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Apache Felix Http Parent POM .. SKIPPED >> [INFO] Apache Felix Http Api . SKIPPED >> [INFO]
Re: Maven/SVN issues while releasing Felix HTTP
Hi Jan-Willem, disclaimer: I have never done a Felix release so there may be something I am missing :) Having said so.. > svn --non-interactive copy \ > --file /path/to/maven-scm-1604415565.commit \ > --revision 1522994 \ > .../felix/releases/felix-parent-2.1/org.apache.felix.http \ > .../felix/releases/org.apache.felix.http-2.2.1 As the http root pom does not specify any scm info the developerConnection is inherited from the released 2.1 parent pom and postfixed with the project.artifactId. Hence the ' .../felix/releases/felix-parent-2.1/org.apache.felix.http'. This is the maven default heuristic that works if you use a hierarchical layout where artifactId matches directory name and you do a multi-module release In this case obviously fails. Running 'maven help:effective-pom' shows this info as well; scm:svn:http://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http scm:svn:https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/felix-parent-2.1/org.apache.felix.http The straightforward approach is to specify the scm info in each pom. This also seems to be implicitly suggested by the release page [0] (see Staging the release candidate #4). So for example in the http/pom.xml scm:svn:http://svn.apache.org/repos/asf/felix/trunk/http scm:svn:https://svn.apache.org/repos/asf/felix/trunk/http http://svn.apache.org/viewvc/felix/trunk/http/ However, as none of the poms have this info I am wondering how this has been released before. Not sure. Obvisouly you can also pass the parameters as java options on the command line.. Regards, Bram [0] http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates On Fri, Sep 13, 2013 at 8:06 PM, Jan Willem Janssen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I'm trying to release Felix HTTP v2.2.1 (using [1]), but running `mvn > release:prepare` (from the `http` directory) fails while trying to > create a release tag of the current sources (full log below): > > [ERROR] The svn tag command failed. > [ERROR] Command output: > [ERROR] svn: E160013: > '/repos/asf/!svn/rvr/1522993/felix/releases/felix-parent-2.1/org.apache.felix.http' > path not found > > The actual command being (shortened a little for readability): > > svn --non-interactive copy \ > --file /path/to/maven-scm-1604415565.commit \ > --revision 1522994 \ > .../felix/releases/felix-parent-2.1/org.apache.felix.http \ > .../felix/releases/org.apache.felix.http-2.2.1 > > Somehow, Maven has an incorrect notion of where the Felix HTTP sources > are residing in the SVN tree. It thinks that they are residing > underneath `releases/felix-parent-2.1/org.apache.felix.http`, while > they obviously reside underneath `trunk/http`. > > - From the history, it appears that this is the first time a release is > made with the Felix parent POM v2.1 (release v2.2.0 used v1.2 of the > Felix parent POM), which might be a clue as to why it fails this time. > > Anybody able to help me out on this? How does Maven get the "strange" > notion on where the sources should reside in SVN? > > Thanks in advance, > > Jan Willem > > > 1. > http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates > > Relevant output log: > - --snip-- > [INFO] Checking in modified POMs... > [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn > - --non-interactive commit --file > /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-586998340.commit > - --targets > /var/folders/3w/s23k21td37bgc > 4_z7_hgh370gn/T/maven-scm-3764299962992961060-targets > [INFO] Working directory: /Users/jawi/Sources/felix/http > [INFO] Tagging release with the label org.apache.felix.http-2.2.1... > [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn > - --non-interactive copy --file > /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-1604415565.commit > - --revision 1522994 > https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http > https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.http-2.2.1 > [INFO] Working directory: /Users/jawi/Sources/felix/http > [INFO] > - > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Felix Http Parent POM .. SKIPPED > [INFO] Apache Felix Http Api . SKIPPED > [INFO] Apache Felix Http Base SKIPPED > [INFO] Apache Felix Http Bridge .. SKIPPED > [INFO] Apache Felix Http Jetty ... SKIPPED > [INFO] Apache Felix Http Proxy ... SKIPPED > [INFO] Apache Felix Http Whiteboard .. SKIPPED > [INFO] Apache Felix H
Maven/SVN issues while releasing Felix HTTP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to release Felix HTTP v2.2.1 (using [1]), but running `mvn release:prepare` (from the `http` directory) fails while trying to create a release tag of the current sources (full log below): [ERROR] The svn tag command failed. [ERROR] Command output: [ERROR] svn: E160013: '/repos/asf/!svn/rvr/1522993/felix/releases/felix-parent-2.1/org.apache.felix.http' path not found The actual command being (shortened a little for readability): svn --non-interactive copy \ --file /path/to/maven-scm-1604415565.commit \ --revision 1522994 \ .../felix/releases/felix-parent-2.1/org.apache.felix.http \ .../felix/releases/org.apache.felix.http-2.2.1 Somehow, Maven has an incorrect notion of where the Felix HTTP sources are residing in the SVN tree. It thinks that they are residing underneath `releases/felix-parent-2.1/org.apache.felix.http`, while they obviously reside underneath `trunk/http`. - From the history, it appears that this is the first time a release is made with the Felix parent POM v2.1 (release v2.2.0 used v1.2 of the Felix parent POM), which might be a clue as to why it fails this time. Anybody able to help me out on this? How does Maven get the "strange" notion on where the sources should reside in SVN? Thanks in advance, Jan Willem 1. http://felix.apache.org/documentation/development/release-management-nexus.html#staging-the-release-candidates Relevant output log: - --snip-- [INFO] Checking in modified POMs... [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn - --non-interactive commit --file /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-586998340.commit - --targets /var/folders/3w/s23k21td37bgc 4_z7_hgh370gn/T/maven-scm-3764299962992961060-targets [INFO] Working directory: /Users/jawi/Sources/felix/http [INFO] Tagging release with the label org.apache.felix.http-2.2.1... [INFO] Executing: /bin/sh -c cd /Users/jawi/Sources/felix/http && svn - --non-interactive copy --file /var/folders/3w/s23k21td37bgc4_z7_hgh370gn/T/maven-scm-1604415565.commit - --revision 1522994 https://svn.apache.org/repos/asf/felix/releases/felix-parent-2.1/org.apache.felix.http https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.http-2.2.1 [INFO] Working directory: /Users/jawi/Sources/felix/http [INFO] - [INFO] Reactor Summary: [INFO] [INFO] Apache Felix Http Parent POM .. SKIPPED [INFO] Apache Felix Http Api . SKIPPED [INFO] Apache Felix Http Base SKIPPED [INFO] Apache Felix Http Bridge .. SKIPPED [INFO] Apache Felix Http Jetty ... SKIPPED [INFO] Apache Felix Http Proxy ... SKIPPED [INFO] Apache Felix Http Whiteboard .. SKIPPED [INFO] Apache Felix Http Cometd .. SKIPPED [INFO] Apache Felix Http Bundle .. SKIPPED [INFO] Apache Felix Http SSL Filter .. SKIPPED [INFO] Apache Felix Http Samples - Filter SKIPPED [INFO] Apache Felix Http Samples - Bridge SKIPPED [INFO] Apache Felix Http Samples - Whiteboard SKIPPED [INFO] Apache Felix Http Samples - Cometd SKIPPED [INFO] Apache Felix Http Reactor . FAILURE [2:36.879s] [INFO] - [INFO] BUILD FAILURE [INFO] - [INFO] Total time: 2:38.195s [INFO] Finished at: Fri Sep 13 18:06:40 CEST 2013 [INFO] Final Memory: 16M/618M [INFO] - [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:prepare (default-cli) on project org.apache.felix.http: Unable to tag SCM [ERROR] Provider message: [ERROR] The svn tag command failed. [ERROR] Command output: [ERROR] svn: E160013: '/repos/asf/!svn/rvr/1522993/felix/releases/felix-parent-2.1/org.apache.felix.http' path not found [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :org.apache.felix.http - -- Met vriendelijke groeten | Kind regards Jan Willem Janssen | Software Architect +31 631 765 814 /My world is revolving around PulseOn and Amdatu/ Luminis Technologies B.V. J.C. Wilslaan 29 7313 HK Apeldoorn +31 88 586 46 30 http://www.luminis-technologies.com