OSGi manifests generation fixes cleanup

This commit is contained in:
Hugues Malphettes 2012-09-25 11:24:16 +08:00
parent b593c47316
commit 29c18fc4d5
8 changed files with 6 additions and 31 deletions

View File

@ -84,7 +84,6 @@
</executions> </executions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-SymbolicName>org.eclipse.jetty.osgi.boot.jsp</Bundle-SymbolicName>
<Bundle-Name>Jetty-OSGi-Jasper Integration</Bundle-Name> <Bundle-Name>Jetty-OSGi-Jasper Integration</Bundle-Name>
<Bundle-Classpath /> <Bundle-Classpath />
<Fragment-Host>org.eclipse.jetty.osgi.boot</Fragment-Host> <Fragment-Host>org.eclipse.jetty.osgi.boot</Fragment-Host>

View File

@ -63,10 +63,8 @@
</executions> </executions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-SymbolicName>org.eclipse.jetty.osgi.boot.warurl;singleton:=true</Bundle-SymbolicName>
<Bundle-Name>RFC66 War URL</Bundle-Name> <Bundle-Name>RFC66 War URL</Bundle-Name>
<Bundle-Activator>org.eclipse.jetty.osgi.boot.warurl.WarUrlActivator</Bundle-Activator> <Bundle-Activator>org.eclipse.jetty.osgi.boot.warurl.WarUrlActivator</Bundle-Activator>
<_nouses>true</_nouses>
</instructions> </instructions>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -104,15 +104,8 @@
</executions> </executions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-SymbolicName>org.eclipse.jetty.osgi.boot;singleton:=true</Bundle-SymbolicName>
<Bundle-Name>Jetty OSGi Boot</Bundle-Name>
<Bundle-Activator>org.eclipse.jetty.osgi.boot.JettyBootstrapActivator</Bundle-Activator> <Bundle-Activator>org.eclipse.jetty.osgi.boot.JettyBootstrapActivator</Bundle-Activator>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<Export-Package>org.eclipse.jetty.osgi.boot;version="${parsedVersion.osgiVersion}",org.eclipse.jetty.osgi.boot.utils,org.eclipse.jetty.osgi.nested;version="${parsedVersion.osgiVersion}"</Export-Package> <Export-Package>org.eclipse.jetty.osgi.boot;version="${parsedVersion.osgiVersion}",org.eclipse.jetty.osgi.boot.utils,org.eclipse.jetty.osgi.nested;version="${parsedVersion.osgiVersion}"</Export-Package>
<!-- disable the uses directive: jetty will accomodate pretty much any versions
of the packages it uses; no need to reflect some tight dependency determined at
compilation time. -->
<_nouses>true</_nouses>
<Import-Package>javax.mail;version="1.4.0";resolution:=optional, <Import-Package>javax.mail;version="1.4.0";resolution:=optional,
javax.mail.event;version="1.4.0";resolution:=optional, javax.mail.event;version="1.4.0";resolution:=optional,
javax.mail.internet;version="1.4.0";resolution:=optional, javax.mail.internet;version="1.4.0";resolution:=optional,
@ -137,8 +130,6 @@
* *
</Import-Package> </Import-Package>
<DynamicImport-Package>org.eclipse.jetty.*;version="9.0.0"</DynamicImport-Package> <DynamicImport-Package>org.eclipse.jetty.*;version="9.0.0"</DynamicImport-Package>
<!--Require-Bundle/-->
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
</instructions> </instructions>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -11,7 +11,7 @@
<name>Jetty :: SPDY :: Core</name> <name>Jetty :: SPDY :: Core</name>
<properties> <properties>
<bundle-symbolic-name>${project.groupId}.spdy.core</bundle-symbolic-name> <bundle-symbolic-name>${project.groupId}.core</bundle-symbolic-name>
</properties> </properties>
<build> <build>

View File

@ -45,33 +45,20 @@
<argLine>-Xbootclasspath/p:${project.build.directory}/npn/npn-boot-${npn.version}.jar</argLine> <argLine>-Xbootclasspath/p:${project.build.directory}/npn/npn-boot-${npn.version}.jar</argLine>
</configuration> </configuration>
</plugin> </plugin>
<!-- <plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<executions> <executions>
<execution> <execution>
<goals>
<goal>manifest</goal>
</goals>
<configuration> <configuration>
<instructions> <instructions>
<Import-Package>javax.net.*,*</Import-Package> <Import-Package>org.eclipse.jetty.npn;version="0";resolution:=optional,*</Import-Package>
<Export-Package>*</Export-Package> <Export-Package>*</Export-Package>
</instructions> </instructions>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<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> </plugins>
</build> </build>

View File

@ -261,7 +261,8 @@
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment> <Bundle-SymbolicName>${bundle-symbolic-name}</Bundle-SymbolicName>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<Bundle-DocURL>${jetty.url}</Bundle-DocURL> <Bundle-DocURL>${jetty.url}</Bundle-DocURL>
<Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor> <Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor>
<Bundle-Classpath>.</Bundle-Classpath> <Bundle-Classpath>.</Bundle-Classpath>

View File

@ -88,7 +88,6 @@
https://issues.apache.org/jira/browse/FELIX-1571 https://issues.apache.org/jira/browse/FELIX-1571
--> -->
<Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath> <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
<Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
</instructions> </instructions>
</configuration> </configuration>
</execution> </execution>

View File

@ -16,7 +16,7 @@ Require-Bundle: org.eclipse.jetty.client,
org.eclipse.jetty.util, org.eclipse.jetty.util,
org.eclipse.jetty.websocket org.eclipse.jetty.websocket
Bundle-ClassPath: WEB-INF/classes Bundle-ClassPath: WEB-INF/classes
Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
Web-ContextPath: / Web-ContextPath: /
Class-Path: Class-Path: