Author: psharples
Date: Tue Sep 20 18:26:36 2011
New Revision: 1173292

URL: http://svn.apache.org/viewvc?rev=1173292&view=rev
Log:
Added new ant task for publishing a snapshot of the sub-projects to the apache 
snapshot repo.

Added:
    incubator/wookie/trunk/connector/java/pom-template.xml   (with props)
    incubator/wookie/trunk/parser/java/pom-template.xml   (with props)
Modified:
    incubator/wookie/trunk/ant/ivy-java-common.xml
    incubator/wookie/trunk/ant/ivysettings.xml
    incubator/wookie/trunk/build.xml
    incubator/wookie/trunk/connector/java/build.properties
    incubator/wookie/trunk/connector/java/build.xml
    incubator/wookie/trunk/connector/java/ivy.xml
    incubator/wookie/trunk/ivy.xml
    incubator/wookie/trunk/modules/jcr/ivy.xml
    incubator/wookie/trunk/parser/java/build.properties
    incubator/wookie/trunk/parser/java/ivy.xml

Modified: incubator/wookie/trunk/ant/ivy-java-common.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/ant/ivy-java-common.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/ant/ivy-java-common.xml (original)
+++ incubator/wookie/trunk/ant/ivy-java-common.xml Tue Sep 20 18:26:36 2011
@@ -15,7 +15,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project xmlns:ivy="antlib:org.apache.ivy.ant">
+<project xmlns:ivy="antlib:org.apache.ivy.ant" 
xmlns:m="http://ant.apache.org/ivy/maven";>
 
     <import file="ivy-common.xml"/>
        
@@ -145,9 +145,68 @@
     
     <target name="jar" depends="clean-dist, compile-core" description="--> 
make a jar file for this project">
        <mkdir dir="${dist.dir}"/>
-        <jar destfile="${dist.dir}/${ant.project.name}-${version}.jar">
-            <fileset dir="${project.build.classes.dir}"/>
+       <!-- Create compiled jar -->
+        <jar destfile="${dist.dir}/${ant.project.name}.jar">
+            <fileset dir="${project.build.classes.dir}">
+               <exclude name="**/*.java"/>
+               </fileset>
+               <metainf dir="../../">
+                       <include name="LICENSE"/>
+                       <include name="NOTICE"/>
+               </metainf>
+               <manifest>
+                               <attribute name="Built-By" 
value="${user.name}"/>
+                               <attribute name="Implementation-Vendor" 
value="Apache Software Foundation"/>
+                               <attribute name="Implementation-Title" 
value="${ant.project.name}"/>
+                               <attribute name="Implementation-Version" 
value="${version}"/>
+                       </manifest>
         </jar>
+       
+       <!-- Create source JAR -->
+       <jar destfile="${dist.dir}/${ant.project.name}-sources.jar">
+               <fileset dir="${project.core.src.dir}">
+                       <include name="**/*"/>
+               </fileset>
+                       <metainf dir="../../">
+                               <include name="LICENSE"/>
+                               <include name="NOTICE"/>  
+                       </metainf>    
+               <manifest>                              
+                               <attribute name="Built-By" 
value="${user.name}"/>
+                               <attribute name="Implementation-Vendor" 
value="Apache Software Foundation"/>
+                               <attribute name="Implementation-Title" 
value="${ant.project.name}"/>
+                               <attribute name="Implementation-Version" 
value="${version}"/>
+                       </manifest>             
+       </jar>
+
+       <!-- Create javadoc JAR -->     
+       <mkdir dir="${dist.dir}/javadoc/"/>
+       <javadoc packagenames="*"
+                       sourcepath="${project.core.src.dir}"
+                       destdir="${dist.dir}/javadoc"
+                       author="true"
+                       version="true"
+                       classpathref="project.core.class.path"
+                       use="true"
+                       windowtitle="${ant.project.name}-${version}"
+                       
doctitle="&lt;h1&gt;${ant.project.name}-${version}&lt;/h1&gt;">
+               <bottom><![CDATA[<i>2011 Apache Software 
Foundation.</i>]]></bottom>
+       </javadoc>
+       <jar destfile="${dist.dir}/${ant.project.name}-javadoc.jar">
+               <fileset dir="${dist.dir}/javadoc"/>
+                       <metainf dir="../../">
+                               <include name="LICENSE"/>
+                               <include name="NOTICE"/>  
+                       </metainf>    
+               <manifest>                              
+                               <attribute name="Built-By" 
value="${user.name}"/>
+                               <attribute name="Implementation-Vendor" 
value="Apache Software Foundation"/>
+                               <attribute name="Implementation-Title" 
value="${ant.project.name}"/>
+                               <attribute name="Implementation-Version" 
value="${version}"/>
+                       </manifest>             
+       </jar>
+       <!--remove folder-->
+       <delete dir="${dist.dir}/javadoc" />
     </target>
        
     <target name="publish" depends="clean-build, jar" description="--> publish 
