You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/10/07 19:32:31 UTC

svn commit: r1180115 - in /incubator/jena/Jena2/jena/trunk: assembly.xml pom2.xml

Author: andy
Date: Fri Oct  7 17:32:30 2011
New Revision: 1180115

URL: http://svn.apache.org/viewvc?rev=1180115&view=rev
Log:
Apache build (WIP)

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

Modified: incubator/jena/Jena2/jena/trunk/assembly.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/assembly.xml?rev=1180115&r1=1180114&r2=1180115&view=diff
==============================================================================
--- incubator/jena/Jena2/jena/trunk/assembly.xml (original)
+++ incubator/jena/Jena2/jena/trunk/assembly.xml Fri Oct  7 17:32:30 2011
@@ -3,7 +3,7 @@
 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1"
 	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	  xsi:schemaLocation="xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.1 http://maven.apache.org/xsd/assembly-1.1.1.xsd">
-  <!--<id>dist</id>-->
+  <id>dist</id>
   <baseDirectory>Jena-${project.version}</baseDirectory>
   <formats>
     <!-- Remove while testing (slow upload!) -->

Added: incubator/jena/Jena2/jena/trunk/pom2.xml
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/jena/trunk/pom2.xml?rev=1180115&view=auto
==============================================================================
--- incubator/jena/Jena2/jena/trunk/pom2.xml (added)
+++ incubator/jena/Jena2/jena/trunk/pom2.xml Fri Oct  7 17:32:30 2011
@@ -0,0 +1,208 @@
+<?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-core</artifactId>
+  <packaging>jar</packaging>
+  <name>Jena Core</name>
+  <!--<version>${ver.jena}</version>-->
+  <version>2.6.5-incubating-SNAPSHOT</version>
+
+  <parent>
+    <groupId>org.apache.jena</groupId>
+    <artifactId>jena-top</artifactId>
+    <version>0-incubating-SNAPSHOT</version>
+    <relativePath>../JenaTop/pom.xml</relativePath>
+  </parent> 
+
+  <description>Jena is a Java framework for building Semantic Web applications. It provides a programmatic environment for RDF, RDFS and OWL, SPARQL and includes a rule-based inference engine.</description>
+
+  <scm>
+    <connection>scm:svn:https://svn.apache.org/repos/asf/incubator/jena/Jena2/jena/</connection>
+    <url>https://svn.apache.org/repos/asf/incubator/jena/Jena2/jena/</url>
+  </scm>
+  
+  <properties>
+    <this.root>${project.artifactId}-${project.version}</this.root>
+    <assembly.root.name>apache-${project.artifactId}-${project.version}</assembly.root.name>
+  </properties>
+
+  <!-- See JenaTop -->
+  <dependencies>
+  </dependencies>
+
+  <build>
+    <plugins>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <includes>
+            <include>com/hp/hpl/jena/test/TestPackage.java</include>
+          </includes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions> 
+          <execution>
+            <id>attach-sources</id>
+            <phase>package</phase>
+            <goals>
+	      <goal>jar-no-fork</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>attach-sources-test</id>
+            <phase>package</phase>
+            <goals>
+              <goal>test-jar-no-fork</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.8</version>
+        <configuration>
+          <author>true</author>
+          <version>true</version>
+          <show>public</show>
+          <quiet>true</quiet>
+          <encoding>UTF-8</encoding>
+          <windowtitle>${project.name} Framework</windowtitle>
+          <doctitle>${project.name} Framework</doctitle>
+          <bottom> Licenced under the Apache License, Version 2.0</bottom>
+          <excludePackageNames>com.hp.hpl.jena.shared.*:*.impl:com.hp.hpl.jena.assembler.assemblers:*.exceptions:*.regexptrees:com.hp.hpl.jena.mem:com.hp.hpl.jena.mem.*:com.hp.hpl.jena.n3:com.hp.hpl.jena.n3.*:com.hp.hpl.jena.rdf.arp.*:com.hp.hpl.jena.util.*:jena.cmdline:jena.util</excludePackageNames>
+          <groups>
+            <group>
+              <title>API - Application Programming Interface</title>
+              <packages>com.hp.hpl.jena.db:com.hp.hpl.jena.rdf.model:com.hp.hpl.jena.rdf.listeners:com.hp.hpl.jena.rdf.arp:com.hp.hpl.jena.rdf.arp.lang:com.hp.hpl.jena.datatypes:com.hp.hpl.jena.datatypes.xsd:com.hp.hpl.jena.rdql:com.hp.hpl.jena.shared:com.hp.hpl.jena.vocabulary:com.hp.hpl.jena.xmloutput:com.hp.hpl.jena.ontology:com.hp.hpl.jena.ontology.daml:com.hp.hpl.jena.reasoner:com.hp.hpl.jena.reasoner.rulesys:com.hp.hpl.jena.reasoner.rulesys.builtins:com.hp.hpl.jena.reasoner.transitiveReasoner:com.hp.hpl.jena.reasoner.dig</packages>
+            </group>
+            <group>
+              <title>SPI - System Programming Interface</title>
+              <packages>com.hp.hpl.jena.enhanced:com.hp.hpl.jena.graph:com.hp.hpl.jena.graph.compose:com.hp.hpl.jena.graph.query:com.hp.hpl.jena.util:com.hp.hpl.jena.util.iterator</packages>
+            </group>
+            <group>
+              <title>Command line tools</title>
+              <packages>jena</packages>
+            </group>
+            <group>
+              <title>Other Packages</title>
+              <packages>com.hp.hpl.jena.assembler</packages>
+            </group>
+          </groups>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>process-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 message="version=${project.version}"/>
+                <echo message="build.time=${build-time.txt}"/>
+                <copy file="src/main/resources/jena-properties.xml" toFile="${project.basedir}/target/classes/com/hp/hpl/jena/jena-properties.xml" overwrite="true">
+                  <filterset>
+                    <filter token="NAME" value="${project.name}"/>
+                    <filter token="WEBSITE" value="${project.url}"/>
+                    <filter token="VERSION" value="${project.version}"/>
+                    <filter token="BUILD_TIME_XSD" value="${build-time.xsd}"/>
+                  </filterset>
+                </copy>
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+      </plugin>
+
+      <!-- see: http://maven.apache.org/guides/mini/guide-attached-tests.html -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+
+        <executions>
+          <execution>
+            <id>create-assembly</id>
+            <!-- Must be last in phase "package" (else use "verify") -->
+            <phase>package</phase>
+            <goals><goal>single</goal></goals>
+	    <configuration>
+	      <finalName>${assembly.root.name}</finalName>
+	      <appendAssemblyId>false</appendAssemblyId>
+	      <descriptors>
+		<descriptor>assembly.xml</descriptor>
+	  </descriptors>
+	    </configuration>
+	  </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <resources>
+      <resource>
+        <directory>etc</directory>
+        <targetPath>etc</targetPath>
+        <filtering>false</filtering>
+      </resource>
+      <resource>
+        <directory>vocabularies</directory>
+        <targetPath>vocabularies</targetPath>
+        <filtering>false</filtering>
+      </resource>
+      <resource>
+        <directory>src/main/java</directory>
+        <includes>
+          <include>jena-log4j.properties</include>
+        </includes>
+        <filtering>false</filtering>
+      </resource>
+    </resources>
+    
+  </build>
+
+  <reporting>
+    <!-- <outputDirectory>${project.build.directory}/site</outputDirectory> -->
+  </reporting>
+
+
+</project>