You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2012/04/19 12:03:42 UTC

svn commit: r1327893 - in /axis/axis2/java/rampart/trunk: modules/rampart-samples/pom.xml pom.xml

Author: sagara
Date: Thu Apr 19 10:03:42 2012
New Revision: 1327893

URL: http://svn.apache.org/viewvc?rev=1327893&view=rev
Log:
Mavenized Rampart samples so that sample codes will compile during the build, this helps to detect compilation failures on sample.  

Added:
    axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml   (with props)
Modified:
    axis/axis2/java/rampart/trunk/pom.xml

Added: axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml?rev=1327893&view=auto
==============================================================================
--- axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml (added)
+++ axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml Thu Apr 19 10:03:42 2012
@@ -0,0 +1,111 @@
+<?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.
+  -->
+
+
+<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.rampart</groupId>
+        <artifactId>rampart-project</artifactId>
+        <version>1.7.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>rampart-sample</artifactId>
+    <packaging>jar</packaging>
+    <name>Rampart - Samples</name>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.5</source>
+					<target>1.5</target>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.codehaus.mojo</groupId>
+				<artifactId>build-helper-maven-plugin</artifactId>
+				<executions>
+					<execution>
+						<phase>generate-sources</phase>
+						<goals>
+							<goal>add-source</goal>
+						</goals>
+						<configuration>
+							<sources>
+								<source>basic/sample01/src</source>
+								<source>basic/sample02/src</source>
+								<source>basic/sample03/src</source>
+								<source>basic/sample04/src</source>
+								<source>basic/sample05/src</source>
+								<source>basic/sample06/src</source>
+								<source>basic/sample07/src</source>
+								<source>basic/sample08/src</source>
+								<source>basic/sample09/src</source>
+								<source>basic/sample10/src</source>
+								<source>basic/sample11/src</source>
+								<source>policy/sample01/src</source>
+								<source>policy/sample02/src</source>
+								<source>policy/sample03/src</source>
+								<source>policy/sample04/src</source>
+								<source>policy/sample05/src</source>
+								<source>policy/sample06/src</source>
+								<source>policy/sample07/src</source>
+								<source>policy/sample08/src</source>
+								<source>policy/sample-tomcat/src</source>
+							</sources>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+		</plugins>
+	</build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart-policy</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart-trust</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
+    </dependencies>
+</project>

Propchange: axis/axis2/java/rampart/trunk/modules/rampart-samples/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: axis/axis2/java/rampart/trunk/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis2/java/rampart/trunk/pom.xml?rev=1327893&r1=1327892&r2=1327893&view=diff
==============================================================================
--- axis/axis2/java/rampart/trunk/pom.xml (original)
+++ axis/axis2/java/rampart/trunk/pom.xml Thu Apr 19 10:03:42 2012
@@ -385,6 +385,8 @@
         <module>modules/rampart-mar</module>
         <module>modules/rampart-trust-mar</module>
         <module>modules/rampart-integration</module>
+        <!-- Compile sample codes -->
+        <module>modules/rampart-samples</module>
     </modules>
 
     <properties>