Browse Source

Update Jetty to 9.4.1.v20170120

MappedLoginService is no longer available in Jetty 9.4 therefore base
TestLoginService on AbstractLoginService.

Apparently Jetty now uses slf4j hence adapt RecordingLogger accordingly
so we can log error messages containing slf4j style formatting anchors
"{}".

Change-Id: Ibb36aba8782882936849b6102001a88b699bb65c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
(cherry picked from commit 5e8e2179b2)
stable-4.6
Matthias Sohn 8 years ago
parent
commit
e05caf91f1
  1. 4
      org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientSmartServerTest.java
  2. 4
      org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java
  3. 3
      org.eclipse.jgit.junit.http/META-INF/MANIFEST.MF
  4. 5
      org.eclipse.jgit.junit.http/pom.xml
  5. 32
      org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java
  6. 4
      org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java
  7. 36
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.5.target
  8. 2
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.5.tpd
  9. 36
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.target
  10. 2
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.tpd
  11. 36
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.7.target
  12. 2
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.7.tpd
  13. 20
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/projects/jetty-9.2.13.tpd
  14. 20
      org.eclipse.jgit.packaging/org.eclipse.jgit.target/projects/jetty-9.4.1.tpd
  15. 14
      pom.xml

4
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/DumbClientSmartServerTest.java

@ -199,7 +199,7 @@ public class DumbClientSmartServerTest extends HttpTestCase {
.startsWith("JGit/")); .startsWith("JGit/"));
assertEquals("*/*", info.getRequestHeader(HDR_ACCEPT)); assertEquals("*/*", info.getRequestHeader(HDR_ACCEPT));
assertEquals(200, info.getStatus()); assertEquals(200, info.getStatus());
assertEquals("text/plain; charset=UTF-8", assertEquals("text/plain;charset=utf-8",
info info
.getResponseHeader(HDR_CONTENT_TYPE)); .getResponseHeader(HDR_CONTENT_TYPE));
@ -269,7 +269,7 @@ public class DumbClientSmartServerTest extends HttpTestCase {
assertEquals("GET", req.get(0).getMethod()); assertEquals("GET", req.get(0).getMethod());
assertEquals(0, req.get(0).getParameters().size()); assertEquals(0, req.get(0).getParameters().size());
assertEquals(200, req.get(0).getStatus()); assertEquals(200, req.get(0).getStatus());
assertEquals("text/plain; charset=UTF-8", assertEquals("text/plain;charset=utf-8",
req.get(0).getResponseHeader( req.get(0).getResponseHeader(
HDR_CONTENT_TYPE)); HDR_CONTENT_TYPE));
} }

4
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/SmartClientSmartServerTest.java

@ -454,7 +454,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
} catch (TransportException err) { } catch (TransportException err) {
String exp = brokenURI + ": expected" String exp = brokenURI + ": expected"
+ " Content-Type application/x-git-upload-pack-result;" + " Content-Type application/x-git-upload-pack-result;"
+ " received Content-Type text/plain; charset=UTF-8"; + " received Content-Type text/plain;charset=utf-8";
assertEquals(exp, err.getMessage()); assertEquals(exp, err.getMessage());
} }
} }
@ -476,7 +476,7 @@ public class SmartClientSmartServerTest extends HttpTestCase {
assertEquals(join(brokenURI, "git-upload-pack"), service.getPath()); assertEquals(join(brokenURI, "git-upload-pack"), service.getPath());
assertEquals(0, service.getParameters().size()); assertEquals(0, service.getParameters().size());
assertEquals(200, service.getStatus()); assertEquals(200, service.getStatus());
assertEquals("text/plain; charset=UTF-8", assertEquals("text/plain;charset=utf-8",
service.getResponseHeader(HDR_CONTENT_TYPE)); service.getResponseHeader(HDR_CONTENT_TYPE));
} }