this project in the ivy repository">
@@ -158,6 +217,38 @@
        />
         <echo message="project ${ant.project.name} released with version 
${revision}" />
     </target>
+       
+       <!--
+       Note to run this task, you must first add your credentials on the 
command line 
+       
+       i.e.
+       
+        -Dupload.user=mysuername -Dupload.password=mypassword
+        
+       -->
+    <target name="publish-snapshots" depends="clean-dist, jar" 
description="--> publishes this project in the apache snapshot repository. Dont 
run this from the root, see instead 'snapshot-repo-publish-subprojects'">
+       <echo>Locally publishing ${ant.project.name}-${version}</echo>
+       <fail unless="upload.user" message="supply upload.user on the command 
line"/>
+       <fail unless="upload.password" message="supply upload.password on the 
command line"/>
+       <delete file="${dist.dir}/ivy.xml"/> <!-- delete last produced ivy file 
to be sure a new one will be generated -->
+       <tstamp>
+               <format property="now" pattern="yyyyMMddHHmmss"/>
+       </tstamp>        
+       <ivy:makepom ivyfile="${basedir}/ivy.xml"
+                       templatefile="${basedir}/pom-template.xml"
+                       pomfile="${dist.dir}/${ant.project.name}.pom"/>
+       
+       <ivy:publish resolver="apache-snapshot"
+                       pubrevision="${version}"
+                       forcedeliver="true"
+                       publishivy="false"
+                       srcivypattern="${dist.dir}/ivy.xml"                     
+                               pubdate="${now}"
+                       overwrite="true">                       
+                               <artifacts 
pattern="${dist.dir}/[artifact](-[classifier]).[ext]"/>                         
             
+               </ivy:publish>
+       <echo message="project ${ant.project.name} published to nexus snapshot 
repo with version ${version}" />         
+    </target>  
 
     <target name="publish-local" depends="clean-dist, jar" description="--> 
publish this project in the local ivy repository">
        <echo>Locally publishing ${ant.project.name}-${version}</echo>
@@ -165,15 +256,18 @@
        <tstamp>
                        <format property="now" pattern="yyyyMMddHHmmss"/>
                </tstamp>
-       <ivy:makepom ivyfile="${basedir}/ivy.xml" 
pomfile="${dist.dir}/${ant.project.name}.pom"/>
+       <ivy:makepom ivyfile="${basedir}/ivy.xml"
+               templatefile="${basedir}/pom-template.xml"
+               pomfile="${dist.dir}/${ant.project.name}.pom"/>
        <ivy:publish resolver="local"
                pubrevision="${version}"
                forcedeliver="true"
+               publishivy="false"
                srcivypattern="${dist.dir}/ivy.xml"
                        pubdate="${now}"
                overwrite="true">
-               <artifact name="${ant.project.name}" type="pom" ext="pom"/>
-               <artifacts 
pattern="${dist.dir}/${ant.project.name}-${version}.jar"/>
+               <!--<artifacts pattern="${dist.dir}/[artifact].[ext]"/>-->
+               <artifacts 
pattern="${dist.dir}/[artifact](-[classifier]).[ext]"/>
        </ivy:publish>
         <echo message="project ${ant.project.name} published locally with 
version ${version}" />
     </target>

Modified: incubator/wookie/trunk/ant/ivysettings.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/ant/ivysettings.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/ant/ivysettings.xml (original)
+++ incubator/wookie/trunk/ant/ivysettings.xml Tue Sep 20 18:26:36 2011
@@ -1,36 +1,47 @@
-<!--
-  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
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<ivysettings>
-  <settings defaultResolver="wookie-chain" />
-  <caches>
-       <cache useOrigin="true" name="null"/>
-  </caches>
-  <resolvers>
-      <filesystem name="local" m2compatible="true" local="true" cache="null">
-          <artifact 
pattern="${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].[ext]"
 />
