incubator-rat-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1188744 - in /incubator/rat/tentacles/trunk: ./ src/main/java/org/apache/openejb/ src/main/java/org/apache/rat/ src/main/java/org/apache/rat/tentacles/
Date Tue, 25 Oct 2011 15:55:10 GMT
Author: dblevins
Date: Tue Oct 25 15:55:09 2011
New Revision: 1188744

URL: http://svn.apache.org/viewvc?rev=1188744&view=rev
Log:
repackaged code, re-organized pom to closer match whisker

Added:
    incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/
    incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/
    incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/IOUtil.java
      - copied, changed from r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/IOUtil.java
    incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Main.java
      - copied, changed from r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Main.java
    incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Templates.java
      - copied, changed from r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Templates.java
Removed:
    incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/
Modified:
    incubator/rat/tentacles/trunk/pom.xml

Modified: incubator/rat/tentacles/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/tentacles/trunk/pom.xml?rev=1188744&r1=1188743&r2=1188744&view=diff
==============================================================================
--- incubator/rat/tentacles/trunk/pom.xml (original)
+++ incubator/rat/tentacles/trunk/pom.xml Tue Oct 25 15:55:09 2011
@@ -30,13 +30,55 @@
     <version>10</version>
   </parent>
 
-  <groupId>org.apache.openejb.tools</groupId>
-  <artifactId>legal</artifactId>
+  <groupId>org.apache.rat.tentacles</groupId>
+  <artifactId>apache-rat-tentacles</artifactId>
   <packaging>jar</packaging>
-  <version>1.0-SNAPSHOT</version>
-  <name>OpenEJB Legal Tools</name>
+  <version>0.1-SNAPSHOT</version>
+  <name>Apache Rat Tentacles</name>
+  <description>Utility to download binaries from a remote repository and scan them
for LICENSE and NOTICE files</description>
 
 
+  <dependencies>
+
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+      <version>4.1.1</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpcore</artifactId>
+      <version>4.1.1</version>
+    </dependency>
+
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.16</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.velocity</groupId>
+      <artifactId>velocity</artifactId>
+      <version>1.7</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.codehaus.swizzle</groupId>
+      <artifactId>swizzle-stream</artifactId>
+      <version>1.6.1</version>
+    </dependency>
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -48,7 +90,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>2.3.2</version>
         <configuration>
           <source>1.6</source>
           <target>1.6</target>
@@ -65,7 +106,7 @@
           </descriptorRefs>
           <archive>
             <manifest>
-              <mainClass>org.apache.openejb.tools.legal.Main</mainClass>
+              <mainClass>org.apache.rat.tentacles.Main</mainClass>
             </manifest>
           </archive>
         </configuration>
@@ -82,71 +123,5 @@
     </plugins>
   </build>
 
-  <repositories>
-    <repository>
-      <id>apache-m2-snapshot</id>
-      <name>Apache Snapshot Repository</name>
-      <url>http://repository.apache.org/snapshots</url>
-    </repository>
-    <repository>
-      <id>scala-tools</id>
-      <url>http://scala-tools.org/repo-releases/</url>
-    </repository>
-  </repositories>
-
-  <dependencies>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.8.1</version>
-      <scope>test</scope>
-    </dependency>
-
-    <!--  Apache commons compatible with signpost -->
-    <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpclient</artifactId>
-      <version>4.1.1</version>
-      <scope>compile</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpcore</artifactId>
-      <version>4.1.1</version>
-      <scope>compile</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>1.2.16</version>
-    </dependency>
-
-    <!-- markdown 2 html -->
-    <dependency>
-      <groupId>org.markdownj</groupId>
-      <artifactId>markdownj</artifactId>
-      <version>0.3.0-1.0.2b4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>1.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.velocity</groupId>
-      <artifactId>velocity</artifactId>
-      <version>1.7</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.codehaus.swizzle</groupId>
-      <artifactId>swizzle-stream</artifactId>
-      <version>1.6.1</version>
-    </dependency>
-  </dependencies>
-
 </project>
 

Copied: incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/IOUtil.java (from
r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/IOUtil.java)
URL: http://svn.apache.org/viewvc/incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/IOUtil.java?p2=incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/IOUtil.java&p1=incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/IOUtil.java&r1=1188719&r2=1188744&rev=1188744&view=diff
==============================================================================
--- incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/IOUtil.java
(original)
+++ incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/IOUtil.java Tue Oct
25 15:55:09 2011
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.openejb.tools.legal;
+package org.apache.rat.tentacles;
 
 import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;

Copied: incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Main.java (from
r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Main.java)
URL: http://svn.apache.org/viewvc/incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Main.java?p2=incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Main.java&p1=incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Main.java&r1=1188719&r2=1188744&rev=1188744&view=diff
==============================================================================
--- incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Main.java (original)
+++ incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Main.java Tue Oct
25 15:55:09 2011
@@ -14,7 +14,7 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.openejb.tools.legal;
+package org.apache.rat.tentacles;
 
 import org.apache.http.Header;
 import org.apache.http.HttpResponse;
@@ -688,7 +688,7 @@ public class Main {
 
         private final Set<License> otherLicenses = new HashSet<License>();
         private final Set<Notice> otherNotices = new HashSet<Notice>();
-        private Map<URI,URI> others;
+        private Map<URI, URI> others;
 
         public Archive(File file) {
             this.uri = repository.toURI().relativize(file.toURI());

Copied: incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Templates.java
(from r1188719, incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Templates.java)
URL: http://svn.apache.org/viewvc/incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Templates.java?p2=incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Templates.java&p1=incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Templates.java&r1=1188719&r2=1188744&rev=1188744&view=diff
==============================================================================
--- incubator/rat/tentacles/trunk/src/main/java/org/apache/openejb/tools/legal/Templates.java
(original)
+++ incubator/rat/tentacles/trunk/src/main/java/org/apache/rat/tentacles/Templates.java Tue
Oct 25 15:55:09 2011
@@ -14,10 +14,9 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-package org.apache.openejb.tools.legal;
+package org.apache.rat.tentacles;
 
 import org.apache.log4j.Logger;
-import org.apache.velocity.Template;
 import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.runtime.log.CommonsLogLogChute;



Mime
View raw message