commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r643643 - /commons/sandbox/functor/trunk/pom.xml
Date Tue, 01 Apr 2008 23:28:21 GMT
Author: niallp
Date: Tue Apr  1 16:28:17 2008
New Revision: 643643

URL: http://svn.apache.org/viewvc?rev=643643&view=rev
Log:
Copy project.xml back into the project, renaming to pom.xml and modify to get the m2 build
working

Added:
    commons/sandbox/functor/trunk/pom.xml
      - copied, changed from r643434, commons/sandbox/functor/trunk/project.xml

Copied: commons/sandbox/functor/trunk/pom.xml (from r643434, commons/sandbox/functor/trunk/project.xml)
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/pom.xml?p2=commons/sandbox/functor/trunk/pom.xml&p1=commons/sandbox/functor/trunk/project.xml&r1=643434&r2=643643&rev=643643&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/project.xml (original)
+++ commons/sandbox/functor/trunk/pom.xml Tue Apr  1 16:28:17 2008
@@ -1,10 +1,11 @@
 <?xml version="1.0"?>
 <!--
-   Copyright 2003-2004 The Apache Software Foundation
-
-   Licensed under the Apache License, Version 2.0 (the "License");
-   you may not use this file except in compliance with the License.
-   You may obtain a copy of the License at
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
 
        http://www.apache.org/licenses/LICENSE-2.0
 
@@ -14,23 +15,34 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 -->
-
-<project>
-  <extend>../commons-build/sandbox-project.xml</extend>
+<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/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.apache.commons</groupId>
+    <artifactId>commons-sandbox-parent</artifactId>
+    <version>4</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.commons</groupId>
+  <artifactId>commons-functor</artifactId>
+  <version>1.0-SNAPSHOT</version>
   <name>Commons Functor</name>
-  <id>commons-functor</id>
-  
-  <logo>/images/functor-logo-white.png</logo>
-  
-  <currentVersion>1.0-dev</currentVersion>
   <inceptionYear>2003</inceptionYear>
-  <shortDescription>Commons Functor</shortDescription>
   <description>
     A "functor" is an entity that serves the role of a function
     but can be operated upon like an object.  Commons Functor
     defines common functor and functor-related iterfaces, 
     implementations, and utilities.
   </description>
+  <url>http://commons.apache.org/sandbox/functor/</url>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/commons/sandbox/functor/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/sandbox/functor/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/commons/sandbox/functor/trunk/</url>
+  </scm>
 
   <developers>
     <developer>
@@ -53,29 +65,34 @@
 
   <dependencies>
     <dependency>
-      <id>junit</id>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
       <version>3.8.1</version>
+      <scope>test</scope>
     </dependency>
-
-    <!-- these two aren't really required by functor, but by maven -->
-    <dependency><id>xml-apis</id><version>2.0.2</version></dependency>
-    <dependency><id>xerces</id><version>2.0.2</version></dependency>
-    <!-- /these two aren't really required by functor, but by maven -->
-
   </dependencies>
 
   <build>
-    <unitTest>
-      <includes>
-        <include>org/apache/commons/functor/TestAll.java</include>
-      </includes>
-      <resources>
-        <resource>
-          <directory>src/test</directory>
+    <testResources>
+      <testResource>
+        <directory>src/test</directory>
+        <filtering>false</filtering>
+        <includes>
           <include>**/*.txt</include>
-        </resource>
-      </resources>
-    </unitTest>
+        </includes>
+      </testResource>
+    </testResources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <includes>
+              <include>org/apache/commons/collections/TestAllPackages.java</include>
+            </includes>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 </project>
 



Mime
View raw message