kandi background
Explore Kits

eclipselink-maven-plugin | Eclipselink static weaving and canonical model generation

 by   ethlo Java Version: v2.7.5.1 License: Apache-2.0

 by   ethlo Java Version: v2.7.5.1 License: Apache-2.0

Download this library from

kandi X-RAY | eclipselink-maven-plugin Summary

eclipselink-maven-plugin is a Java library typically used in Utilities applications. eclipselink-maven-plugin has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.
[![Build Status](https://travis-ci.org/ethlo/eclipselink-maven-plugin.svg?branch=master)](https://travis-ci.org/ethlo/eclipselink-maven-plugin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5a0f641b2f944f4fbf46998fe9d184dc)](https://www.codacy.com/app/morten/eclipselink-maven-plugin?utm_source=github.com&utm_medium=referral&utm_content=ethlo/eclipselink-maven-plugin&utm_campaign=Badge_Grade). Eclipselink JPA maven plugin made to simplify life of the [Eclipselink](http://www.eclipse.org/eclipselink/) JPA developer.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • eclipselink-maven-plugin has a low active ecosystem.
  • It has 24 star(s) with 11 fork(s). There are 8 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 3 open issues and 21 have been closed. On average issues are closed in 77 days. There are no pull requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of eclipselink-maven-plugin is v2.7.5.1
This Library - Support
Best in #Java
Average in #Java
This Library - Support
Best in #Java
Average in #Java

quality kandi Quality

  • eclipselink-maven-plugin has 0 bugs and 26 code smells.
This Library - Quality
Best in #Java
Average in #Java
This Library - Quality
Best in #Java
Average in #Java

securitySecurity

  • eclipselink-maven-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • eclipselink-maven-plugin code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
This Library - Security
Best in #Java
Average in #Java
This Library - Security
Best in #Java
Average in #Java

license License

  • eclipselink-maven-plugin is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.
This Library - License
Best in #Java
Average in #Java
This Library - License
Best in #Java
Average in #Java

buildReuse

  • eclipselink-maven-plugin releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • It has 1388 lines of code, 48 functions and 8 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
This Library - Reuse
Best in #Java
Average in #Java
This Library - Reuse
Best in #Java
Average in #Java
Top functions reviewed by kandi - BETA

kandi has reviewed eclipselink-maven-plugin and discovered the below as its top functions. This is intended to give you an instant insight into eclipselink-maven-plugin implemented functionality, and help decide if they suit your requirements.

  • Entry point for processing .
    • Build the compiler options
      • Process persistence .
        • Creates a new cfg for migration .
          • Gets the base packages .
            • Checks that an existing entity is already defined .
              • Creates a Persistence object .
                • Prints the specified persistence object to the specified file .
                  • Gets the persistence unit root URL .
                    • Excludes all classes in the delegate .

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      eclipselink-maven-plugin Key Features

                      No need to setup special APT processor for canonical model generation, just use goal ```modelgen```.

                      Allows you to get rid of the ```persistence.xml``` file as the classes are detected automatically and a persistence.xml file is generated.

                      If the ```persistence.xml``` file already exists, missing ```<class>…​</class>``` entries are added automatically. This allows you to have a basic configuration, but you do not have to manually add class entries.

                      eclipselink-maven-plugin Examples and Code Snippets

                      See all related Code Snippets

                      Usage

                      copy iconCopydownload iconDownload
                      <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>

                      See all related Code Snippets

                      Community Discussions

                      Trending Discussions on eclipselink-maven-plugin
                      • What are the values and their differences for eclipselink.weaving property?
                      Trending Discussions on eclipselink-maven-plugin

                      QUESTION

                      What are the values and their differences for eclipselink.weaving property?

                      Asked 2021-Nov-26 at 11:22

                      Which values exist for the eclipselink.weaving property and what is their meaning?

                      In Spring we can create the entityManager using Java configuration or XML configuration, the following example is for XML:

                      <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
                          <property name="jpaProperties">
                              <props>
                                  <prop key="eclipselink.weaving">false</prop>
                                  ...
                              </props>
                          </property>
                         ...
                      </bean>
                      

                      We have the following option:

                      • static - to static weaving to weave all applicable class files at build time so that you can deliver pre-woven class files.

                      What does the false means? And which options can we pass to eclipselink.weaving property?

                      EDIT: I want to configure the weaving during compile time. I am using this maven plugin

                      <groupId>com.ethlo.persistence.tools</groupId>
                      <artifactId>eclipselink-maven-plugin</artifactId>
                      

                      What value should I use false or static ?

                      ANSWER

                      Answered 2021-Nov-25 at 16:57

                      Javadoc for the eclipselink.weaving property state 3 values:

                      • "true" - requires that weaving is done. Will throw an exception if entities are not woven
                      • "false" - forces weaving not to be done
                      • "static" - requires that the static weaving utility was used to weave the entities

                      True aka Dynamic implies there is an agent that will weave the entities in the JVM. See the doc for setting it up outside of a container. Static tells EclipseLink you've done the weaving yourself on the java classes within the class loader (see the wiki for how to set it up), while false turns off any options that require woven classes (change tracking, lazy one to ones and more).

                      Source https://stackoverflow.com/questions/70110355

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      No vulnerabilities reported

                      Install eclipselink-maven-plugin

                      You can download it from GitHub, Maven.
                      You can use eclipselink-maven-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the eclipselink-maven-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

                      Support

                      For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

                      DOWNLOAD this Library from

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Explore Related Topics

                      Share this Page

                      share link
                      Consider Popular Java Libraries
                      Try Top Libraries by ethlo
                      Compare Java Libraries with Highest Support
                      Compare Java Libraries with Highest Quality
                      Compare Java Libraries with Highest Security
                      Compare Java Libraries with Permissive License
                      Compare Java Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      • © 2022 Open Weaver Inc.