the travis build at

https://travis-ci.org/taverna-incubator/incubator-taverna-language/builds/49756777#L7802

seems confused with the Java versions. It should use 1.7.


It turns out to be inherited from Apache parent pom:

http://central.maven.org/maven2/org/apache/apache/16/apache-16.pom

        <maven.compiler.source>1.4</maven.compiler.source>
        <maven.compiler.target>1.4</maven.compiler.target>
    </properties>


        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.1</version>
          <configuration>
            <source>${maven.compiler.source}</source>
            <target>${maven.compiler.target}</target>
          </configuration>
        </plugin>


We only had override of the maven-compiler-plugin in our
taverna-maven-parent, and not the properties. Perhaps other bits of
Maven picked them up?

I have thus specified BOTH now to be sure.
https://github.com/taverna-incubator/incubator-taverna-maven-parent/blob/master/pom.xml#L87


-- 
Stian Soiland-Reyes
Apache Taverna (incubating)
http://orcid.org/0000-0001-9842-9718

Reply via email to