开源软件名称(OpenSource Name):ethlo/eclipselink-maven-plugin开源软件地址(OpenSource Url):https://github.com/ethlo/eclipselink-maven-plugin开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):eclipselink-maven-pluginEclipselink JPA maven plugin made to simplify life of the Eclipselink JPA developer. Features
Test projectA simple test project can be found here UsageStatic weaving: <plugin>
<groupId>com.ethlo.persistence.tools</groupId>
<artifactId>eclipselink-maven-plugin</artifactId>
<version>${eclipselink-maven-plugin.version}</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>weave</goal>
</goals>
</execution>
</executions>
</plugin> Meta-model generation: <plugin>
<groupId>com.ethlo.persistence.tools</groupId>
<artifactId>eclipselink-maven-plugin</artifactId>
<version>${eclipselink-maven-plugin.version}</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>modelgen</goal>
</goals>
</execution>
</executions>
</plugin> Both weave, DDL and meta-model generation and setting <plugin>
<groupId>com.ethlo.persistence.tools</groupId>
<artifactId>eclipselink-maven-plugin</artifactId>
<version>${eclipselink-maven-plugin.version}</version>
<executions>
<execution>
<id>weave</id>
<phase>process-classes</phase>
<goals>
<goal>weave</goal>
</goals>
</execution>
<execution>
<id>ddl</id>
<phase>process-classes</phase>
<goals>
<goal>ddl</goal>
</goals>
<configuration>
<databaseProductName>mysql</databaseProductName>
</configuration>
</execution>
<execution>
<id>modelgen</id>
<phase>generate-sources</phase>
<goals>
<goal>modelgen</goal>
</goals>
</execution>
</executions>
<configuration>
<basePackages>
<basePackage>org.my.projectA</basePackage>
<basePackage>org.my.projectB</basePackage>
</basePackages>
</configuration>
</plugin> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论