My Classes are based on EMF (therefore the root/parent class is EMF's root class: EObjectImpl. this Class does not get processed by staticweaving using my script (as it is in another jar - as it is a library, not my own code...)
how can i specify to include this jar to the weave task as there is (obviously) no persistence.xml in the jar file.
my maven pom.xml is
<build>
<plugins>
<plugin>
<groupId>de.empulse.eclipselink</groupId>
<artifactId>staticweave-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>weave</goal>
</goals>
<configuration>
<persistenceXMLLocation>META-INF/persistence.xml</persistenceXMLLocation>
<logLevel>FINE</logLevel>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.jpa</artifactId>
<version>2.6.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
and the output generates woven classes with super._persistence_set(paramString, paramObject);
and so on, but as the super class did not get woven, the generated files are completely useless!
UPDATE: my 'Solution' was to include the 3rd party libary as source and compile it myself.
[Updated on: Wed, 06 April 2016 07:28]
Report message to a moderator