From 24d5030a47ec501bb77ec601bc1b9bd7f4a3da1d Mon Sep 17 00:00:00 2001 From: Mathieu Baudier Date: Tue, 11 Jan 2011 09:05:40 +0000 Subject: [PATCH] Automatically generate MANIFEST for eclipse ui git-svn-id: https://svn.argeo.org/commons/trunk@4005 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- eclipse/plugins/org.argeo.eclipse.ui/pom.xml | 39 ++++++++++++++++- eclipse/plugins/pom.xml | 46 ++++++++++++++++---- 2 files changed, 75 insertions(+), 10 deletions(-) diff --git a/eclipse/plugins/org.argeo.eclipse.ui/pom.xml b/eclipse/plugins/org.argeo.eclipse.ui/pom.xml index bb1ac1f4e..3b8f94c37 100644 --- a/eclipse/plugins/org.argeo.eclipse.ui/pom.xml +++ b/eclipse/plugins/org.argeo.eclipse.ui/pom.xml @@ -1,4 +1,5 @@ - + 4.0.0 org.argeo.commons.eclipse @@ -9,6 +10,42 @@ org.argeo.eclipse.ui Commons Eclipse UI jar + + + + org.apache.maven.plugins + maven-compiler-plugin + + + org.apache.maven.plugins + maven-source-plugin + + + org.apache.maven.plugins + maven-jar-plugin + + + org.apache.felix + maven-bundle-plugin + ${version.maven-bundle-plugin} + + + lazy + org.argeo.eclipse.ui.ArgeoUiPlugin + org.eclipse.ui;resolution:=optional,org.eclipse.rap.ui;resolution:=optional,org.eclipse.core.runtime + + org.springframework.beans.factory, + org.springframework.core.io.support, + !org.eclipse.core.runtime, + !org.eclipse.core.commands, + !org.eclipse.ui.plugin, + * + + + + + + diff --git a/eclipse/plugins/pom.xml b/eclipse/plugins/pom.xml index 93d936872..b36c9365b 100644 --- a/eclipse/plugins/pom.xml +++ b/eclipse/plugins/pom.xml @@ -15,6 +15,9 @@ + + src/main/resources + . @@ -25,6 +28,20 @@ + maven-clean-plugin + + + + META-INF + + MANIFEST.MF + + + + + + + org.apache.maven.plugins maven-jar-plugin @@ -34,25 +51,36 @@ org.apache.maven.plugins - maven-compiler-plugin + maven-source-plugin org.apache.maven.plugins - maven-source-plugin + maven-surefire-plugin + + + org.apache.felix + maven-bundle-plugin + ${version.maven-bundle-plugin} + true + + META-INF + + ${project.version}-r${buildNumber} + ${pom.artifactId} + J2SE-1.5 + <_removeheaders>Bnd-LastModified + + - attach-sources - package + bundle-manifest + process-classes - jar + manifest - - org.apache.maven.plugins - maven-surefire-plugin - -- 2.30.2