shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Rollo <danro...@gmail.com>
Subject Build failure: samples-spring-client
Date Wed, 05 Dec 2012 20:16:24 GMT
Hello,

I pulled down the trunk of: http://svn.apache.org/repos/asf/shiro/trunk.
(Is this the '1.3.0' tree? Is there a different place for '2.0' code I 
should also test?)

I ran: mvn clean package, and got the build error below (related to 
webstart-maven-plugin missing Pack200 class).

I updated the webstart-maven-plugin plugin to the latest release 
(1.0-beta-3 [note: plugin groupId changed with this release), and the 
build succeeded.

(BTW, after this change, I get a PermGen Space failure, which I fixed 
via: export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m". Is that 
"doc-worthy"?)

Here's the diff (in case attachment doesn't survive the list):

Index: samples/spring-client/pom.xml
===================================================================
--- samples/spring-client/pom.xml	(revision 1417588)
+++ samples/spring-client/pom.xml	(working copy)
@@ -88,9 +88,9 @@
      <build>
          <plugins>
              <plugin>
-                <groupId>org.codehaus.mojo.webstart</groupId>
+                <groupId>org.codehaus.mojo</groupId>
                  <artifactId>webstart-maven-plugin</artifactId>
-                <version>1.0-alpha-2</version>
+                <version>1.0-beta-3</version>
                  <executions>
                      <execution>
                          <phase>package</phase>


In case it's needed, I'm running Ubuntu 10.04 64bit, Maven 3.0.4, Java 
1.7.0.

Thanks,
Dan Rollo


Build Error:

...
[INFO] Apache Shiro :: Samples :: Web .................... SUCCESS [7.009s]
[INFO] Apache Shiro :: Samples :: Spring Client .......... FAILURE [3.142s]
[INFO] Apache Shiro :: Samples :: Spring ................. SKIPPED
[INFO] Apache Shiro :: Samples :: Spring-Hibernate ....... SKIPPED
[INFO] Apache Shiro :: Samples :: Guice Web .............. SKIPPED
[INFO] Apache Shiro :: Samples :: Quick Start Guice ...... SKIPPED
[INFO] Apache Shiro :: Tools ............................. SKIPPED
[INFO] Apache Shiro :: Tools :: Hasher ................... SKIPPED
[INFO] Apache Shiro :: Jar Bundle ........................ SKIPPED
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1:29.450s
[INFO] Finished at: Wed Dec 05 14:26:35 EST 2012
[INFO] Final Memory: 59M/1108M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.codehaus.mojo.webstart:webstart-maven-plugin:1.0-alpha-2:jnlp-inline 
(default) on project samples-spring-client: Execution default of goal 
org.codehaus.mojo.webstart:webstart-maven-plugin:1.0-alpha-2:jnlp-inline 
failed: A required class was missing while executing 
org.codehaus.mojo.webstart:webstart-maven-plugin:1.0-alpha-2:jnlp-inline: org/codehaus/mojo/webstart/Pack200
[ERROR] -----------------------------------------------------
[ERROR] realm = 
plugin>org.codehaus.mojo.webstart:webstart-maven-plugin:1.0-alpha-2
[ERROR] strategy = 
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = 
file:/home/dan/.m2/repository/org/codehaus/mojo/webstart/webstart-maven-plugin/1.0-alpha-2/webstart-maven-plugin-1.0-alpha-2.jar
[ERROR] urls[1] = 
file:/home/dan/.m2/repository/org/codehaus/mojo/webstart/webstart-jarsigner-api/1.0-alpha-2/webstart-jarsigner-api-1.0-alpha-2.jar
[ERROR] urls[2] = 
file:/home/dan/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar
[ERROR] urls[3] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
[ERROR] urls[4] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.9/plexus-utils-1.4.9.jar
[ERROR] urls[5] = 
file:/home/dan/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
[ERROR] urls[6] = 
file:/home/dan/.m2/repository/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.jar
[ERROR] urls[7] = 
file:/home/dan/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar
[ERROR] urls[8] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
[ERROR] urls[9] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
[ERROR] urls[10] = 
file:/home/dan/.m2/repository/org/codehaus/mojo/keytool-maven-plugin/1.0/keytool-maven-plugin-1.0.jar
[ERROR] urls[11] = 
file:/home/dan/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[12] = 
file:/home/dan/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
[ERROR] urls[13] = file:/home/dan/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[14] = 
file:/home/dan/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.6/maven-reporting-api-2.0.6.jar
[ERROR] urls[15] = 
file:/home/dan/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0-alpha-7/doxia-sink-api-1.0-alpha-7.jar
[ERROR] urls[16] = 
file:/home/dan/.m2/repository/org/apache/maven/reporting/maven-reporting-impl/2.0.4/maven-reporting-impl-2.0.4.jar
[ERROR] urls[17] = 
file:/home/dan/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[18] = 
file:/home/dan/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[19] = 
file:/home/dan/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[20] = 
file:/home/dan/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[21] = 
file:/home/dan/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[22] = 
file:/home/dan/.m2/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-7/doxia-core-1.0-alpha-7.jar
[ERROR] urls[23] = 
file:/home/dan/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.jar
[ERROR] urls[24] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-6/plexus-i18n-1.0-beta-6.jar
[ERROR] urls[25] = 
file:/home/dan/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.2/plexus-velocity-1.1.2.jar
[ERROR] urls[26] = 
file:/home/dan/.m2/repository/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar
[ERROR] urls[27] = 
file:/home/dan/.m2/repository/velocity/velocity/1.4/velocity-1.4.jar
[ERROR] urls[28] = 
file:/home/dan/.m2/repository/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
[ERROR] urls[29] = 
file:/home/dan/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0-alpha-7/doxia-decoration-model-1.0-alpha-7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: 
null]]
[ERROR]
[ERROR] -----------------------------------------------------: 
org.codehaus.mojo.webstart.Pack200
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the 
command
[ERROR]   mvn <goals> -rf :samples-spring-client
dan@ubuntudan:~/javadev/shiro$ ^C

Mime
View raw message