EclipseLink/Maven/GlassFish

From Eclipsepedia

Jump to: navigation, search

Installing EclipseLink 2.4 into GlassFish using Maven

This page documents how to upgrade the EclipseLink version packaged in GlassFish to the latest 2.4 release.

pom.xml

You will need the following sections in your pom.xml:


<plugin>
	<artifactId>maven-clean-plugin</artifactId>
	<version>2.5</version>
	<configuration>
		<filesets>
			<fileset>
				<directory>${glassfish.modules}</directory>
				<includes>
					<include>org.eclipse.persistence.*.jar</include>
				</includes>
				<followSymlinks>false</followSymlinks>
			</fileset>
		</filesets>
	</configuration>
</plugin>