jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From casta...@apache.org
Subject svn commit: r1183392 - in /incubator/jena/Jena2/SDB/trunk: assembly.xml pom.xml pom2.xml
Date Fri, 14 Oct 2011 15:42:30 GMT
Author: castagna
Date: Fri Oct 14 15:42:29 2011
New Revision: 1183392

URL: http://svn.apache.org/viewvc?rev=1183392&view=rev
Log:
Added pom2.xml to publish the SDB SNAPSHOTs to the Apache Maven snapshot repository.

Added:
    incubator/jena/Jena2/SDB/trunk/pom2.xml
Modified:
    incubator/jena/Jena2/SDB/trunk/assembly.xml
    incubator/jena/Jena2/SDB/trunk/pom.xml

Modified: incubator/jena/Jena2/SDB/trunk/assembly.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/SDB/trunk/assembly.xml?rev=1183392&r1=1183391&r2=1183392&view=diff
==============================================================================
--- incubator/jena/Jena2/SDB/trunk/assembly.xml (original)
+++ incubator/jena/Jena2/SDB/trunk/assembly.xml Fri Oct 14 15:42:29 2011
@@ -4,7 +4,7 @@
 -->
 
 <assembly>
-  <!--<id>dist</id>-->
+  <id>dist</id>
   <baseDirectory>SDB-${project.version}</baseDirectory>
   <formats>
     <!--

Modified: incubator/jena/Jena2/SDB/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/SDB/trunk/pom.xml?rev=1183392&r1=1183391&r2=1183392&view=diff
==============================================================================
--- incubator/jena/Jena2/SDB/trunk/pom.xml (original)
+++ incubator/jena/Jena2/SDB/trunk/pom.xml Fri Oct 14 15:42:29 2011
@@ -206,6 +206,8 @@ Copyright &#169; 2010 Epimorphics Ltd.</
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
+          <finalName>${assembly.root.name}</finalName>
+          <appendAssemblyId>false</appendAssemblyId>
           <descriptors>
             <descriptor>assembly.xml</descriptor>
             <descriptor>assembly-testing.xml</descriptor>

