Skip to content
Snippets Groups Projects
Commit e951a2f1 authored by srosse's avatar srosse
Browse files

OO-1068: copy the NOTICE.TXT with an ant task which don't disturb eclipse

parent 44e334f0
No related branches found
No related tags found
No related merge requests found
......@@ -1234,12 +1234,14 @@
<exclude>log4j.xml</exclude>
</excludes>
</resource>
<!--
<resource>
<directory>src/../</directory>
<includes>
<include>NOTICE.TXT</include>
</includes>
</resource>
-->
</resources>
<testResources>
<!-- Same comment as for src/main/java also applies to src/test/java -->
......@@ -1273,6 +1275,26 @@
<doUpdate>true</doUpdate>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>copy-notices-txt</id>
<phase>compile</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target name="copy notice.tx to web project">
<copy file="${project.basedir}/NOTICE.TXT"
tofile="${project.build.outputDirectory}/NOTICE.TXT"/>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment