Am 07.02.2013 17:18, schrieb Marshall Schor:
Something happened with the source-release.zip build.
The source-release.zip now contains files not in SVN that are "generated files"
by the build.
The mvn release:perform is supposed to check out the tag (which would not have
the generated files), and run the assembly to produce the source zip before
running other steps that would produce the generated files.
In the previous rc-3 this worked OK. So something went wrong here.
Some examples of generated files in the source-release.zip not in the SVN tag:
textmarker-eclipse-feature: /feature.xml
textmarker-ep-engine: /META-INF/MANIFEST.MF (this file has only the Apache
license header plus an empty <plugin> </plugin> element.
textmarker-ep-ide: /META-INF/MANIFEST.MF
Sorry, I missed that when I checked the RC.
My first guess (with my limited maven knowledge) was that it is caused
by the changed order of the reactor build as you mentioned it in your email:
rc-3:
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache UIMA TextMarker: textmarker
[INFO] Apache UIMA TextMarker: textmarker-core
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-engine
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-ide
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-caseditor
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-addons
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-textruler
[INFO] Apache UIMA TextMarker Documentation
[INFO] Apache UIMA TextMarker Eclipse: textmarker-eclipse-feature
rc-4:
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache UIMA TextMarker: textmarker-parent
[INFO] Apache UIMA TextMarker: textmarker-core
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-engine
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-ide
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-caseditor
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-addons
[INFO] Apache UIMA TextMarker Eclipse: textmarker-ep-textruler
[INFO] Apache UIMA TextMarker Documentation
[INFO] Apache UIMA TextMarker Eclipse: textmarker-eclipse-feature
[INFO] Apache UIMA TextMarker: textmarker
rc-3 created the source-release before the modules are built, but rc-4
does that as the last step. This maybe explains why these files are
located in the archive.
Then, I took a look at how uimaj does it. A study of the poms resulted
in no ideas what went wrong. My next step was to build uimaj and take a
look at the console. I used uimaj-2.4.0, because rat complains about the
trunk (11 files). The order is quite similar, so my next guess was that
the reactor order is probably not the reason. Then, I actually checked
uimaj-2.4.0-source-release.zip and found that there the same problem
occurs, e.g., uimaj-ep-cas-editor contains a MANIFEST.MF.
So, what now?
I suppose that the reactor order is determined by the dependencies and
the parent relationship and cannot be influenced?
Peter
...
-Marshall
On 2/6/2013 10:33 AM, Peter Klügl wrote:
Hi,
the fourth release candidate of the sandbox project Apache UIMA TextMarker is
ready for voting. This vote also includes our new composite repository.
Staging repository:
https://repository.apache.org/content/repositories/orgapacheuima-204/
SVN tag:
https://svn.apache.org/repos/asf/uima/sandbox/textmarker/tags/textmarker-2.0.0-rc4
Composite repository with three update sites: uimaj, uima-as and
textmarker-2.0.0:
http://people.apache.org/~pkluegl/uima-releases/textmarker-2.0.0-rc4/eclipse-update-site
Archive with all sources:
http://people.apache.org/~pkluegl/uima-releases/textmarker-2.0.0-rc4/source/textmarker-2.0.0-source-release.zip
Binary distributions:
http://people.apache.org/~pkluegl/uima-releases/textmarker-2.0.0-rc4/dist/
The issues fixed are in the RELEASE_NOTES.html in the src/bin packages.
They can also be found here:
https://issues.apache.org/jira/issues/?jql=project%20%3D%20UIMA%20AND%20fixVersion%20%3D%20%222.0.0TextMarker%22%20AND%20component%20%3D%20TextMarker%20AND%20status%20in%20(Resolved%2C%20Closed)%20ORDER%20BY%20priority%20DESC
ONLY FOR REVIEWING:
Documentation (pdf file):
http://people.apache.org/~pkluegl/uima-releases/textmarker-2.0.0-rc4/tools.textmarker.book.pdf
Please vote on release:
[ ] +1 OK to release
[ ] 0 Don't care
[ ] -1 Not OK to release, because ...
Thanks.
Peter