Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2013-04-08 14:33:08 +0000
committerSimone Bordet2013-04-08 14:35:21 +0000
commit8e36113f64a764c7d6bcbe4bd9164cedd7b4ba85 (patch)
tree6be8e67bc33ed6eac5fcea6692fe06f086ce23f5
parenta231767ece6f651b856764e2ff0cc5db61b2f310 (diff)
downloadorg.eclipse.jetty.npn-8e36113f64a764c7d6bcbe4bd9164cedd7b4ba85.tar.gz
org.eclipse.jetty.npn-8e36113f64a764c7d6bcbe4bd9164cedd7b4ba85.tar.xz
org.eclipse.jetty.npn-8e36113f64a764c7d6bcbe4bd9164cedd7b4ba85.zip
Incorporate Jan's changes to support OSGi.
-rw-r--r--pom.xml84
1 files changed, 80 insertions, 4 deletions
diff --git a/pom.xml b/pom.xml
index b597ed5..665e987 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,12 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<parent>
- <groupId>org.eclipse.jetty.npn</groupId>
- <artifactId>npn-project</artifactId>
- <version>1.1.1-SNAPSHOT</version>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-parent</artifactId>
+ <version>20</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+ <groupId>org.eclipse.jetty.npn</groupId>
<artifactId>npn-api</artifactId>
+ <version>1.1.1-SNAPSHOT</version>
<name>Jetty :: Next Protocol Negotiation :: API</name>
+
+ <scm>
+ <connection>scm:git:http://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.npn.git</connection>
+ <developerConnection>scm:git:ssh://git.eclipse.org/gitroot/jetty/org.eclipse.jetty.npn.git</developerConnection>
+ <url>http://git.eclipse.org/c/jetty/org.eclipse.jetty.npn.git/tree</url>
+ </scm>
+
+ <properties>
+ <bundle-symbolic-name>org.eclipse.jetty.npn.api</bundle-symbolic-name>
+ <bundle-doc-url>http://www.eclipse.org/jetty/documentation/current/npn-chapter.html</bundle-doc-url>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>[1.7,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.7</source>
+ <target>1.7</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ <configuration>
+ <instructions>
+ <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
+ <Bundle-RequiredExecutionEnvironment>J2SE-1.7</Bundle-RequiredExecutionEnvironment>
+ <Bundle-DocURL>${bundle-doc-url}</Bundle-DocURL>
+ <Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor>
+ <Bundle-SymbolicName>${bundle-symbolic-name}</Bundle-SymbolicName>
+ <Bundle-Copyright>Copyright (c) 2008-2013 Mort Bay Consulting Pty. Ltd.</Bundle-Copyright>
+ <Export-Package>
+ org.eclipse.jetty.npn.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
+ </Export-Package>
+ <Import-Package>*</Import-Package>
+ <Bundle-Description>Next Protocol Negotiation API.</Bundle-Description>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <!-- Required for OSGI -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>

Back to the top