Why is this in the root pom?

            <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>

Usually one uses the maven-remote-resources plugin to  get a NOTICE file into  
an artifact, or some really project specific configuration.

Generally the NOTICE and LICENSE files that are in a projects svn root are 
different from those that go in artifacts and the m-r-r-p is pretty good at 
configuring what you get in the artifacts...

If no one comes up with a very compelling explanation I'm going  to remove this.

thanks
david jencks

Reply via email to