-      </filesystem>
-    <chain name="wookie-chain">
-      <resolver ref="local"></resolver>
-      <filesystem name="wookie-local">
-        <artifact 
pattern="${basedir}/${ivy.repository.dir}/lib/[artifact]-[revision].[type]" />
-      </filesystem>
-      <ibiblio name="public" m2compatible="true"/>
-    </chain>
-  </resolvers>
-</ivysettings>
-
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<ivysettings>
+  <property name="apache.repo.snapshot.url" 
value="https://repository.apache.org/content/repositories/snapshots/"; 
override="false" />
+  <credentials host="repository.apache.org" realm="Sonatype Nexus Repository 
Manager" username="${upload.user}" passwd="${upload.password}"/>
+  <property name="maven2.pattern" 
value="[organisation]/[module]/[revision]/[module]-[revision]" />
+  <property name="maven2.pattern.ext" value="${maven2.pattern}.[ext]" />
+  <settings defaultResolver="wookie-chain" />
+  <caches>
+       <cache useOrigin="true" name="null"/>
+  </caches>
+  <resolvers>
+         <filesystem name="local" m2compatible="true" local="true" 
cache="null">
+                 <artifact 
pattern="${user.home}/.m2/repository/${maven2.pattern.ext}" />
+         </filesystem>
+         <chain name="wookie-chain">
+               <resolver ref="local"></resolver>
+               <filesystem name="wookie-local">
+                       <artifact 
pattern="${basedir}/${ivy.repository.dir}/lib/[artifact]-[revision].[type]" />
+               </filesystem>
+               <ibiblio name="public" m2compatible="true" />
+               <!-- According to the ivy docs only a url resolver can publish, 
however the ibiblio resolver (below) appears to work.
+               <url name="apache-snapshot" m2compatible="true">
+                       <artifact 
pattern="${apache.repo.snapshot.url}/${maven2.pattern.ext}"/>
+               </url>
+               -->
+               <ibiblio name="apache-snapshot" 
root="${apache.repo.snapshot.url}" pattern="${maven2.pattern.ext}" 
m2compatible="true" />
+         </chain>
+  </resolvers>
+</ivysettings>
+
+

Modified: incubator/wookie/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/build.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/build.xml (original)
+++ incubator/wookie/trunk/build.xml Tue Sep 20 18:26:36 2011
@@ -235,6 +235,12 @@
        <ant dir="${wookie.connector.dir}/java" target="publish-local" 
inheritAll="false"/>
        <ant dir="${wookie.parser.w3c.dir}/java" target="publish-local" 
inheritAll="false"/>
   </target>
+       
+  <target name="snapshot-repo-publish-subprojects" description="Publishes all 
sub projects (i.e. java connector and parser projects) to the apache snapshot 
repository">
+       <!-- publish snapshot sub-projects -->
+       <ant dir="${wookie.connector.dir}/java" target="publish-snapshots" 
inheritAll="false"/>
+       <ant dir="${wookie.parser.w3c.dir}/java" target="publish-snapshots" 
inheritAll="false"/>
+  </target>    
        
   <target name="pre-compile-core">
     <!-- build supported database schema scripts -->

Modified: incubator/wookie/trunk/connector/java/build.properties
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/java/build.properties?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/connector/java/build.properties (original)
+++ incubator/wookie/trunk/connector/java/build.properties Tue Sep 20 18:26:36 
2011
@@ -1,4 +1,4 @@
-version=0.9.1-SNAPSHOT
+version=0.9.1-incubating-SNAPSHOT
 
 # build configuration properties
 build.dir=../../build

Modified: incubator/wookie/trunk/connector/java/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/java/build.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/connector/java/build.xml (original)
+++ incubator/wookie/trunk/connector/java/build.xml Tue Sep 20 18:26:36 2011
@@ -15,7 +15,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project default="compile-core" basedir="." name="wookie-connector">
+<project default="compile-core" basedir="." name="wookie-java-connector">
        <description>
       Ivy based build system for Apache Wookie Java Connector.
     </description>
@@ -24,7 +24,7 @@
        <property file="build.properties" />
 
        <import file="../../ant/ivy-java-common.xml" />
-
+               
        <target name="pre-compile-core" description="Run before compile-core. 
intended to be overridden if your project needs any post compile processing"/>
-       
+               
 </project>
\ No newline at end of file

