On 21-Feb-15 22:50, Stian Soiland-Reyes wrote:
I've had a session tidying the pom.xml of taverna-language

(in https://github.com/taverna-incubator/incubator-taverna-language )

I removed numerous sections like this:

-               <build>
-       <plugins>
-                   <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
-                 <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-      </plugin>
-
-            </plugins>
-            </build>


These were seemingly copy-pasted into every module.

I removed these as they are inherited through the Maven parents.

That is likely to cause Eclipse to get confused (again). I will check the effect tomorrow. IMO it's an Eclipse "feature" :-D

[snip]

General build-settings (e.g. java version) goes in taverna-parent
unless they are already set in the apache parent (which has good
default for all the standard plugins).

IIRC the Java version in taverna-parent is overriding that in Apache parent. So it's more correct to say "unless they are already set to the appropriate value ..."

[snip]

Alan

Reply via email to