Josh, I tried to run the app, but I couldn't resolve an issue with maven. May be you have seen something similar before. I had deleted the corresponding wicket/1.4.12 direcotry from maven repo to forse it to re download, but no luck. I am using maven 3. Do I need to install all these required projects manaully ?
Apache Maven 3.0.1 (r1038046; 2010-11-23 05:58:32-0500) Java version: 1.6.0_24 Java home: /opt/sun-jdk-1.6.0.24/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux" version: "2.6.36-gentoo-r5" arch: "amd64" Family: "unix" [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.josh:demoapp:war:1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.mortbay.jetty:maven-jetty-plugin is missing. @ line 174, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 163, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 178, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building demoapp 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-jetty-plugin:6.1.22:run (default-cli) @ demoapp >>> [WARNING] The POM for org.apache.wicket:wicket:jar:1.4.12 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.wicket:wicket-extensions:jar:1.4.12 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.wicket:wicket-guice:jar:1.4.12 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for com.google.inject:guice-servlet:jar:2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for com.wideplay.warp:warp-persist:jar:2.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.hibernate:hibernate-entitymanager:jar:3.5.1-Final is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.hibernate:hibernate-validator:jar:4.0.2.GA is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ demoapp --- [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 2 resources [INFO] Copying 12 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ demoapp --- [WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! [INFO] Compiling 25 source files to /home/mansour/downloads/demoapp/demoapp/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket/1.4.12/wicket-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket-extensions/1.4.12/wicket-extensions-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket-guice/1.4.12/wicket-guice-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/com/google/inject/guice-servlet/2.0/guice-servlet-2.0.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/com/wideplay/warp/warp-persist/2.0/warp-persist-2.0.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/hibernate/hibernate-entitymanager/3.5.1-Final/hibernate-entitymanager-3.5.1-Final.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar; error in opening zip file [INFO] 7 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.509s [INFO] Finished at: Mon Mar 28 12:09:37 EDT 2011 [INFO] Final Memory: 4M/113M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project demoapp: Compilation failure: Compilation failure: [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket/1.4.12/wicket-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket-extensions/1.4.12/wicket-extensions-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/apache/wicket/wicket-guice/1.4.12/wicket-guice-1.4.12.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/com/google/inject/guice-servlet/2.0/guice-servlet-2.0.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/com/wideplay/warp/warp-persist/2.0/warp-persist-2.0.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/hibernate/hibernate-entitymanager/3.5.1-Final/hibernate-entitymanager-3.5.1-Final.jar; error in opening zip file [ERROR] error: error reading /home/mansour/.m2/repository/org/hibernate/hibernate-validator/4.0.2.GA/hibernate-validator-4.0.2.GA.jar; error in opening zip file [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/MojoFailureException On Mon Mar 28,2011 11:00 am, Josh Kamau wrote: > I have attached a simple application to show you how to highlight the > selected link. I hope it helps. Check the sources and the css. > > Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org