Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Adds jersey-all build. Integrates the jersey-all version into the con…
Browse files Browse the repository at this point in the history
…nector build
  • Loading branch information
hstaudacher committed May 20, 2014
1 parent c775516 commit 74fbe99
Show file tree
Hide file tree
Showing 70 changed files with 240 additions and 142 deletions.
Expand Up @@ -10,12 +10,14 @@
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
<intAttribute key="M2_THREADS" value="1"/>
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
<stringAttribute key="M2_USER_SETTINGS" value=""/>
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/Java SE 6 (MacOS X Default)"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/com.eclipsesource.jaxrs.build}"/>
</launchConfiguration>
5 changes: 3 additions & 2 deletions build/com.eclipsesource.jaxrs.build/pom.xml
Expand Up @@ -34,6 +34,7 @@

<modules>
<!-- Bundles -->
<module>../com.eclipsesource.jaxrs.jersey.all</module>
<module>../../bundles/com.eclipsesource.jaxrs.publisher</module>
<module>../../bundles/com.eclipsesource.jaxrs.consumer</module>
<module>../../bundles/com.eclipsesource.jaxrs.provider.moxy</module>
Expand All @@ -60,7 +61,7 @@
<module>../com.eclipsesource.jaxrs.repository</module>
</modules>

<repositories>
<repositories>
<repository>
<id>connector-dependencies</id>
<layout>p2</layout>
Expand Down Expand Up @@ -112,7 +113,7 @@
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<classifier>${project.parent.relativePath}/../com.eclipsesource.jaxrs.connector.target/Equinox-4.4-jersey2.6.0</classifier>
<classifier>${project.parent.relativePath}/../com.eclipsesource.jaxrs.connector.target/Equinox-3.6-jersey2.8.0</classifier>
</artifact>
</target>
<environments>
Expand Down
137 changes: 2 additions & 135 deletions build/com.eclipsesource.jaxrs.connector.target/feature.xml
Expand Up @@ -63,13 +63,6 @@
version="0.0.0"
unpack="false"/>

<plugin
id="javax.annotation-api.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="javax.servlet-api.source"
download-size="0"
Expand All @@ -78,140 +71,14 @@
unpack="false"/>

<plugin
id="javax.validation.api.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="javax.ws.rs-api.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.api.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.external.asm-all-repackaged.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.external.javax.inject.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.locator.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.osgi-resource-locator.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.utils.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.containers.jersey-container-servlet-core.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.containers.jersey-container-servlet.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.core.jersey-client.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.core.jersey-common.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.core.jersey-server.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.media.jersey-media-sse.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.media.jersey-media-multipart.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.jvnet.mimepull.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="javassist.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.hk2.external.aopalliance-repackaged.source"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="jaxb-api.source"
id="com.eclipsesource.jaxrs.jersey-all"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.glassfish.jersey.bundles.repackaged.jersey-guava.source"
id="com.eclipsesource.jaxrs.jersey-all.source"
download-size="0"
install-size="0"
version="0.0.0"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/com.eclipsesource.jaxrs.connector.target/p2/artifacts.jar
Binary file not shown.
Binary file modified build/com.eclipsesource.jaxrs.connector.target/p2/content.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 11 additions & 0 deletions build/com.eclipsesource.jaxrs.jersey.all/.project
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.eclipsesource.jaxrs.jersey.all</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
23 changes: 23 additions & 0 deletions build/com.eclipsesource.jaxrs.jersey.all/Jersey All.launch
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
<booleanAttribute key="M2_DEBUG_OUTPUT" value="true"/>
<stringAttribute key="M2_GOALS" value="clean verify"/>
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
<booleanAttribute key="M2_OFFLINE" value="false"/>
<stringAttribute key="M2_PROFILES" value=""/>
<listAttribute key="M2_PROPERTIES"/>
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
<booleanAttribute key="M2_SKIP_TESTS" value="false"/>
<intAttribute key="M2_THREADS" value="1"/>
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
<stringAttribute key="M2_USER_SETTINGS" value=""/>
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${workspace}"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="/Users/holger/dev/gitRepositories/osgi-jax-rs-connector/build/com.eclipsesource.jaxrs.jersey.all"/>
</launchConfiguration>
153 changes: 153 additions & 0 deletions build/com.eclipsesource.jaxrs.jersey.all/pom.xml
@@ -0,0 +1,153 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.eclipsesource.jaxrs</groupId>
<artifactId>jersey-all</artifactId>
<version>2.8</version>

<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<jersey.version>2.8</jersey.version>
<jaxrs.version>2.0</jaxrs.version>
</properties>

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<index>false</index>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
<manifestEntries>
<Built-By>EclipseSource</Built-By>
</manifestEntries>
</archive>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Bundle-Vendor>EclipseSource</Bundle-Vendor>
<Export-Package>
javax.ws.*,
javax.annotation.*,
org.glassfish.*
</Export-Package>
<Import-Package>
!com.sun.jdi.*,
!sun.misc,
!javax.persistence,
javax.servlet.*;resolution:=optional,
*
</Import-Package>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
<Embed-Directory>target/dependency</Embed-Directory>
<Embed-StripGroup>true</Embed-StripGroup>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
<executions>
<execution>
<id>osgi-bundle</id>
<phase>package</phase>
<goals>
<goal>bundle</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.2</version>
<configuration>
<finalName>sheded-DO-NOT-USE</finalName>
<createSourcesJar>true</createSourcesJar>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}.source</Bundle-SymbolicName>
<Eclipse-SourceBundle>${project.groupId}.${project.artifactId};version="${project.version}"</Eclipse-SourceBundle>
<Export-Package></Export-Package>
<Import-Package></Import-Package>
<Bundle-ClassPath></Bundle-ClassPath>
<Embedded-Artifacts></Embedded-Artifacts>
<Embed-Directory></Embed-Directory>
<Ignore-Package></Ignore-Package>
<Embed-Dependency></Embed-Dependency>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>

<dependencies>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>${jaxrs.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>${jaxrs.version}</version>
<type>jar</type>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-sse</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-multipart</artifactId>
<version>${jersey.version}</version>
</dependency>
</dependencies>

</project>

0 comments on commit 74fbe99

Please sign in to comment.