Skip to content

Commit

Permalink
Added manifestEntries: modified: pom.xml
Browse files Browse the repository at this point in the history
Closes mitre#155
  • Loading branch information
Abhishek Jain authored and dsmiley committed Jan 12, 2019
1 parent c57587b commit 29e9dbb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# Version 1.11 (unreleased)

\#155: Add OSGI manifiest headers.
Thanks Abhishek Jain.

\#153: New settings: http.maxConnections and http.connectionrequest.timeout
Thanks Gotzon Illarramendi.

Expand Down
28 changes: 27 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,33 @@
</compilerArgs>
</configuration>
</plugin>

<!-- For OSGI -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Bundle-Version>${project.version}</Bundle-Version>
<Tool>Bundlor ${project.version}</Tool>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>org.mitre.dsmiley.http-proxy-servlet</Bundle-SymbolicName>
<Export-Package>org.mitre.dsmiley.httpproxy;version="0"</Export-Package>
<Import-Package>org.apache.http;version="0",
org.apache.http.client;version="0",
org.apache.http.entity;version="0",
org.apache.http.impl.client;version="0",
org.apache.http.message;version="0",
org.apache.http.util; version="0",
org.apache.http.client.utils;version="0",
org.apache.http.client.methods;version="0",
javax.servlet;version="0",
javax.servlet.http;version="0",
javax.net.ssl;version="0", org.apache.http.client.config;version="0"</Import-Package>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- See
http://central.sonatype.org/pages/apache-maven.html#nexus-staging-maven-plugin-for-deployment-and-release
Expand Down

0 comments on commit 29e9dbb

Please sign in to comment.