I'm testing the 1.5-rc1, on Mac Snow Leopard with java 1.6.0_22-b04-307-10M3261 and Maven 3.0.2.

But I'm getting a compiler error.

I used this to create the test project:

mvn archetype:generate -DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.5-SNAPSHOT -DgroupId=com.teste -DartifactId=Teste15 -DarchetypeRepository=https://repository.apache.org/content/repositories/snapshots/ -DinteractiveMode=false

and after it creates the project and I try mvn package I the error below.

Am I doing something wrong ?

thanks

Cristiano



[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[3,49] package org.apache.wicket.request.mapper.parameter does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[4,42] package org.apache.wicket.markup.html.basic does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[5,36] package org.apache.wicket.markup.html does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[7,30] cannot find symbol
symbol: class WebPage
public class HomePage extends WebPage {
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[10,26] cannot find symbol
symbol  : class PageParameters
location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[3,38] package org.apache.wicket.protocol.http does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[10,39] cannot find symbol
symbol: class WebApplication
public class WicketApplication extends WebApplication
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[11,10] cannot find symbol
symbol  : class Label
location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[11,27] cannot find symbol
symbol  : method getApplication()
location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[16,14] type parameter com.teste.HomePage is not within its bound [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[15,1] method does not override or implement a method from a supertype [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[27,2] cannot find symbol
symbol  : variable super
location: class com.teste.WicketApplication
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[24,1] method does not override or implement a method from a supertype
[INFO] 13 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.580s
[INFO] Finished at: Thu Feb 03 01:28:09 BRT 2011
[INFO] Final Memory: 12M/265M
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project Teste15: Compilation failure: Compilation failure: [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[3,49] package org.apache.wicket.request.mapper.parameter does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[4,42] package org.apache.wicket.markup.html.basic does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[5,36] package org.apache.wicket.markup.html does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[7,30] cannot find symbol
[ERROR] symbol: class WebPage
[ERROR] public class HomePage extends WebPage {
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[10,26] cannot find symbol
[ERROR] symbol  : class PageParameters
[ERROR] location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[3,38] package org.apache.wicket.protocol.http does not exist [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[10,39] cannot find symbol
[ERROR] symbol: class WebApplication
[ERROR] public class WicketApplication extends WebApplication
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[11,10] cannot find symbol
[ERROR] symbol  : class Label
[ERROR] location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/HomePage.java:[11,27] cannot find symbol
[ERROR] symbol  : method getApplication()
[ERROR] location: class com.teste.HomePage
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[16,14] type parameter com.teste.HomePage is not within its bound [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[15,1] method does not override or implement a method from a supertype [ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[27,2] cannot find symbol
[ERROR] symbol  : variable super
[ERROR] location: class com.teste.WicketApplication
[ERROR] /Users/cvgaviao/Development/Development_Wicket/Teste15/src/main/java/com/teste/WicketApplication.java:[24,1] method does not override or implement a method from a supertype
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project Teste15: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
    at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
[ERROR]
[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




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to