Modified: incubator/wookie/trunk/connector/java/ivy.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/java/ivy.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/connector/java/ivy.xml (original)
+++ incubator/wookie/trunk/connector/java/ivy.xml Tue Sep 20 18:26:36 2011
@@ -15,13 +15,27 @@
   limitations under the License.
 -->
 <ivy-module version="2.0">
-    <info organisation="org.apache.incubator" module="wookie-connector" 
revision="0.9.1-SNAPSHOT"/>
+    <info organisation="org.apache.wookie" module="wookie-java-connector" 
revision="0.9.1-SNAPSHOT"/>
     
     <configurations>
       <conf name="deploy" description="Provide the necessary files and 
libraries to deploy in a production environment"/>
          <conf name="dev" extends="deploy" description="Provide the necessary 
files and libraries to run in standalone (development) mode"/>
-         <conf name="test" extends="dev" visibility="private" description="for 
our testing frameowrk"/>
+         <conf name="test" extends="dev" visibility="private" description="for 
our testing framework"/>
        </configurations>
+       
+       
+       <publications xmlns:e="urn:ant.apache.org:ivy-extras">  
+       <!-- 
+         Need to figure out why the publish task in ivy-java-common.xml does 
not pick up the source & javadoc jars
+         Commented out for now as they appear to be copied over without the 
classifier added in which may
+         cause the original compiled wookie-java-connector.jar to be 
overwritten
+                      
+      <artifact name="wookie-java-connector" type="sources" conf="deploy" 
ext="jar" e:classifier="sources"/>
+      <artifact name="wookie-java-connector" type="javadoc" conf="deploy" 
ext="jar" e:classifier="javadoc"/>
+       -->
+      <artifact name="wookie-java-connector" type="pom" ext="pom" 
conf="deploy"/>
+      <artifact name="wookie-java-connector" type="jar" conf="deploy"/>   
+       </publications>
     
     <dependencies>
         <dependency org="commons-logging" name="commons-logging" rev="1.1.1" 
conf="deploy->default">

Added: incubator/wookie/trunk/connector/java/pom-template.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/java/pom-template.xml?rev=1173292&view=auto
==============================================================================
--- incubator/wookie/trunk/connector/java/pom-template.xml (added)
+++ incubator/wookie/trunk/connector/java/pom-template.xml Tue Sep 20 18:26:36 
2011
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!--
+  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
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<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";>
+
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>${ivy.pom.groupId}</groupId>
+  <artifactId>${ivy.pom.artifactId}</artifactId>
+  <packaging>${ivy.pom.packaging}</packaging>
+  <version>${ivy.pom.version}</version>
+  <name>${ivy.pom.name}</name>
+  <description>${ivy.pom.description}</description>
+  <licenses>
+       <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>  
+  <url>http://incubator.apache.org/wookie/connector/java/</url>
+  <inceptionYear>2009</inceptionYear>
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/wookie/trunk/connector/java</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/wookie/trunk/connector/java/</developerConnection>
+    
<url>http://svn.apache.org/viewvc/incubator/wookie/trunk/connector/java/</url>  
      
+  </scm>
+  
+  <mailingLists>
+       <mailingList>
+               <name>Wookie Developer List</name>
+               <subscribe>[email protected]</subscribe>
+               
<unsubscribe>[email protected]</unsubscribe>
+               <post>mailto:[email protected]</post>
+               
<archive>http://mail-archives.apache.org/mod_mbox/incubator-wookie-dev/</archive>
+       </mailingList>
+  </mailingLists>
+
+  <issueManagement>
+       <url>https://issues.apache.org/jira/browse/WOOKIE</url>
+  </issueManagement>
+
+  <developers>
+       <developer>
+               <id>ate</id>
+               <name>Ate Douma</name>
+               <email>[email protected]</email>
+               <timezone>+1</timezone>
+               <organization>Hippo</organization>
+               <organizationUrl>http://www.onehippo.com</organizationUrl>
+               <roles>
+                       <role>mentor</role>
+                       <role>IPMC member</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+       <developer>
+               <id>psharples</id>
+               <name>Paul Sharples</name>
+               <email>[email protected]</email>
+               <timezone>0</timezone>
+               <organization>The University of Bolton</organization>
+               <organizationUrl>http://www.bolton.ac.uk</organizationUrl>
+               <roles>
+                       <role>committer</role>
+                       <role>release manager</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+       <developer>
+               <id>scottbw</id>
+               <name>Scott Wilson</name>
+               <email>[email protected]</email>
+               <timezone>0</timezone>
+               <organization>The University of Bolton</organization>
+               <organizationUrl>http://www.bolton.ac.uk</organizationUrl>
+               <roles>
+                       <role>committer</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+  </developers>     
+</project>
\ No newline at end of file