3
org.eclipse.jgit.junit.http/META-INF/MANIFEST.MF

@ -28,7 +28,8 @@ Import-Package: javax.servlet;version="[2.5.0,3.2.0)",
org.eclipse.jgit.revwalk;version="[4.6.1,4.7.0)", org.eclipse.jgit.revwalk;version="[4.6.1,4.7.0)",
org.eclipse.jgit.transport;version="[4.6.1,4.7.0)", org.eclipse.jgit.transport;version="[4.6.1,4.7.0)",
org.eclipse.jgit.transport.resolver;version="[4.6.1,4.7.0)", org.eclipse.jgit.transport.resolver;version="[4.6.1,4.7.0)",
org.junit;version="[4.0.0,5.0.0)" org.junit;version="[4.0.0,5.0.0)",
org.slf4j.helpers;version="[1.7.2,2.0.0)"
Export-Package: org.eclipse.jgit.junit.http;version="4.6.1"; Export-Package: org.eclipse.jgit.junit.http;version="4.6.1";
uses:="org.eclipse.jgit.transport, uses:="org.eclipse.jgit.transport,
org.eclipse.jgit.junit, org.eclipse.jgit.junit,

5
org.eclipse.jgit.junit.http/pom.xml

@ -93,6 +93,11 @@
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId> <artifactId>jetty-servlet</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>

32
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java

