Skip to content

Commit d11bb38

Browse files
author
Alexandre Montplaisir
committed
Bind the tests-common dependency to test <scope> only
It should only be used by test code. Signed-off-by: Alexandre Montplaisir <[email protected]>
1 parent 06dd3a4 commit d11bb38

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

pom.xml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,20 @@
9090

9191
<dependencyManagement>
9292
<dependencies>
93+
<!-- Regular Maven dependencies -->
94+
<dependency>
95+
<groupId>log4j</groupId>
96+
<artifactId>log4j</artifactId>
97+
<version>1.2.17</version>
98+
</dependency>
99+
100+
<dependency>
101+
<groupId>junit</groupId>
102+
<artifactId>junit</artifactId>
103+
<version>RELEASE</version>
104+
<scope>test</scope>
105+
</dependency>
106+
93107
<!-- System dependencies, should have been installed by UST -->
94108
<dependency>
95109
<groupId>org.lttng.ust.agent</groupId>
@@ -126,19 +140,6 @@
126140
<groupId>org.lttng.ust</groupId>
127141
<artifactId>lttng-ust-java-tests-common</artifactId>
128142
<version>1.1.0-SNAPSHOT</version>
129-
</dependency>
130-
131-
<!-- Regular Maven dependencies -->
132-
<dependency>
133-
<groupId>log4j</groupId>
134-
<artifactId>log4j</artifactId>
135-
<version>1.2.17</version>
136-
</dependency>
137-
138-
<dependency>
139-
<groupId>junit</groupId>
140-
<artifactId>junit</artifactId>
141-
<version>RELEASE</version>
142143
<scope>test</scope>
143144
</dependency>
144145
</dependencies>

0 commit comments

Comments
 (0)