[Lada-commits] [PATCH 3 of 6] Fixed project dependencies and openid authentication/authorization for tests

Wald Commits scm-commit at wald.intevation.org
Thu Apr 30 16:30:19 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1430403968 -7200
# Node ID c08773b0872ef478b8caf6e8dd42fa3af01cbd73
# Parent  bd4099d42d83c87c653f234e84d560ea1bd6f3f9
Fixed project dependencies and openid authentication/authorization for tests.

diff -r bd4099d42d83 -r c08773b0872e pom.xml
--- a/pom.xml	Thu Apr 30 16:25:01 2015 +0200
+++ b/pom.xml	Thu Apr 30 16:26:08 2015 +0200
@@ -7,7 +7,6 @@
 
     <groupId>de.intevation</groupId>
     <artifactId>lada-server</artifactId>
-    <version>1.0.1</version>
     <packaging>war</packaging>
     <parent>
         <groupId>org.jboss</groupId>
@@ -140,16 +139,9 @@
         <dependency>
             <groupId>org.jboss.resteasy</groupId>
             <artifactId>resteasy-client</artifactId>
-            <version>3.0.10.Final</version>
+            <version>3.0.11.Final</version>
             <scope>test</scope>
         </dependency>
-
-        <!-- OpenID -->
-        <dependency>
-            <groupId>org.openid4java</groupId>
-            <artifactId>openid4java</artifactId>
-            <version>0.9.7</version>
-        </dependency>
     </dependencies>
 
     <profiles>
@@ -166,12 +158,101 @@
                              <skip>true</skip>
                          </configuration>
                     </plugin>
+                    <plugin>
+						<artifactId>maven-compiler-plugin</artifactId>
+						<version>3.1</version>
+						<executions>
+							<execution>
+								<id>default-testCompile</id>
+								<phase>test-compile</phase>
+								<goals>
+									<goal>testCompile</goal>
+								</goals>
+								<configuration>
+									<excludes>
+										<exclude>**/auth/TestAuthorization.java</exclude>
+									</excludes>
+								</configuration>
+							</execution>
+							<execution>
+								<id>default-compile</id>
+								<phase>compile</phase>
+								<goals>
+									<goal>compile</goal>
+								</goals>
+								<configuration>
+									<excludes>
+										<exclude>**/auth/TestAuthorization.java</exclude>
+									</excludes>
+								</configuration>
+							</execution>
+						</executions>
+						<configuration>
+							<showDeprecation>true</showDeprecation>
+							<showWarnings>true</showWarnings>
+							<compilerArguments>
+								<source>1.7</source>
+								<target>1.7</target>
+							</compilerArguments>
+						</configuration>
+					</plugin>
                 </plugins>
             </build>
+            <dependencies>
+            	<dependency>
+            		<groupId>org.openid4java</groupId>
+            		<artifactId>openid4java</artifactId>
+            		<version>1.0.0</version>
+        		</dependency>
+        	</dependencies>
         </profile>
 
         <profile>
             <id>remote-test</id>
+            <build>
+				<plugins>
+					<plugin>
+						<artifactId>maven-compiler-plugin</artifactId>
+						<version>3.1</version>
+						<executions>
+							<execution>
+								<id>default-testCompile</id>
+								<phase>test-compile</phase>
+								<goals>
+									<goal>testCompile</goal>
+								</goals>
+								<configuration>
+									<excludes>
+										<exclude>**/auth/OpenIdAuthorization.java</exclude>
+										<exclude>**/auth/OpenIDFilter.java</exclude>
+									</excludes>
+								</configuration>
+							</execution>
+							<execution>
+								<id>default-compile</id>
+								<phase>compile</phase>
+								<goals>
+									<goal>compile</goal>
+								</goals>
+								<configuration>
+									<excludes>
+										<exclude>**/auth/OpenIdAuthorization.java</exclude>
+										<exclude>**/auth/OpenIDFilter.java</exclude>
+									</excludes>
+								</configuration>
+							</execution>
+						</executions>
+						<configuration>
+							<showDeprecation>true</showDeprecation>
+							<showWarnings>true</showWarnings>
+							<compilerArguments>
+								<source>1.7</source>
+								<target>1.7</target>
+							</compilerArguments>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
             <dependencies>
                 <dependency>
                     <groupId>org.wildfly</groupId>
@@ -232,4 +313,5 @@
             <url>http://www.hibernatespatial.org/repository</url>
         </repository>
     </repositories>
+    <version>2.0-beta1</version>
 </project>


More information about the Lada-commits mailing list