You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by an...@apache.org on 2011/06/21 15:21:37 UTC

svn commit: r1137995 - /incubator/stanbol/trunk/rules/web/pom.xml

Author: anuzzolese
Date: Tue Jun 21 13:21:37 2011
New Revision: 1137995

URL: http://svn.apache.org/viewvc?rev=1137995&view=rev
Log:
Modified rules web pom.

Modified:
    incubator/stanbol/trunk/rules/web/pom.xml

Modified: incubator/stanbol/trunk/rules/web/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/rules/web/pom.xml?rev=1137995&r1=1137994&r2=1137995&view=diff
==============================================================================
--- incubator/stanbol/trunk/rules/web/pom.xml (original)
+++ incubator/stanbol/trunk/rules/web/pom.xml Tue Jun 21 13:21:37 2011
@@ -7,7 +7,7 @@
     <groupId>org.apache.stanbol</groupId>
     <artifactId>stanbol-parent</artifactId>
     <version>0.9-SNAPSHOT</version>
-    <relativePath>../../parent</relativePath>
+    <relativePath>../../../parent</relativePath>
   </parent>
 
   <groupId>org.apache.stanbol</groupId>
@@ -53,6 +53,62 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-dependency-plugin</artifactId>
+       <executions>
+         <execution>
+           <id>copy-runnable-jar</id>
+           <goals>
+             <goal>copy-dependencies</goal>
+           </goals>
+           <phase>process-resources</phase>
+           <configuration>
+             <includeArtifactIds>org.apache.stanbol.launchers.full</includeArtifactIds>
+             <excludeTransitive>true</excludeTransitive>
+             <overWriteReleases>false</overWriteReleases>
+             <overWriteSnapshots>false</overWriteSnapshots>
+           </configuration>
+         </execution>
+       </executions>
+     </plugin>
+     <plugin>
+       <!-- Find free ports to run our server -->
+       <groupId>org.codehaus.mojo</groupId>
+       <artifactId>build-helper-maven-plugin</artifactId>
+       <executions>
+         <execution>
+           <id>reserve-server-port</id>
+           <goals>
+             <goal>reserve-network-port</goal>
+           </goals>
+           <phase>process-resources</phase>
+           <configuration>
+             <portNames>
+               <portName>http.port</portName>
+             </portNames>
+           </configuration>
+         </execution>
+       </executions>
+     </plugin>
+     <plugin>
+       <groupId>org.apache.maven.plugins</groupId>
+       <artifactId>maven-surefire-plugin</artifactId>
+       <configuration>
+         <systemPropertyVariables>
+           <test.server.url>${test.server.url}</test.server.url>
+           <jar.executor.server.port>${http.port}</jar.executor.server.port>
+           <jar.executor.vm.options>${jar.executor.vm.options}</jar.executor.vm.options>
+           <jar.executor.jar.folder>${project.basedir}/target/dependency</jar.executor.jar.folder>
+           <jar.executor.jar.name.regexp>org.apache.stanbol.*full.*jar$</jar.executor.jar.name.regexp>
+           <keepJarRunning>${keepJarRunning}</keepJarRunning>
+           <server.ready.timeout.seconds>180</server.ready.timeout.seconds>
+           <server.ready.path.1>/:stanbol.css</server.ready.path.1>
+           <server.ready.path.2>/engines:There are currently</server.ready.path.2>
+           <server.ready.path.3>/contenthub:Recently uploaded Content Items</server.ready.path.3>
+         </systemPropertyVariables>
+       </configuration>
+     </plugin>
     </plugins>
   </build>
 
@@ -83,10 +139,6 @@
       <groupId>com.sun.jersey</groupId>
       <artifactId>jersey-json</artifactId>
     </dependency>
-	<dependency>
-      <groupId>com.sun.jersey.contribs</groupId>
-      <artifactId>jersey-multipart</artifactId>
-    </dependency>
     <dependency>
       <groupId>javax.servlet</groupId>
       <artifactId>servlet-api</artifactId>
@@ -140,12 +192,59 @@
 			<artifactId>org.apache.stanbol.owl</artifactId>
 			<version>${stanbol-version}</version>			
 		</dependency>
+		<dependency>
+			<groupId>com.hp.hpl.jena</groupId>
+			<artifactId>jena</artifactId>
+		</dependency>
 
-	<!-- Clerezza -->
-	<dependency>
-      <groupId>org.apache.clerezza</groupId>
-      <artifactId>org.apache.clerezza.rdf.core</artifactId>
-    </dependency>
+		<!-- Clerezza -->
+		<dependency>
+      		<groupId>org.apache.clerezza</groupId>
+      		<artifactId>org.apache.clerezza.rdf.core</artifactId>
+    	</dependency>
+    	
+    	<!-- Tests -->
+    	<dependency>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.launchers.full</artifactId>
+			<version>0.9-SNAPSHOT</version>
+    		<scope>test</scope>
+   		</dependency>
+    	<dependency>
+			<groupId>junit</groupId>
+			<artifactId>junit</artifactId>
+			<scope>test</scope>
+		</dependency>
+    	<dependency>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.commons.testing.jarexec</artifactId>
+			<version>${stanbol-version}</version>
+			<exclusions>
+        		<exclusion>
+          			<artifactId>slf4j-log4j12</artifactId>
+          			<groupId>org.slf4j</groupId>
+        		</exclusion>
+      		</exclusions>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.commons.testing.stanbol</artifactId>
+			<version>${stanbol-version}</version>
+			<scope>test</scope>
+		</dependency>
+		<dependency>
+      		<groupId>com.sun.jersey</groupId>
+      		<artifactId>jersey-client</artifactId>
+      		<version>${jersey-version}</version>
+      		<scope>test</scope>
+    	</dependency>
+    	<dependency>
+    		<groupId>javax.mail</groupId>
+    		<artifactId>mail</artifactId>
+    		<version>1.4</version>
+    		<scope>test</scope>
+		</dependency>
     
   </dependencies>