Hi, I haven't checked building with Java 7 lately, however I guess the easiest way is to disable the tests when building (-Dmaven.test.skip=true)
Regards Carsten 2012/12/23 Florian Salihovic <[email protected]>: > When checking out the trunk, the build breaks when building the Apache Sling > Launchpad Base module. > > localhost:sling florian$ mvn clean install -e -X > Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) > Maven home: /Users/florian/opt/maven > Java version: 1.7.0_09, vendor: Oracle Corporation > Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home/jre > Default locale: de_DE, platform encoding: UTF-8 > OS name: "mac os x", version: "10.8.2", arch: "x86_64", family: "mac" > > The cause: > > ------------------------------------------------------------------------------- > Test set: org.apache.sling.installer.it.FragmentInstallTest > ------------------------------------------------------------------------------- > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.508 sec <<< > FAILURE! > testInstallFragment > [equinox](org.apache.sling.installer.it.FragmentInstallTest) Time elapsed: > 2.506 sec <<< FAILURE! > java.lang.AssertionError: > getService(org.apache.sling.installer.api.OsgiInstaller) must find > ServiceReference > > I was checking out trunk because the standalone launchpad is not starting > under Java 7 and it was suggested to build from sources if i understood > correctly. > > Kind regards, Florian -- Carsten Ziegeler [email protected]
