Thilo Goetz wrote:
> Thilo Goetz (JIRA) wrote:
>   
>> Lucas: does not compile with Java 1.5
>> -------------------------------------
>>
>>                  Key: UIMA-1552
>>                  URL: https://issues.apache.org/jira/browse/UIMA-1552
>>              Project: UIMA
>>           Issue Type: Bug
>>           Components: Sandbox-Lucas
>>             Reporter: Thilo Goetz
>>             Assignee: Thilo Goetz
>>              Fix For: 2.3S
>>
>>
>> Lucas uses IOException constructors that are not in Java 1.5.
>>
>>     
>
> This reminds me: Marshall, please remember to build our
> release with Java 1.5.  Otherwise people may not be able
> to run our binaries with 1.5.  Thanks.
>   
hmmm, I think this is supposed to be automatic.  IIRC, the way it is
supposed to work is the top level parent, uimaj/pom.xml, has java 1.5
specified:

    <pluginManagement>
      <plugins>
        <!-- set Java 1.5 as the source and target of compilation -->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <configuration>
              <source>1.5</source>
              <target>1.5</target>
              <encoding>UTF-8</encoding>
            </configuration>
          </plugin>

The eclipse:eclipse maven plugin which generates the Eclipse stuff from
the POMs, takes this and sets 1.5 in the ".settings". file for the
Eclipse project.

Any idea what is going wrong?  -Marshall


> --Thilo
>
>
>
>   

Reply via email to