shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r801755 - in /incubator/shiro/trunk: pom.xml web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java
Date Thu, 06 Aug 2009 18:14:28 GMT
Author: lhazlewood
Date: Thu Aug  6 18:14:28 2009
New Revision: 801755

URL: http://svn.apache.org/viewvc?rev=801755&view=rev
Log:
Added sources and javadoc plugins to the deploy phase, fixed test case sleep timeout

Modified:
    incubator/shiro/trunk/pom.xml
    incubator/shiro/trunk/web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java

Modified: incubator/shiro/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/pom.xml?rev=801755&r1=801754&r2=801755&view=diff
==============================================================================
--- incubator/shiro/trunk/pom.xml (original)
+++ incubator/shiro/trunk/pom.xml Thu Aug  6 18:14:28 2009
@@ -80,9 +80,44 @@
                 <configuration>
                     <source>${jdk.version}</source>
                     <target>${jdk.version}</target>
+                    <encoding>${project.build.sourceEncoding}</encoding>
                 </configuration>
             </plugin>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>2.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <!-- only run this during deploy, otherwise normal 'install'
+                             during development is annoyingly slow -->
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <inherited>true</inherited>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.6</version>
+                <executions>
+                    <execution>
+                        <id>attach-api-docs</id>
+                        <!-- only run this during deploy, otherwise normal 'install'
+                             during development is annoyingly slow -->
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <inherited>true</inherited>
+            </plugin>
+            <plugin>
                 <groupId>com.agilejava.docbkx</groupId>
                 <artifactId>docbkx-maven-plugin</artifactId>
                 <!-- <version>2.0.7</version> -->

Modified: incubator/shiro/trunk/web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java?rev=801755&r1=801754&r2=801755&view=diff
==============================================================================
--- incubator/shiro/trunk/web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java
(original)
+++ incubator/shiro/trunk/web/src/test/java/org/apache/shiro/web/DefaultWebSecurityManagerTest.java
Thu Aug  6 18:14:28 2009
@@ -92,7 +92,7 @@
         assertEquals(session.getTimeout(), globalTimeout);
         session.setTimeout(125);
         assertEquals(session.getTimeout(), 125);
-        sleep(150);
+        sleep(200);
         try {
             session.getTimeout();
             fail("Session should have expired.");



Mime
View raw message