Propchange: incubator/wookie/trunk/connector/java/pom-template.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: incubator/wookie/trunk/ivy.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/ivy.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/ivy.xml (original)
+++ incubator/wookie/trunk/ivy.xml Tue Sep 20 18:26:36 2011
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 <ivy-module version="2.0">
-    <info organisation="org.apache.incubator" module="wookie" 
revision="0.9.1-SNAPSHOT"/>
+    <info organisation="org.apache.wookie" module="wookie" 
revision="0.9.1-SNAPSHOT"/>
     
     <configurations>
       <conf name="deploy" description="Provide the necessary files and 
libraries to deploy in a production environment"/>
@@ -24,11 +24,11 @@
          <conf name="test" extends="dev" visibility="private" description="for 
our testing frameowrk"/>
          <conf name="ddlutils" visibility="private" description="Provide the 
necessary libraries to invoke DDLUtils schema generation"/>
        </configurations>
-    
+           
     <dependencies>
-        <dependency org="org.apache.incubator" name="wookie-connector" 
rev="latest.integration" conf="deploy->default">
+        <dependency org="org.apache.wookie" name="wookie-java-connector" 
rev="latest.integration" conf="deploy->default">
         </dependency>
-        <dependency org="org.apache.incubator" name="wookie-parser" 
rev="latest.integration" conf="deploy->default">
+        <dependency org="org.apache.wookie" name="wookie-parser" 
rev="latest.integration" conf="deploy->default">
         </dependency>
         
         <!--  Uncomment to include JCR persistence manager -->

Modified: incubator/wookie/trunk/modules/jcr/ivy.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/modules/jcr/ivy.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/modules/jcr/ivy.xml (original)
+++ incubator/wookie/trunk/modules/jcr/ivy.xml Tue Sep 20 18:26:36 2011
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 <ivy-module version="2.0">
-    <info organisation="org.apache.incubator" module="wookie-jcr" 
revision="0.9.1-SNAPSHOT"/>
+    <info organisation="org.apache.wookie" module="wookie-jcr" 
revision="0.9.1-SNAPSHOT"/>
     
     <configurations>
       <conf name="deploy" description="Provide the necessary files and 
libraries to deploy in a production environment"/>
@@ -24,9 +24,9 @@
        </configurations>
     
     <dependencies>
-       <dependency org="org.apache.incubator" name="wookie" 
rev="latest.integration" conf="deploy->default">
+       <dependency org="org.apache.wookie" name="wookie" 
rev="latest.integration" conf="deploy->default">
        </dependency>
-       <dependency org="org.apache.incubator" name="wookie-parser" 
rev="latest.integration" conf="deploy->default">
+       <dependency org="org.apache.wookie" name="wookie-parser" 
rev="latest.integration" conf="deploy->default">
        </dependency>
         <dependency org="commons-pool" name="commons-pool" rev="1.3" 
conf="deploy->default">
                </dependency>   

Modified: incubator/wookie/trunk/parser/java/build.properties
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/build.properties?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/parser/java/build.properties (original)
+++ incubator/wookie/trunk/parser/java/build.properties Tue Sep 20 18:26:36 2011
@@ -1,4 +1,4 @@
-version=0.9.1-SNAPSHOT
+version=0.9.1-incubating-SNAPSHOT
 
 # build configuration properties
 build.dir=../../build

Modified: incubator/wookie/trunk/parser/java/ivy.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/ivy.xml?rev=1173292&r1=1173291&r2=1173292&view=diff
==============================================================================
--- incubator/wookie/trunk/parser/java/ivy.xml (original)
+++ incubator/wookie/trunk/parser/java/ivy.xml Tue Sep 20 18:26:36 2011
@@ -14,14 +14,27 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<ivy-module version="2.0">
-    <info organisation="org.apache.incubator" module="wookie-parser" 
revision="0.9.1-SNAPSHOT"/>
+<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven";>
+    <info organisation="org.apache.wookie" module="wookie-parser" 
revision="0.9.1-incubating-SNAPSHOT"/>
     
     <configurations>
       <conf name="deploy" description="Provide the necessary files and 
