commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [JRCS] [PATCH] upgrade to Maven b4
Date Fri, 14 Jun 2002 21:51:23 GMT

Matt,

I'd guess your maven project.xml is out of date wrt Maven b4....I don't
have b4 installed, but it definitely looks like an older version....

Can you run ant maven:validate-pom and see what happens?

Thanks,
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


                                                                                         
                              
                    Matt Quail                                                           
                              
                    <matt@cortexebusine       To:     commons-dev@jakarta.apache.org  
                                 
                    ss.com.au>                cc:                                     
                                 
                                              Subject:     [JRCS] [PATCH] upgrade to Maven
b4                           
                    06/14/02 11:49 AM                                                    
                              
                    Please respond to                                                    
                              
                    "Jakarta Commons                                                     
                              
                    Developers List"                                                     
                              
                                                                                         
                              
                                                                                         
                              




This attached patch should allow JRCS to compile under Maven b4. Well,
it worked for me, anyway. I had to comment-out the main <organization>
tag as it was causing a NPE under Maven b4. The other changes are
whitespace- and tag-folding.

=Matt

--
Matt Quail -- Senior Software Engineer
http://www.cortexebusiness.com.au/
mailto:matt@cortexebusiness.com.au
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/project.xml,v
retrieving revision 1.4
diff -u -r1.4 project.xml
--- project.xml           5 Jun 2002 11:03:29 -0000           1.4
+++ project.xml           14 Jun 2002 01:43:24 -0000
@@ -1,34 +1,27 @@
-<?xml version="1.0"?>
+<?xml version="1.0" encoding="UTF-8"?>
+
 <project>
-
   <pomVersion>3</pomVersion>
   <name>commons-jrcs</name>
   <id>commons-jrcs</id>
   <currentVersion>1.0-dev</currentVersion>
-  <organization>Apache Software Foundation</organization>
+  <!-- doesn't work with mavenb4 organization>Apache Software
Foundation</organization -->
   <inceptionYear>2002</inceptionYear>
   <package>org.apache.commons.jrcs</package>
-
   <shortDescription>Java RCS Tools</shortDescription>
-
   <!-- Gump integration -->
-  <gumpRepositoryId>jakarta</gumpRepositoryId>
-
-  <description>
-    Java RCS Tools
-  </description>

+  <gumpRepositoryId>jakarta</gumpRepositoryId>
+  <description>Java RCS Tools</description>
   <url>http://jakarta.apache.org/commons/jrcs</url>

<issueTrackingUrl>http://nagoya.apache.org:8080/scarab/servlet/scarab/</issueTrackingUrl>

   <siteAddress>jakarta.apache.org</siteAddress>
   <siteDirectory>/www/jakarta.apache.org/turbine/maven/</siteDirectory>

<distributionDirectory>/www/jakarta.apache.org/builds/commons/jrcs</distributionDirectory>

-
   <repository>

<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-commons-sandbox</connection>

     <url>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/jrcs</url>
   </repository>
-
   <mailingLists>
     <mailingList>
       <name>Maven User List</name>
@@ -43,56 +36,41 @@

<archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>

     </mailingList>
   </mailingLists>
-
   <developers>
-
     <developer>
       <name>Juancarlo Anez</name>
       <id>juanco</id>
       <email>juanco@apache.org</email>
-      <organization></organization>
+      <organization/>
     </developer>
-
   </developers>
-
-
   <!-- Need to mark these as compile-time/run-time -->

   <dependencies>
-
     <dependency>
-      <id>jakarta-oro</id>
-      <version>1.3</version>
+      <id>oro</id>
+      <version>2.0.6</version>
       <url>http://jakarta.apache.org/oro/</url>
     </dependency>
-
   </dependencies>
-
   <build>
-
     <sourceDirectory>src/java</sourceDirectory>
     <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
     <integrationUnitTestSourceDirectory/>
     <aspectSourceDirectory/>
-
     <!-- Unit test classes -->
+
     <unitTestPatterns>
       <unitTestPattern>include = **/*Test*.java</unitTestPattern>
     </unitTestPatterns>
-
     <!-- Integration unit test classes -->
-    <integrationUnitTestPatterns>
-    </integrationUnitTestPatterns>

+    <integrationUnitTestPatterns/>
     <!-- J A R  R E S O U R C E S -->
     <!-- Resources that are packaged up inside the JAR file -->
-
     <!-- These are ant pattern sets -->
-    <jarResources>
-    </jarResources>

-    <jars>
-    </jars>
+    <jarResources/>
+    <jars/>
   </build>
 </project>
-

--
To unsubscribe, e-mail:   <
mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <
mailto:commons-dev-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message