On 24.01.2013 16:57, Marshall Schor wrote:
On 1/24/2013 7:46 AM, Peter Klügl wrote:
On 24.01.2013 12:20, Jörn Kottmann wrote:
On 01/24/2013 10:39 AM, Peter Klügl wrote:
I found the icons in the uimaj-ep-textmarker-ide binary plugin jar file, but
the LICENSE and NOTICE files do not contain the attribution and license for
them:
Hmm, yes. I thought it is enough to provide those modified files for the
root project, which is released. I assume that maven has put the standard
LICENSE/NOTICE files in META-INF. The question is: what do I need to do?
Does each jar needs its individual files?
I am afraid to tell you that you need to have accurate NOTICE/LICENSE files
for all the artifacts you want to distribute.
As far as I know you can tell maven to not follow the standard behavior, I
believe Marshall already did it for
some of our artifacts already, e.g. the Cas Editor.
Can you or Marhsall elaborate on that? I looked at the Cas Editor, but have
not found anything in the pom nor in the jar distributed in the downloadable
archive.
In the Jar there is in the directory /META-INF added "LICENSE" and "NOTICE"
files.
There is a writeup of how the packaging for license/notice files works (I think
it is mostly up to date :-) ), here:
http://uima.apache.org/maven-design.html#LICENSE and NOTICE files
<http://uima.apache.org/maven-design.html#LICENSE%20and%20NOTICE%20files>
It would best to follow the conventions, of course :-)
HTH. -Marshall
Thanks for the links. I've read it some time ago, but forgot about it.
If I undestand that correctly, then I have to remove ANTLR and
htmlparser from the NOTICE/LICENSE in the top level project since they
are both not part of the source release. Then, I have to add
NOTICE/LICENSE files (with ANTLR and htmlparser) to src/main/readme/ in
the top level project and to the uimaj-ep-textmarker-engine project
since those two binaries will contain the third party libraries. The
other plugins also need their own NOTICE/LICENSE files in
src/main/readme/ since they contain the icons. Is that correct? Is there
a shortcut, something that influences maven what to put in those files,
or which file to copy?
What about the source release? The complete source release contains the
file I provided. However,
"org.apache.uima.textmarker.caseditor_2.0.0-sources.jar" for example,
only contains the default NOTICE/LICENSE files. Can I somehow change
these files to those I provide? Or are these files put there as a binary
release?
I must admit that I am a bit confused. I thought maven would just
distribute the NOTICE/LICENSE files that I provide in the top level
project, which is released.
Peter
Can I simply put a manually adapted NOTICE/LICENSE file in the META-INF folder
of the respective projects? Or what is the normal procedure here?
See this release policy:
http://www.apache.org/dev/release.html#distribute-other-artifacts
The attribution and notices you included in the svn tag files look good,
you just need to make sure that they are included in all of your artifacts
you want
to distribute. The basic principle here is that you just include what is
mandatory.
The textmarker ide plugin jar file includes the icons, and uses ANTLR
libraries through
the textmarker engine. For the LICENSE and NOTICE file it only counts what is
inside the distributable,
in this case you only need to put the icons in the LICENSE/NOTICE but not
ANTLR because their
work is not included.
The NOTICE file in the svn tag still has 2012 in it, should be updated to 2013.
Thanks for your help :-)
Peter
Hope that helps,
Jörn