Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Tentative update of the maven file #3

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

pradal
Copy link

@pradal pradal commented May 3, 2022

This is not yet working.

I clone and build successfully

  • agmip-core
  • agmip-translator
  • translator-dssat

When I run mvn compile -f pom.xml , I have the following errors:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project translator-sarrah: Compilation failure: Compilation failure: 
[ERROR] error: Source option 5 is no longer supported. Use 6 or later.
[ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later.

@pradal
Copy link
Author

pradal commented May 3, 2022

See a similar issue here:

jflex-de/jflex#400

@pradal
Copy link
Author

pradal commented May 3, 2022

To fix the problem,
1.

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>11</source>
                    <target>11</target>
                </configuration>
            </plugin>
  1. Add missing deps : org.apache.velocity and joda-time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant