Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Undone addition of slf4j from lib, warning will be handled elsewhere.

  • Loading branch information...
commit 64195d6ad674dd1a1cadfbc5a0f7f0a2bae92d72 1 parent 9e21d5c
Tamas Cservenak cstamas authored
6 nexus-archetype-common-cli/pom.xml
@@ -59,12 +59,6 @@
59 59 </exclusion>
60 60 </exclusions>
61 61 </dependency>
62   - <!-- To log runtime -->
63   - <dependency>
64   - <groupId>org.slf4j</groupId>
65   - <artifactId>slf4j-simple</artifactId>
66   - <scope>compile</scope>
67   - </dependency>
68 62
69 63 <dependency>
70 64 <groupId>junit</groupId>
9 nexus-archetype-common/pom.xml
@@ -16,10 +16,6 @@
16 16
17 17 <dependencies>
18 18 <dependency>
19   - <groupId>org.slf4j</groupId>
20   - <artifactId>slf4j-api</artifactId>
21   - </dependency>
22   - <dependency>
23 19 <groupId>org.apache.maven.archetype</groupId>
24 20 <artifactId>archetype-catalog</artifactId>
25 21 <version>2.2</version>
@@ -52,11 +48,6 @@
52 48 <artifactId>junit</artifactId>
53 49 <scope>test</scope>
54 50 </dependency>
55   - <dependency>
56   - <groupId>org.slf4j</groupId>
57   - <artifactId>slf4j-simple</artifactId>
58   - <scope>test</scope>
59   - </dependency>
60 51 </dependencies>
61 52
62 53 <build>
8 nexus-archetype-common/src/main/java/org/sonatype/nexus/plugins/mac/DefaultMacPlugin.java
@@ -25,7 +25,7 @@
25 25 {
26 26 @Requirement
27 27 private NexusIndexer indexer;
28   -
  28 +
29 29 /**
30 30 * Lists available archatypes for given request.
31 31 *
@@ -76,10 +76,8 @@ public ArchetypeCatalog listArcherypesAsCatalog( final MacRequest request, final
76 76
77 77 try
78 78 {
79   - ArchetypeCatalog catalog = new ArchetypeCatalog();
80   -
  79 + final ArchetypeCatalog catalog = new ArchetypeCatalog();
81 80 Archetype archetype = null;
82   -
83 81 // fill it in
84 82 for ( ArtifactInfo info : infos )
85 83 {
@@ -93,10 +91,8 @@ public ArchetypeCatalog listArcherypesAsCatalog( final MacRequest request, final
93 91 {
94 92 archetype.setRepository( request.getRepositoryUrl() );
95 93 }
96   -
97 94 catalog.addArchetype( archetype );
98 95 }
99   -
100 96 return catalog;
101 97 }
102 98 finally

0 comments on commit 64195d6

Please sign in to comment.
Something went wrong with that request. Please try again.