diff options
Diffstat (limited to 'it/it-projects/duplications/cross-project')
4 files changed, 46 insertions, 0 deletions
diff --git a/it/it-projects/duplications/cross-project/a/pom.xml b/it/it-projects/duplications/cross-project/a/pom.xml new file mode 100644 index 00000000000..fc279f29aaa --- /dev/null +++ b/it/it-projects/duplications/cross-project/a/pom.xml @@ -0,0 +1,9 @@ +<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.sonarsource.it.samples.duplications</groupId> + <artifactId>a</artifactId> + <version>1.0-SNAPSHOT</version> + +</project> diff --git a/it/it-projects/duplications/cross-project/a/src/main/java/MyClass.java b/it/it-projects/duplications/cross-project/a/src/main/java/MyClass.java new file mode 100644 index 00000000000..2dca0f23534 --- /dev/null +++ b/it/it-projects/duplications/cross-project/a/src/main/java/MyClass.java @@ -0,0 +1,14 @@ +public class MyClass { + public void sayHello() { + int d1; + int d2; + int d3; + int d4; + int d5; + int d6; + int d7; + int d8; + int d9; + int d10; + } +} diff --git a/it/it-projects/duplications/cross-project/b/pom.xml b/it/it-projects/duplications/cross-project/b/pom.xml new file mode 100644 index 00000000000..e3db8fc52a2 --- /dev/null +++ b/it/it-projects/duplications/cross-project/b/pom.xml @@ -0,0 +1,9 @@ +<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.sonarsource.it.samples.duplications</groupId> + <artifactId>b</artifactId> + <version>1.0-SNAPSHOT</version> + +</project> diff --git a/it/it-projects/duplications/cross-project/b/src/main/java/MyClass2.java b/it/it-projects/duplications/cross-project/b/src/main/java/MyClass2.java new file mode 100644 index 00000000000..b8a203b884b --- /dev/null +++ b/it/it-projects/duplications/cross-project/b/src/main/java/MyClass2.java @@ -0,0 +1,14 @@ +public class MyClass2 { + public void sayHello2() { + int d1; + int d2; + int d3; + int d4; + int d5; + int d6; + int d7; + int d8; + int d9; + int d10; + } +} |