libraries to deploy in a production environment"/>
          <conf name="dev" extends="deploy" description="Provide the necessary 
files and libraries to run in standalone (development) mode"/>
          <conf name="test" extends="dev" visibility="private" description="for 
our testing frameowrk"/>
        </configurations>
+       
+       <publications>      
+         <!-- 
+         Need to figure out why the publish task in ivy-java-common.xml does 
not pick up the source & javadoc jars
+         Commented out for now as they appear to be copied over without the 
classifier added in which may
+         cause the original compiled wookie-parser.jar to be overwritten
+                
+      <artifact name="wookie-parser" type="sources" ext="jar" 
m:classifier="sources"/>
+      <artifact name="wookie-parser" type="javadoc" ext="jar" 
m:classifier="javadoc"/>
+       -->
+      <artifact name="wookie-parser" type="pom" ext="pom"/>
+      <artifact name="wookie-parser" type="jar"/>
+       </publications>
     
     <dependencies>
         <dependency org="com.ibm.icu" name="icu4j" rev="4_6_0" 
conf="deploy->default">

Added: incubator/wookie/trunk/parser/java/pom-template.xml
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/java/pom-template.xml?rev=1173292&view=auto
==============================================================================
--- incubator/wookie/trunk/parser/java/pom-template.xml (added)
+++ incubator/wookie/trunk/parser/java/pom-template.xml Tue Sep 20 18:26:36 2011
@@ -0,0 +1,93 @@
+<?xml version="1.0"?>
+<!-- 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 Unless 
required 
+       by applicable law or agreed to in writing, software distributed under 
the 
+       License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 
CONDITIONS 
+       OF ANY KIND, either express or implied. See the License for the 
specific 
+       language governing permissions and limitations under the License. 
+       -->
+<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";>
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${ivy.pom.groupId}</groupId> 
+  <artifactId>${ivy.pom.artifactId}</artifactId>
+  <packaging>${ivy.pom.packaging}</packaging>
+  <version>${ivy.pom.version}</version>
+  <name>${ivy.pom.name}</name>
+  <description>${ivy.pom.description}</description>
+  <licenses>
+       <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+  <url>http://incubator.apache.org/wookie/parser/</url>
+  <inceptionYear>2009</inceptionYear>
+    
+  <scm>
+       
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/wookie/trunk/parser</connection>
+       
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/wookie/trunk/parser/</developerConnection>
+       <url>http://svn.apache.org/viewvc/incubator/wookie/trunk/parser/</url>
+  </scm>
+  
+  <mailingLists>
+       <mailingList>
+               <name>Wookie Developer List</name>
+               <subscribe>[email protected]</subscribe>
+               
<unsubscribe>[email protected]</unsubscribe>
+               <post>mailto:[email protected]</post>
+               
<archive>http://mail-archives.apache.org/mod_mbox/incubator-wookie-dev/</archive>
+       </mailingList>
+  </mailingLists>
+
+  <issueManagement>
+       <url>https://issues.apache.org/jira/browse/WOOKIE</url>
+  </issueManagement>
+
+  <developers>
+       <developer>
+               <id>ate</id>
+               <name>Ate Douma</name>
+               <email>[email protected]</email>
+               <timezone>+1</timezone>
+               <organization>Hippo</organization>
+               <organizationUrl>http://www.onehippo.com</organizationUrl>
+               <roles>
+                       <role>mentor</role>
+                       <role>IPMC member</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+       <developer>
+               <id>psharples</id>
+               <name>Paul Sharples</name>
+               <email>[email protected]</email>
+               <timezone>0</timezone>
+               <organization>The University of Bolton</organization>
+               <organizationUrl>http://www.bolton.ac.uk</organizationUrl>
+               <roles>
+                       <role>committer</role>
+                       <role>release manager</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+       <developer>
+               <id>scottbw</id>
+               <name>Scott Wilson</name>
+               <email>[email protected]</email>
+               <timezone>0</timezone>
+               <organization>The University of Bolton</organization>
+               <organizationUrl>http://www.bolton.ac.uk</organizationUrl>
+               <roles>
+                       <role>committer</role>
+                       <role>PPMC member</role>
+               </roles>
+       </developer>
+  </developers>    
+</project>
\ No newline at end of file

Propchange: incubator/wookie/trunk/parser/java/pom-template.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain


Reply via email to