Search tool fails to build under JDK 1.7 with clean/new Maven repo

Description

The Search tool fails to build in a clean environment under Java 1.7

The search-impl module fails due to missing search-test-1.6.jar. The search-test module fails to execute because the POM only activates for Java 1.5 and 1.6.

Changing the POM to activate for 1.6+ isn't sufficient either, as the classes in the 1.6 version of the search-test module fail to properly implement the 1.7 versions of DataSource and Connection

Attachments

2

Activity

Show:

Hudson CI Server April 9, 2014 at 8:39 AM

Integrated in search 1.4.x #64 (See http://builds.sakaiproject.org:8080/job/search%201.4.x/64/)
- Merged - Search tool fails to build under JDK 1.7 with clean/new maven repo (Revision 307956)

Result = SUCCESS

Hudson CI Server February 27, 2013 at 1:36 PM

Integrated in search trunk #545 (See http://builds.sakaiproject.org:8080/job/search%20trunk/545/)
fixed version to the correct one of 1.5-SNAPSHOT (Revision 120494)
fixed version from 1.4.2 to 1.5.0 (Revision 120492)

Result = SUCCESS

Hudson CI Server February 26, 2013 at 4:36 PM

Integrated in search trunk #544 (See http://builds.sakaiproject.org:8080/job/search%20trunk/544/)
fix for failure to build the tests in java 7
Patch from Charles H (Unicon), tweaks by AZ (Revision 120476)

Result = SUCCESS

Aaron Zeckoski February 26, 2013 at 2:59 PM
Edited

Patch as committed (SAK-23287.patch.txt)

Aaron Zeckoski February 26, 2013 at 10:41 AM
Edited

Looks like we need to change this to use the jdk-filter and also force a default (probably 1.6 for now)
search/search-impl/impl/pom.xml
I'll make those tweaks and apply the patch so we can test it

Fixed

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Maven 3.0.3 JDK 1.7.0_15

Created February 25, 2013 at 12:26 PM
Updated July 1, 2014 at 7:46 AM
Resolved February 26, 2013 at 3:33 PM