diff --git a/SPR-8523/README.markdown b/SPR-8523/README.markdown index ace75753..24713d55 100644 --- a/SPR-8523/README.markdown +++ b/SPR-8523/README.markdown @@ -9,3 +9,9 @@ You'll notice in the pom that tests are being run with -javaagent:/path/to/org.springframework.instrument.jar + +Workaround: Use compile time weaving instead + +1. Repeat steps 2 and 3 above to cause the build to fail +2. copy `pom-compile-time-weaving.xml` to `pom.xml` (you may want to diff these two files first to understand what's changed) +3. run `mvn test`; note BUILD SUCCESSFUL diff --git a/SPR-8523/pom-compile-time-weaving.xml b/SPR-8523/pom-compile-time-weaving.xml new file mode 100644 index 00000000..3a05b722 --- /dev/null +++ b/SPR-8523/pom-compile-time-weaving.xml @@ -0,0 +1,120 @@ + + 4.0.0 + org.springframework.issues + SPR-8523 + 1.0-SNAPSHOT + Spring Issue Reproduction Project + jar + + + org.springframework + spring-beans + ${org.springframework.version} + + + org.springframework + spring-orm + ${org.springframework.version} + + + org.springframework + spring-instrument + ${org.springframework.version} + + + org.apache.openjpa + openjpa + 2.1.0 + + + commons-dbcp + commons-dbcp + 1.4 + + + log4j + log4j + 1.2.16 + + + junit + junit + 4.8 + test + + + org.hsqldb + hsqldb + 2.2.4 + test + + + + + spring-maven-snapshot + Springframework Maven Snapshot Repository + http://maven.springframework.org/snapshot + true + + + maven-central + Maven Central Repository + http://repo1.maven.org/maven2/ + + + + UTF8 + 3.1.0.BUILD-SNAPSHOT + + + + + maven-compiler-plugin + + 1.6 + 1.6 + + + + maven-surefire-plugin + + + **/*Tests.java + + + **/*Abstract*.java + + + + + org.codehaus.mojo + openjpa-maven-plugin + 1.2 + + **/*/*.class + true + true + + + + enhancer + process-classes + + enhance + + + + + + org.apache.openjpa + openjpa + + 2.1.0 + + + + + + +