File: eclipse-sisu.patch

package info (click to toggle)
plexus-cipher 2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: java: 741; xml: 129; makefile: 2
file content (46 lines) | stat: -rw-r--r-- 1,476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Description: Use eclipse-sisu instead of sonatype-sisu
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/test/java/org/sonatype/plexus/components/cipher/DefaultPlexusCipherTest.java
+++ b/src/test/java/org/sonatype/plexus/components/cipher/DefaultPlexusCipherTest.java
@@ -12,7 +12,7 @@
  */
 package org.sonatype.plexus.components.cipher;
 
-import org.sonatype.guice.bean.containers.InjectedTestCase;
+import org.eclipse.sisu.launch.InjectedTestCase;
 
 /**
  * Test the Plexus Cipher container
--- a/src/test/java/org/sonatype/plexus/components/cipher/PBECipherTest.java
+++ b/src/test/java/org/sonatype/plexus/components/cipher/PBECipherTest.java
@@ -19,7 +19,7 @@
 
 package org.sonatype.plexus.components.cipher;
 
-import org.sonatype.guice.bean.containers.InjectedTestCase;
+import org.eclipse.sisu.launch.InjectedTestCase;
 
 /**
  * @author Oleg Gusakov
--- a/pom.xml
+++ b/pom.xml
@@ -119,9 +119,15 @@
 
   <dependencies>
     <dependency>
-      <groupId>org.sonatype.sisu</groupId>
-      <artifactId>sisu-inject-bean</artifactId>
-      <version>2.6.0</version>
+      <groupId>org.eclipse.sisu</groupId>
+      <artifactId>org.eclipse.sisu.inject</artifactId>
+      <version>debian</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.google.inject</groupId>
+      <artifactId>guice</artifactId>
+      <version>debian</version>
       <scope>provided</scope>
     </dependency>
     <dependency>