Index: trunk/ehcache/management-ehcache-impl/ehcache-rest-agent/pom.xml
===================================================================
diff -u -N -r7574 -r7669
--- trunk/ehcache/management-ehcache-impl/ehcache-rest-agent/pom.xml (.../pom.xml) (revision 7574)
+++ trunk/ehcache/management-ehcache-impl/ehcache-rest-agent/pom.xml (.../pom.xml) (revision 7669)
@@ -155,7 +155,8 @@
maven-shade-plugin
${project.build.directory}/dependency-reduced-pom.xml
- true
+ true
+ true
false
true
Index: trunk/ehcache/distribution/pom.xml
===================================================================
diff -u -N -r7325 -r7669
--- trunk/ehcache/distribution/pom.xml (.../pom.xml) (revision 7325)
+++ trunk/ehcache/distribution/pom.xml (.../pom.xml) (revision 7669)
@@ -33,8 +33,15 @@
ehcache
${project.version}
provided
-
+
+ net.sf.ehcache
+ ehcache
+ ${project.version}
+ javadoc
+ provided
+
+
org.slf4j
slf4j-api
provided
Index: trunk/ehcache/ehcache/pom.xml
===================================================================
diff -u -N -r7624 -r7669
--- trunk/ehcache/ehcache/pom.xml (.../pom.xml) (revision 7624)
+++ trunk/ehcache/ehcache/pom.xml (.../pom.xml) (revision 7669)
@@ -10,7 +10,7 @@
ehcache
- ${packagingType}
+ jar
ehcache
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
@@ -31,7 +31,6 @@
${project.build.directory}/tmp/terracotta
1.4
false
- jar
true
@@ -85,76 +84,9 @@
copy-dependencies
-
-
- copy-sources
- package
-
- copy
-
-
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- sources
- true
- ${project.artifactId}-${project.version}-sources.jar
-
-
- ${project.build.directory}
-
-
-
-
- copy-javadoc
- package
-
- copy
-
-
- ${skipJavadoc}
-
-
- net.sf.ehcache.internal
- ehcache-core
- ${project.version}
- javadoc
- true
- ${project.artifactId}-${project.version}-javadoc.jar
-
-
- ${project.build.directory}
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- attach-javadoc
- package
-
- attach-artifact
-
-
- ${skipJavadoc}
-
-
-
- ${project.build.directory}/${project.artifactId}-${project.version}-javadoc.jar
- jar
- javadoc
-
-
-
-
-
-
-
org.apache.maven.plugins
maven-antrun-plugin
@@ -274,45 +206,48 @@
false
-
- bundle
-
- org.apache.felix
- maven-bundle-plugin
- 2.3.7
- true
-
- ${project.build.directory}
-
- ${project.artifactId}
- ${project.groupId}
- bitronix.tm;resolution:=optional,
- bitronix.tm.resource.ehcache;resolution:=optional,
- com.atomikos.*;resolution:=optional,
- com.atomikos.icatch.jta;resolution:=optional,
- weblogic.transaction;resolution:=optional,
- javax.transaction;resolution:=optional,
- javax.servlet;resolution:=optional,
- javax.net.ssl;resolution:=optional,
- org.hibernate.*;resolution:=optional,
- org.terracotta.toolkit.*;resolution:=optional,
- !sun.misc,*
-
- net.sf.ehcache.*
- org.terracotta.*
- JavaSE-1.6
-
- *;scope=provided|runtime
-
-
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.9
+
+
+ create-javadoc
+ package
+
+ jar
+
+
+ ${skipJavadoc}
+ true
+ 128m
+ 512
+ true
+
+ ${project.name} ${project.version} API
+ ${project.name} ${project.version} API
+ Copyright 2001-{currentYear}, Terracotta, Inc.
+ ${basedir}/src/main/java/net/sf/ehcache/overview.html
+ true
+
+ net.sf.ehcache.internal:*
+
+
+ net.sf.ehcache.internal:ehcache-rest-agent
+
+
+
+
+
+
org.apache.maven.plugins
maven-shade-plugin
true
+ true
net.sf.ehcache.internal:*
@@ -324,6 +259,7 @@
*:*
**/META-INF/maven/net.sf.ehcache.internal/**
+ **/META-INF/maven/org.terracotta.internal/**
**/license.txt
**/thirdpartylicenses.txt
META-INF/*.SF
@@ -355,30 +291,83 @@
+ org.apache.maven.plugins
+ maven-antrun-plugin
+ 1.7
+
+
+ unpack-jar-for-bundling
+ package
+
+ run
+
+
+
+
+
+
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 2.3.7
+
+ ${project.build.directory}
+
+ ${project.artifactId}
+ ${project.groupId}
+ bitronix.tm;resolution:=optional,
+ bitronix.tm.resource.ehcache;resolution:=optional,
+ com.atomikos.*;resolution:=optional,
+ com.atomikos.icatch.jta;resolution:=optional,
+ weblogic.transaction;resolution:=optional,
+ javax.transaction;resolution:=optional,
+ javax.servlet;resolution:=optional,
+ javax.net.ssl;resolution:=optional,
+ org.hibernate.*;resolution:=optional,
+ org.terracotta.toolkit.*;resolution:=optional,
+ !sun.misc,*
+
+ net.sf.ehcache.*
+ org.terracotta.*
+ JavaSE-1.6
+
+ *;scope=provided|runtime
+
+
+
+ generate-osgi-headers
+ package
+
+ manifest
+
+
+
+
+
org.codehaus.gmaven
gmaven-plugin
+ ${gmaven-plugin.version}
- inject-correct-pom-to-jar
+ repackage-jar
package
execute
- def jarFile = new File(project.build.directory,
- "${project.artifactId}-${project.version}.jar")
- ant.jar(destfile: jarFile, update: "true") {
- zipfileset(file: new File(project.build.directory,
- "dependency-reduced-pom.xml"),
- fullpath:
- "META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml")
- }
+ def jarFile = new File(project.build.directory, "${project.artifactId}-${project.version}.jar")
+ ant.copy(file: new File(project.build.directory, "dependency-reduced-pom.xml"),
+ tofile: new File(project.build.outputDirectory, "META-INF/maven/${project.groupId}/${project.artifactId}/pom.xml"))
+ ant.jar(destfile: jarFile, basedir: new File(project.build.outputDirectory).getAbsolutePath(), manifest: new File(project.build.directory, "MANIFEST.MF"))
-
+
Index: trunk/ehcache/ehcache-core/pom.xml
===================================================================
diff -u -N -r7468 -r7669
--- trunk/ehcache/ehcache-core/pom.xml (.../pom.xml) (revision 7468)
+++ trunk/ehcache/ehcache-core/pom.xml (.../pom.xml) (revision 7669)
@@ -24,7 +24,6 @@
src/test/resources
ehcache
false
- false
@@ -153,34 +152,6 @@
- org.apache.maven.plugins
- maven-javadoc-plugin
-
- ${skipJavadoc}
- true
-
-
- 128m
- 512
- ${basedir}/src/main/java/net/sf/ehcache/overview.html
-
-
- true
- ${project.name} ${project.version} API
- true
-
-
-
- core-javadoc
- prepare-package
-
- jar
-
-
-
-
-
-
org.terracotta
maven-forge-plugin
@@ -551,25 +522,13 @@
-
+
fast
true
- true
-
- skipJavadoc
-
- true
-
-
-
- ${user.home}/.skipJavadoc
-
-
-