File tree 4 files changed +17
-72
lines changed
sbm-support-rewrite/testcode/reposilite-test
src/main/java/com/example/dependency
src/main/java/com/example/dependent
4 files changed +17
-72
lines changed Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
- <modelVersion >4.0.0</modelVersion >
5
-
6
- <groupId >com.example.dependency</groupId >
7
- <artifactId >dependency-project</artifactId >
8
- <version >1.0-SNAPSHOT</version >
9
-
10
- <name >dependency-project</name >
11
-
12
- <properties >
13
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
- <maven .compiler.source>17</maven .compiler.source>
15
- <maven .compiler.target>17</maven .compiler.target>
16
- </properties >
17
-
18
- <distributionManagement >
19
- <repository >
20
- <id >repository-snapshots</id >
21
- <name >Snapshots Repository</name >
22
- <url >http://localhost:${port}/snapshots</url >
23
- </repository >
24
- </distributionManagement >
25
- </project >
Original file line number Diff line number Diff line change
1
+ package com .example .dependency ;
2
+ /**
3
+ * Hello world!
4
+ *
5
+ */
6
+ public class DependencyClass
7
+ {
8
+ private String value ;
9
+
10
+ public String getValue () {
11
+ return value ;
12
+ }
13
+
14
+ public void setValue (String value ) {
15
+ this .value = value ;
16
+ }
17
+ }
Original file line number Diff line number Diff line change 1
- <?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
- <modelVersion >4.0.0</modelVersion >
5
-
6
- <groupId >com.example.dependent</groupId >
7
- <artifactId >dependent-project</artifactId >
8
- <version >1.0-SNAPSHOT</version >
9
-
10
- <name >dependent-project</name >
11
-
12
- <properties >
13
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
- <maven .compiler.source>17</maven .compiler.source>
15
- <maven .compiler.target>17</maven .compiler.target>
16
- </properties >
17
-
18
- <dependencies >
19
- <dependency >
20
- <groupId >com.example.dependency</groupId >
21
- <artifactId >dependency-project</artifactId >
22
- <version >1.0-SNAPSHOT</version >
23
- </dependency >
24
- </dependencies >
25
-
26
- <repositories >
27
- <repository >
28
- <id >repository-snapshots</id >
29
- <name >Snapshots Repository</name >
30
- <url >http://localhost:${port}/snapshots</url >
31
- </repository >
32
- </repositories >
33
- </project >
Original file line number Diff line number Diff line change 1
- package com .example .dependent ;
2
-
3
- import com .example .dependency .DependencyClass ;
4
- public class DependentClass {
5
- private DependencyClass dependencyClass ;
6
-
7
- public DependencyClass getDependencyClass () {
8
- return dependencyClass ;
9
- }
10
-
11
- public void setDependencyClass (DependencyClass dependencyClass ) {
12
- this .dependencyClass = dependencyClass ;
13
- }
14
- }
You can’t perform that action at this time.
0 commit comments