You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by bonomat <ph...@gmail.com> on 2011/02/14 19:09:50 UTC
notice file generation
hi there,
i have a question about your notice file,
do you manage them manually or are they auto generated?
If they are auto generated, can you tell me how it is done?
kind regards
bonomat
--
View this message in context: http://karaf.922171.n3.nabble.com/notice-file-generation-tp2494457p2494457.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: notice file generation
Posted by Andreas Pieber <an...@gmail.com>.
Hey Philipp,
The following section in the karaf root pom does the trick:
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<appendedResourcesDirectory>${appendedResourcesDirectory}</appendedResourcesDirectory>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-notice</id>
<phase>generate-resources</phase>
<configuration>
<tasks>
<copy file="NOTICE" todir="target/maven-shared-archive-resources/META-INF"
failonerror="false" overwrite="true"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Also see here [1] and here [2].
Finally karaf/etc/appended-resources/supplemental-models.xml and
<properties>
<appendedResourcesDirectory>${basedir}/../etc/appended-resources</appendedResourcesDirectory>
</properties>
in karaf/main/pom.xml may help.
kind regards,
andreas
[1] http://maven.apache.org/plugins/maven-remote-resources-plugin/index.html
[2] http://maven.apache.org/plugins/maven-remote-resources-plugin/supplemental-models.html
On Mon, Feb 14, 2011 at 10:09:50AM -0800, bonomat wrote:
>
> hi there,
> i have a question about your notice file,
> do you manage them manually or are they auto generated?
> If they are auto generated, can you tell me how it is done?
>
> kind regards
> bonomat
> --
> View this message in context: http://karaf.922171.n3.nabble.com/notice-file-generation-tp2494457p2494457.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.