Skip to content

Commit

Permalink
[DEPS] remove unused logging dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell authored and slachiewicz committed Apr 27, 2022
1 parent 8a62617 commit c97dde6
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 59 deletions.
5 changes: 0 additions & 5 deletions src/it/mrm/repository/parent-0.1.pom
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
<artifactId>commons-io</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
4 changes: 0 additions & 4 deletions src/it/projects/mexec-29-non-static/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
4 changes: 0 additions & 4 deletions src/it/projects/mexec-29-wrong-signature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
4 changes: 0 additions & 4 deletions src/it/projects/mexec-29/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
5 changes: 0 additions & 5 deletions src/test/projects/project1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>

<build>
Expand Down
5 changes: 0 additions & 5 deletions src/test/projects/project13/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions src/test/projects/project14/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions src/test/projects/project2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
package org.codehaus.mojo.exec.project2;

import org.apache.log4j.Logger;

import com.sun.java_cup.internal.runtime.Symbol;
import java.util.logging.Logger;

/**
* Used for manual integrationtest of the java goal.
*
*/
public class App
{
static Logger log = Logger.getLogger(App.class);

public static void main( String[] args )
{
System.out.println("I was started. So obviously I found the main class");
Expand Down
7 changes: 0 additions & 7 deletions src/test/projects/project6/project5exec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,4 @@
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
</project>
5 changes: 0 additions & 5 deletions src/test/projects/project6/project5lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
<name>Exec Plugin Example Project 5 Lib</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
package org.codehaus.mojo.exec.project5lib;

import org.apache.log4j.Logger;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
* Used for manual integrationtest of the java goal.
*
*/
public class ExampleLibrary
{
static Logger log = Logger.getLogger(ExampleLibrary.class);
static Logger log = Logger.getLogger(ExampleLibrary.class.getName());
public ExampleLibrary() {
}
public boolean isAGoodDay() {
log.debug("It's a great day!");
log.log(Level.FINE, "It's a great day!");
return true;
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package org.codehaus.mojo.exec.project5libB;

import org.apache.log4j.Logger;
import java.util.logging.Logger;

/**
* Used for manual integrationtest of the java goal.
*
*/
public class App
{
static Logger log = Logger.getLogger(App.class);
static Logger log = Logger.getLogger(App.class.getName());
public static void main( String[] args )
{
System.out.println("I was started. So obviously I found the main class");
Expand Down

0 comments on commit c97dde6

Please sign in to comment.