@ -46,7 +46,6 @@ package org.eclipse.jgit.junit.http;
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.InetAddress; import java.net.InetAddress;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
@ -54,21 +53,21 @@ import java.net.UnknownHostException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.eclipse.jetty.security.AbstractLoginService;
import org.eclipse.jetty.security.Authenticator; import org.eclipse.jetty.security.Authenticator;
import org.eclipse.jetty.security.ConstraintMapping; import org.eclipse.jetty.security.ConstraintMapping;
import org.eclipse.jetty.security.ConstraintSecurityHandler; import org.eclipse.jetty.security.ConstraintSecurityHandler;
import org.eclipse.jetty.security.MappedLoginService;
import org.eclipse.jetty.security.authentication.BasicAuthenticator; import org.eclipse.jetty.security.authentication.BasicAuthenticator;
import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.HttpConfiguration; import org.eclipse.jetty.server.HttpConfiguration;
import org.eclipse.jetty.server.HttpConnectionFactory; import org.eclipse.jetty.server.HttpConnectionFactory;
import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.ServerConnector;
import org.eclipse.jetty.server.UserIdentity;
import org.eclipse.jetty.server.handler.ContextHandlerCollection; import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletContextHandler;
import org.eclipse.jetty.util.security.Constraint; import org.eclipse.jetty.util.security.Constraint;
import org.eclipse.jetty.util.security.Password; import org.eclipse.jetty.util.security.Credential;
import org.eclipse.jetty.util.security.Credential.Crypt;
import org.eclipse.jgit.transport.URIish; import org.eclipse.jgit.transport.URIish;
/** /**
@ -168,36 +167,30 @@ public class AppServer {
return ctx; return ctx;
} }
static class TestMappedLoginService extends MappedLoginService { static class TestLoginService extends AbstractLoginService {
private String role; private String role;
TestMappedLoginService(String role) { TestLoginService(String role) {
this.role = role; this.role = role;
} }
@Override @Override
protected UserIdentity loadUser(String who) { protected String[] loadRoleInfo(UserPrincipal user) {
return null; return new String[] { role };
} }
@Override @Override
protected void loadUsers() throws IOException { protected UserPrincipal loadUserInfo(String name) {
putUser(username, new Password(password), new String[] { role }); return new UserPrincipal(username,
Credential.getCredential(Crypt.crypt(username, password)));
} }
protected String[] loadRoleInfo(KnownUser user) {
return null;
}
protected KnownUser loadUserInfo(String usrname) {
return null;
}
} }
private void auth(ServletContextHandler ctx, Authenticator authType) { private void auth(ServletContextHandler ctx, Authenticator authType) {
final String role = "can-access"; final String role = "can-access";
MappedLoginService users = new TestMappedLoginService(role); TestLoginService users = new TestLoginService(role);
ConstraintMapping cm = new ConstraintMapping(); ConstraintMapping cm = new ConstraintMapping();
cm.setConstraint(new Constraint()); cm.setConstraint(new Constraint());
cm.getConstraint().setAuthenticate(true); cm.getConstraint().setAuthenticate(true);
@ -237,6 +230,7 @@ public class AppServer {
public void tearDown() throws Exception { public void tearDown() throws Exception {
RecordingLogger.clear(); RecordingLogger.clear();
log.clear(); log.clear();
server.setStopTimeout(0);
server.stop(); server.stop();
} }

4
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java

@ -49,6 +49,7 @@ import java.util.Collections;
import java.util.List; import java.util.List;
import org.eclipse.jetty.util.log.Logger; import org.eclipse.jetty.util.log.Logger;
import org.slf4j.helpers.MessageFormatter;
/** Logs warnings into an array for later inspection. */ /** Logs warnings into an array for later inspection. */
public class RecordingLogger implements Logger { public class RecordingLogger implements Logger {
@ -154,7 +155,8 @@ public class RecordingLogger implements Logger {
public void warn(String msg, Object... args) { public void warn(String msg, Object... args) {
synchronized (warnings) { synchronized (warnings) {
warnings.add(new Warning(MessageFormat.format(msg, args))); warnings.add(new Warning(
MessageFormatter.format(msg, args).getMessage()));
} }
} }

36
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.5.target

@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?> <?pde?>
<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform --> <!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
<target name="jgit-4.5" sequenceNumber="1484987843"> <target name="jgit-4.5" sequenceNumber="1485388880">
<locations> <locations>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.eclipse.jetty.client" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.client.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util.source" version="9.4.1.v20170120"/>
<repository id="jetty-9.2.13" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.2.13.v20150730/"/> <repository id="jetty-9.4.1" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.4.1.v20170120/"/>
</location> </location>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.apache.ant" version="1.9.4.v201504302020"/> <unit id="org.apache.ant" version="1.9.4.v201504302020"/>

2
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.5.tpd

@ -1,6 +1,6 @@
target "jgit-4.5" with source configurePhase target "jgit-4.5" with source configurePhase
include "projects/jetty-9.2.13.tpd" include "projects/jetty-9.4.1.tpd"
include "orbit/R20160221192158-Mars.tpd" include "orbit/R20160221192158-Mars.tpd"
include "orbit/S20170120205402-Oxygen.tpd" include "orbit/S20170120205402-Oxygen.tpd"

36
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.target

@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?> <?pde?>
<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform --> <!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
<target name="jgit-4.6" sequenceNumber="1484987839"> <target name="jgit-4.6" sequenceNumber="1485388877">
<locations> <locations>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.eclipse.jetty.client" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.client.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util.source" version="9.4.1.v20170120"/>
<repository id="jetty-9.2.13" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.2.13.v20150730/"/> <repository id="jetty-9.4.1" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.4.1.v20170120/"/>
</location> </location>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.apache.ant" version="1.9.6.v201510161327"/> <unit id="org.apache.ant" version="1.9.6.v201510161327"/>

2
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.6.tpd

@ -1,6 +1,6 @@
target "jgit-4.6" with source configurePhase target "jgit-4.6" with source configurePhase
include "projects/jetty-9.2.13.tpd" include "projects/jetty-9.4.1.tpd"
include "orbit/S20170120205402-Oxygen.tpd" include "orbit/S20170120205402-Oxygen.tpd"
location "http://download.eclipse.org/releases/neon/" { location "http://download.eclipse.org/releases/neon/" {

36
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.7.target

@ -1,26 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?> <?pde?>
<!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform --> <!-- generated with https://github.com/mbarbero/fr.obeo.releng.targetplatform -->
<target name="jgit-4.7" sequenceNumber="1484987834"> <target name="jgit-4.7" sequenceNumber="1485388865">
<locations> <locations>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.eclipse.jetty.client" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.client.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.client.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.continuation.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.continuation.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.http.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.http.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.io.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.io.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.security.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.security.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.server.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.server.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.servlet.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.servlet.source" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util" version="9.4.1.v20170120"/>
<unit id="org.eclipse.jetty.util.source" version="9.2.13.v20150730"/> <unit id="org.eclipse.jetty.util.source" version="9.4.1.v20170120"/>
<repository id="jetty-9.2.13" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.2.13.v20150730/"/> <repository id="jetty-9.4.1" location="http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.4.1.v20170120/"/>
</location> </location>
<location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.apache.ant" version="1.9.6.v201510161327"/> <unit id="org.apache.ant" version="1.9.6.v201510161327"/>

2
org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.7.tpd

@ -1,6 +1,6 @@
target "jgit-4.7" with source configurePhase target "jgit-4.7" with source configurePhase
include "projects/jetty-9.2.13.tpd" include "projects/jetty-9.4.1.tpd"
include "orbit/S20170120205402-Oxygen.tpd" include "orbit/S20170120205402-Oxygen.tpd"
location "http://download.eclipse.org/releases/oxygen/" { location "http://download.eclipse.org/releases/oxygen/" {

20
org.eclipse.jgit.packaging/org.eclipse.jgit.target/projects/jetty-9.2.13.tpd

@ -1,20 +0,0 @@
target "jetty-9.2.13" with source configurePhase
location jetty-9.2.13 "http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.2.13.v20150730/" {
org.eclipse.jetty.client [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.client.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.continuation [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.continuation.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.http [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.http.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.io [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.io.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.security [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.security.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.server [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.server.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.servlet [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.servlet.source [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.util [9.2.13.v20150730,9.2.13.v20150730]
org.eclipse.jetty.util.source [9.2.13.v20150730,9.2.13.v20150730]
}

20
org.eclipse.jgit.packaging/org.eclipse.jgit.target/projects/jetty-9.4.1.tpd

@ -0,0 +1,20 @@
target "jetty-9.4.1" with source configurePhase
location jetty-9.4.1 "http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.4.1.v20170120/" {
org.eclipse.jetty.client [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.client.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.continuation [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.continuation.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.http [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.http.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.io [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.io.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.security [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.security.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.server [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.server.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.servlet [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.servlet.source [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.util [9.4.1.v20170120,9.4.1.v20170120]
org.eclipse.jetty.util.source [9.4.1.v20170120,9.4.1.v20170120]
}

14
pom.xml

@ -200,7 +200,7 @@
<commons-compress-version>1.6</commons-compress-version> <commons-compress-version>1.6</commons-compress-version>
<osgi-core-version>4.3.1</osgi-core-version> <osgi-core-version>4.3.1</osgi-core-version>
<servlet-api-version>3.1.0</servlet-api-version> <servlet-api-version>3.1.0</servlet-api-version>
<jetty-version>9.2.13.v20150730</jetty-version> <jetty-version>9.4.1.v20170120</jetty-version>
<japicmp-version>0.5.3</japicmp-version> <japicmp-version>0.5.3</japicmp-version>
<httpclient-version>4.3.6</httpclient-version> <httpclient-version>4.3.6</httpclient-version>
<slf4j-version>1.7.2</slf4j-version> <slf4j-version>1.7.2</slf4j-version>
@ -633,6 +633,18 @@
<version>${jetty-version}</version> <version>${jetty-version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
<version>${jetty-version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty-version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.osgi</groupId> <groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId> <artifactId>org.osgi.core</artifactId>

Loading…
Cancel
Save