You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2013/07/31 17:12:38 UTC

git commit: Added sections in pom to generate MANIFEST.mf for jpa-core and jpa-api

Updated Branches:
  refs/heads/master 3c33652da -> 87622521f


Added sections in pom to generate MANIFEST.mf for
jpa-core and jpa-api

Signed-off-by: Chandan V A <ch...@sap.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/87622521
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/87622521
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/87622521

Branch: refs/heads/master
Commit: 87622521f21390a1ea7c43a71e1cc3d9f26de6e8
Parents: 3c33652
Author: Chandan V A <ch...@sap.com>
Authored: Wed Jul 31 20:40:54 2013 +0530
Committer: Chandan V A <ch...@sap.com>
Committed: Wed Jul 31 20:40:54 2013 +0530

----------------------------------------------------------------------
 jpa-api/pom.xml  | 43 ++++++++++++++++++++++++++++++++++++++++++-
 jpa-core/pom.xml | 38 +++++++++++++++++++++++++++++++++++++-
 2 files changed, 79 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/87622521/jpa-api/pom.xml
----------------------------------------------------------------------
diff --git a/jpa-api/pom.xml b/jpa-api/pom.xml
index 2fcae55..0a638e9 100644
--- a/jpa-api/pom.xml
+++ b/jpa-api/pom.xml
@@ -31,7 +31,48 @@
 	<artifactId>jpa.processor.api</artifactId>
 	<packaging>jar</packaging>
 	<name>${project.groupId}-${project.artifactId}</name>
-
+	
+	<build>
+		<plugins>
+			<plugin>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+					</archive>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<extensions>true</extensions>
+				<executions>
+					<execution>
+						<id>bundle-manifest</id>
+						<phase>process-classes</phase>
+						<goals>
+							<goal>manifest</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<instructions>
+						<Import-Package>
+							org.apache.olingo.odata2.processor.core.jpa.factory;resolution:=optional,
+							*
+						</Import-Package>
+						<Export-Package>
+							org.apache.olingo.odata2.processor.api.*;version=${project.version}
+						</Export-Package>
+						<Bundle-DocURL>${project.url}</Bundle-DocURL>
+						<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
 	<dependencies>
 		<!-- JPA Support -->
 		<dependency>

http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/87622521/jpa-core/pom.xml
----------------------------------------------------------------------
diff --git a/jpa-core/pom.xml b/jpa-core/pom.xml
index 2006b79..5da56cb 100644
--- a/jpa-core/pom.xml
+++ b/jpa-core/pom.xml
@@ -31,7 +31,43 @@
 	<artifactId>jpa.processor.core</artifactId>
 	<packaging>jar</packaging>
 	<name>${project.groupId}-${project.artifactId}</name>
-
+	
+	<build>
+		<plugins>
+			<plugin>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+					</archive>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.felix</groupId>
+				<artifactId>maven-bundle-plugin</artifactId>
+				<extensions>true</extensions>
+				<executions>
+					<execution>
+						<id>bundle-manifest</id>
+						<phase>process-classes</phase>
+						<goals>
+							<goal>manifest</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<instructions>
+						<Import-Package>*</Import-Package>
+						<Export-Package>org.apache.olingo.odata2.processor.core.jpa.factory;version=${project.version}</Export-Package>
+						<Bundle-DocURL>${project.url}</Bundle-DocURL>
+						<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+						<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+					</instructions>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.olingo.odata2</groupId>