Ticket #51 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Modify all poms to ensure javac source=1.4 and target=1.4

Reported by: pradeep Assigned to: ebrown
Priority: high Milestone:
Component: build-system Version: 0.5-SNAPSHOT
Keywords: Cc:
Blocking: Blocked By:

Dependency Graph

Change History

06/14/06 15:17:39 changed by amit

  • owner changed from somebody to eric.
  • milestone set to snowcrash.

Assigned to Eric. Welcome on board...:)

06/14/06 15:26:12 changed by amit

  • milestone changed from snowcrash to topaz_newton.

06/22/06 12:18:58 changed by ronald

  • owner changed from eric to ebrown.

07/04/06 13:41:31 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.

(In [144]) fixes #51 Ensure javac uses 1.4 by default in all projects

NB: source:head/plosone/pom.xml currently forces version 1.5 for its WAR.

The maven-compiler-plugin indicates that we just need to set some top level properties to control the default compiler we use.

See: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html

How to test

Go to a sub-project that will run javac and run mvn clean; mvn -X compile and note that the output contains something like:

[DEBUG]   (f) source = 1.4
[DEBUG]   (f) target = 1.4

08/07/07 16:25:51 changed by

  • milestone deleted.

Milestone Bugs deleted