Added: incubator/jena/Jena2/SDB/trunk/pom2.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/SDB/trunk/pom2.xml?rev=1183392&view=auto
==============================================================================
--- incubator/jena/Jena2/SDB/trunk/pom2.xml (added)
+++ incubator/jena/Jena2/SDB/trunk/pom2.xml Fri Oct 14 15:42:29 2011
@@ -0,0 +1,279 @@
+<?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">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.jena</groupId>
+  <artifactId>jena-sdb</artifactId>
+  <packaging>jar</packaging>
+  <name>SDB</name>
+  <version>${ver.sdb}</version>
+
+  <parent>
+    <groupId>org.apache.jena</groupId>
+    <artifactId>jena-top</artifactId>
+    <version>0-SNAPSHOT</version>
+    <relativePath>../JenaTop/pom.xml</relativePath>
+  </parent> 
+
+  <description>SDB is a persistence layer that uses an SQL databases.</description>
+
+  <scm>
+    <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/jena/Jena2/SDB/</connection>
+    <url>http://svn.apache.org/viewvc/incubator/jena/Jena2/SDB/</url>
+  </scm>
+
+  <properties>
+    <this.root>${project.artifactId}-${project.version}</this.root>
+    <ver.jena>2.6.5-incubating-SNAPSHOT</ver.jena>
+    <ver.arq>2.8.9-incubating-SNAPSHOT</ver.arq>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-core</artifactId>
+      <version>${ver.jena}</version>
+    </dependency>
+
+    <!-- Need the tests as well -->
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-core</artifactId>
+      <classifier>tests</classifier>
+      <version>${ver.jena}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-arq</artifactId>
+      <version>${ver.arq}</version>
+    </dependency>
+
+    <!-- Need the tests as well -->
+    <dependency>
+      <groupId>org.apache.jena</groupId>
+      <artifactId>jena-arq</artifactId>
+      <version>${ver.arq}</version>
+      <classifier>tests</classifier>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${ver.junit}</version>
+      <!-- <scope>test</scope> see: JENA-141 -->
+    </dependency>
+
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <version>${ver.slf4j}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <version>1.8.0.10</version>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- Choose your logging provider -->
+    <!--
+      <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>1.5.8</version>
+      </dependency>
+
+      <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.12</version>
+      </dependency>
+    -->
+  </dependencies>
+
+  <build>
+    <sourceDirectory>src</sourceDirectory>
+    <testSourceDirectory>src-test</testSourceDirectory>
+    
+    <!-- The filter file is written by antrun -->
+    <filters>
+      <filter>${project.basedir}/target/filter.properties</filter>
+    </filters>
+
+    <resources>
+      <resource>
+        <targetPath>com/hp/hpl/jena/sdb/</targetPath>
+        <filtering>true</filtering>
+        <directory>resources</directory>
+      </resource>
+    </resources>
+
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <version>2.3.2</version>
+        <configuration>
+	  <encoding>UTF-8</encoding>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.9</version>
+        <configuration>
+          <includes>
+            <!-- Requires HSQL to be set in 
+                 store-list.ttl and store-list-simple.ttl
+            -->
+            <include>com/hp/hpl/jena/sdb/test/SDBTestAll.java</include>
+          </includes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <version>2.1.2</version>
+        <executions> 
+          <execution>
+            <id>attach-sources</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+	  <execution>
+            <id>attach-sources-test</id>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+	  </execution>
+	</executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.8</version>
+        <executions>
+          <execution>
+            <id>attach-javadocs</id>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <version>true</version>
+          <show>public</show>
+          <quiet>true</quiet>
+          <encoding>UTF-8</encoding>
+          <windowtitle>${project.name}</windowtitle>
+          <doctitle>${project.name}</doctitle>
+          <bottom>Copyright &#169; 2006, 2007, 2008, 2009 Hewlett-Packard Development
Company, LP
+Copyright &#169; 2010 Epimorphics Ltd.</bottom>
+        </configuration>
+      </plugin>
+
+      <!-- see: http://maven.apache.org/guides/mini/guide-attached-tests.html -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <finalName>${assembly.root.name}</finalName>
+          <appendAssemblyId>false</appendAssemblyId>
+          <descriptors>
+            <descriptor>assembly.xml</descriptor>
+            <descriptor>assembly-testing.xml</descriptor>
+          </descriptors>
+        </configuration>
+        <executions>
+          <execution>
+            <id>create-assembly</id>
+            <!-- Better after package because of javadoc, source and test-jar-->
+            <phase>verify</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>2.5</version>
+        <configuration>
+          <encoding>UTF-8</encoding>
+        </configuration>
+      </plugin>
+      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>ant-timestamp</id>
+            <phase>generate-resources</phase>
+            <configuration>
+              <tasks>
+                <mkdir dir="${project.basedir}/target"/>
+                <tstamp>
+                  <format property="build.time.xsd"  pattern="yyyy-MM-dd'T'HH:mm:ssZ"/>
+                  <format property="build.time.txt"  pattern="yyyy-MM-dd HH:mm Z"/>
+                </tstamp>
+                <echo file="${project.basedir}/target/filter.properties">
+#begin
+build.time.xsd=${build.time.xsd}
+build.time.txt=${build.time.txt}
+#end
+                </echo>
+		<echo message="version=${project.version}"/>
+                <echo message="build.time=${build.time.txt}"/>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+          <!-- Another task, another execution -->
+        </executions>
+      </plugin>
+
+      <plugin>
+	<groupId>org.apache.maven.plugins</groupId>
+	<artifactId>maven-dependency-plugin</artifactId>
+	<configuration>
+	  <overWriteReleases>false</overWriteReleases>
+          <overWriteSnapshots>false</overWriteSnapshots>
+	  <overWriteIfNewer>true</overWriteIfNewer>
+	</configuration>
+      </plugin>
+
+    </plugins>
+
+  </build>
+
+</project>



Mime
View raw message