You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2003/10/26 18:21:36 UTC

[DIGESTER] Fix maven build

The current CVS head doesn't build right with maven. The DTD files
are not included into the final jar. Please apply this patch (it also
moves the current build version to 1.6-dev and stops overwriting the
existing 1.5 release):

--- cut ---
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/digester/project.xml,v
retrieving revision 1.13
diff -u -b -r1.13 project.xml
--- project.xml 10 Aug 2003 18:56:11 -0000      1.13
+++ project.xml 26 Oct 2003 17:18:55 -0000
@@ -4,7 +4,7 @@
   <extend>../project.xml</extend>
   <name>Digester</name>
   <id>commons-digester</id>
-  <currentVersion>1.5</currentVersion>
+  <currentVersion>1.6-dev</currentVersion>
   <inceptionYear>2001</inceptionYear>
   <shortDescription>Rule based XML->Java object mapping module</shortDescription>
   <description>The Digester package lets you configure an XML->Java object mapping module which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized.</description>
@@ -117,6 +117,14 @@
   </dependencies>
                                                                                                                                                                                                                                      
   <build>
+    <resources>
+      <resource>
+         <directory>${pom.build.sourceDirectory}</directory>
+         <includes>
+           <include>**/*.dtd</include>
+         </includes>
+      </resource>
+    </resources>
     <unitTest>
       <includes>
         <include>**/*Test.java</include>
--- cut ---

	Regards
		Henning



-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

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


Re: [DIGESTER] Fix maven build

Posted by robert burrell donkin <ro...@blueyonder.co.uk>.
patch applied. many thanks.

(i'm not convinced that the maven-driven tests run correctly from java 1.3 
but since the maven build is subsidary, i'll leave this for someone else 
to patch :)

- robert

On Sunday, October 26, 2003, at 05:21 PM, Henning P. Schmiedehausen wrote:

> The current CVS head doesn't build right with maven. The DTD files
> are not included into the final jar. Please apply this patch (it also
> moves the current build version to 1.6-dev and stops overwriting the
> existing 1.5 release):
>
> --- cut ---
> Index: project.xml
> ===================================================================
> RCS file: /home/cvs/jakarta-commons/digester/project.xml,v
> retrieving revision 1.13
> diff -u -b -r1.13 project.xml
> --- project.xml 10 Aug 2003 18:56:11 -0000      1.13
> +++ project.xml 26 Oct 2003 17:18:55 -0000
> @@ -4,7 +4,7 @@
>    <extend>../project.xml</extend>
>    <name>Digester</name>
>    <id>commons-digester</id>
> -  <currentVersion>1.5</currentVersion>
> +  <currentVersion>1.6-dev</currentVersion>
>    <inceptionYear>2001</inceptionYear>
>    <shortDescription>Rule based XML->Java object mapping 
> module</shortDescription>
>    <description>The Digester package lets you configure an XML->Java 
> object mapping module which triggers certain actions called rules 
> whenever a particular pattern of nested XML elements is 
> recognized.</description>
> @@ -117,6 +117,14 @@
>    </dependencies>
>
>    <build>
> +    <resources>
> +      <resource>
> +         <directory>${pom.build.sourceDirectory}</directory>
> +         <includes>
> +           <include>**/*.dtd</include>
> +         </includes>
> +      </resource>
> +    </resources>
>      <unitTest>
>        <includes>
>          <include>**/*Test.java</include>
> --- cut ---
>
> 	Regards
> 		Henning
>
>
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>
> Java, perl, Solaris, Linux, xSP Consulting, Web Services
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>
> "Dominate!! Dominate!! Eat your young and aggregate! I have grotty 
> silicon!"
>       -- AOL CD when played backwards  (User Friendly - 200-10-15)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


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