abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: [PATCH] Fix JSON Dependency
Date Sat, 15 Jul 2006 16:52:57 GMT
This doesn't appear to be quite right.  If I'm interpreting the maven
stuff properly, this would build the json stuff into an
abdera-dependencies jar.  The ant build builds it into a json.jar that's
included in the dist/lib directory.  That's the way the maven build
should work also.

- James

Stephen Duncan wrote:
> Added a Maven build for the source-dependencies, and added a
> dependency on it in the extensions project to get JSON.
> 
> [[[
> Include JSON dependency code in Maven build.
> 
> * pom.xml: Added dependencies module to Maven build.
> * dependencies/pom.xml: Added Maven build for dependencies module.
> * dependencies: Added "target" directory to svn:ignore.
> * extensions/pom.xml: Added abdera-dependencies as a dependency.
> ]]]
> 
> 
> ------------------------------------------------------------------------
> 
> Index: java/trunk/extensions/pom.xml
> ===================================================================
> --- java/trunk/extensions/pom.xml	(revision 422259)
> +++ java/trunk/extensions/pom.xml	(working copy)
> @@ -27,7 +27,13 @@
>        <artifactId>abdera-parser</artifactId>
>        <version>0.1.0-incubating-SNAPSHOT</version>
>        <scope>compile</scope>
> -    </dependency>   
> +    </dependency>   
> +    <dependency>
> +      <groupId>org.apache.abdera</groupId>
> +      <artifactId>abdera-dependencies</artifactId>
> +      <version>0.1.0-incubating-SNAPSHOT</version>
> +      <scope>compile</scope>
> +    </dependency>    
>      <dependency>
>        <groupId>ws-commons</groupId>
>        <artifactId>axiom-api</artifactId>
> 
> Property changes on: java\trunk\dependencies
> ___________________________________________________________________
> Name: svn:ignore
>    - 
> work
> .classpath
> .project
> *.jar
> bin
> 
>    + 
> work
> .classpath
> .project
> *.jar
> bin
> target
> 
> 
> Index: java/trunk/dependencies/pom.xml
> ===================================================================
> --- java/trunk/dependencies/pom.xml	(revision 0)
> +++ java/trunk/dependencies/pom.xml	(revision 0)
> @@ -0,0 +1,18 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<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.abdera</groupId>
> +    <artifactId>abdera</artifactId>
> +    <version>0.1.0-incubating-SNAPSHOT</version>
> +  </parent>
> +  <modelVersion>4.0.0</modelVersion>
> +  <artifactId>abdera-dependencies</artifactId>
> +  <packaging>jar</packaging>
> +  <name>Abdera Dependencies</name>
> +  <version>0.1.0-incubating-SNAPSHOT</version>
> +  <description>Internal Abdera Dependencies that are not available externally.</description>
> +  <inceptionYear>2006</inceptionYear>
> +</project>
> Index: java/trunk/pom.xml
> ===================================================================
> --- java/trunk/pom.xml	(revision 422259)
> +++ java/trunk/pom.xml	(working copy)
> @@ -134,7 +134,8 @@
>      </dependencies>
>    </dependencyManagement>
>    
> -  <modules>
> +  <modules>
> +    <module>dependencies</module>
>      <module>core</module>
>      <module>parser</module>
>      <module>security</module>

Mime
View raw message