Re: How run Wicket Application

2011-02-16 Thread Martin Makundi
Might be easier just to put it into eclipse and run Start.java, maybe.

**
Martin

2011/2/16 Mr Jehan jeeha...@gmail.com:
 Dear all

 I downloaded HelloWorld wicket application,
 I run following commind

  C:\Users\admin\wicket-hello-world  *mvn install *

 following is log of mvn

 My tomcat installed at d:/tomcat/

 which directory I copy from* C:\Users\admin\wicket-hello-world* to *
 d:/tomcat/webapp* folder.

 log--
 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building wicketHelloWorld
 [INFO]    task-segment: [install]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] Copying 1 resource
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [resources:testResources {execution: default-testResources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] skip non existing resourceDirectory
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\test\resources
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] No sources to compile
 [INFO] [surefire:test {execution: default-test}]
 [INFO] No tests to run.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp[HelloWorld] in
 [C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0]
 [INFO] Dependency[Dependency {groupId=org.apache.wicket, artifactId=wicket,
 version=1.4-rc2, type=jar}] has changed (was Dependency
 {groupId=org.apache.wicket, artifactId=wicket, version=1.4-rc2, type=jar}).
 [INFO] Dependency[Dependency {groupId=org.slf4j, artifactId=slf4j-log4j12,
 version=1.4.2, type=jar}] has changed (was Dependency {groupId=org.slf4j,
 artifactId=slf4j-log4j12, version=1.4.2, type=jar}).
 [INFO] Dependency[Dependency {groupId=log4j, artifactId=log4j,
 version=1.2.14, type=jar}] has changed (was Dependency {groupId=log4j,
 artifactId=log4j, version=1.2.14, type=jar}).
 [INFO] Processing war project
 [INFO] Copying webapp
 resources[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\main\webapp]
 [INFO] Webapp assembled in[208 msecs]
 [INFO] Building war:
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
 [INFO] [install:install {execution: default-install}]
 [INFO] Installing
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
 to
 C:\Users\admin\.m2\repository\com\mkyong\HelloWorld\1.0\HelloWorld-1.0.war
 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 5 seconds
 [INFO] Finished at: Wed Feb 16 13:22:04 PKT 2011
 [INFO] Final Memory: 10M/24M
 [INFO]
 


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



Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
please any other solution
On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Might be easier just to put it into eclipse and run Start.java, maybe.

 **
 Martin

 2011/2/16 Mr Jehan jeeha...@gmail.com:
   Dear all
 
  I downloaded HelloWorld wicket application,
  I run following commind
 
   C:\Users\admin\wicket-hello-world  *mvn install *
 
  following is log of mvn
 
  My tomcat installed at d:/tomcat/
 
  which directory I copy from* C:\Users\admin\wicket-hello-world* to *
  d:/tomcat/webapp* folder.
 
 
 log--
  [INFO] Scanning for projects...
  [INFO]
  
  [INFO] Building wicketHelloWorld
  [INFO]task-segment: [install]
  [INFO]
  
  [INFO] [resources:resources {execution: default-resources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource
  [INFO] [compiler:compile {execution: default-compile}]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources {execution: default-testResources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] skip non existing resourceDirectory
  C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\test\resources
  [INFO] [compiler:testCompile {execution: default-testCompile}]
  [INFO] No sources to compile
  [INFO] [surefire:test {execution: default-test}]
  [INFO] No tests to run.
  [INFO] [war:war {execution: default-war}]
  [INFO] Packaging webapp
  [INFO] Assembling webapp[HelloWorld] in
 
 [C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0]
  [INFO] Dependency[Dependency {groupId=org.apache.wicket,
 artifactId=wicket,
  version=1.4-rc2, type=jar}] has changed (was Dependency
  {groupId=org.apache.wicket, artifactId=wicket, version=1.4-rc2,
 type=jar}).
  [INFO] Dependency[Dependency {groupId=org.slf4j,
 artifactId=slf4j-log4j12,
  version=1.4.2, type=jar}] has changed (was Dependency {groupId=org.slf4j,
  artifactId=slf4j-log4j12, version=1.4.2, type=jar}).
  [INFO] Dependency[Dependency {groupId=log4j, artifactId=log4j,
  version=1.2.14, type=jar}] has changed (was Dependency {groupId=log4j,
  artifactId=log4j, version=1.2.14, type=jar}).
  [INFO] Processing war project
  [INFO] Copying webapp
 
 resources[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\main\webapp]
  [INFO] Webapp assembled in[208 msecs]
  [INFO] Building war:
 
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
  to
 
 C:\Users\admin\.m2\repository\com\mkyong\HelloWorld\1.0\HelloWorld-1.0.war
  [INFO]
  
  [INFO] BUILD SUCCESSFUL
  [INFO]
  
  [INFO] Total time: 5 seconds
  [INFO] Finished at: Wed Feb 16 13:22:04 PKT 2011
  [INFO] Final Memory: 10M/24M
  [INFO]
  
 

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




Re: How run Wicket Application

2011-02-16 Thread Ernesto Reinaldo Barreiro
mvn jetty:run?

On Wed, Feb 16, 2011 at 10:03 AM, Mr Jehan jeeha...@gmail.com wrote:
 please any other solution
 On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Might be easier just to put it into eclipse and run Start.java, maybe.

 **
 Martin

 2011/2/16 Mr Jehan jeeha...@gmail.com:
   Dear all
 
  I downloaded HelloWorld wicket application,
  I run following commind
 
   C:\Users\admin\wicket-hello-world  *mvn install *
 
  following is log of mvn
 
  My tomcat installed at d:/tomcat/
 
  which directory I copy from* C:\Users\admin\wicket-hello-world* to *
  d:/tomcat/webapp* folder.
 
 
 log--
  [INFO] Scanning for projects...
  [INFO]
  
  [INFO] Building wicketHelloWorld
  [INFO]    task-segment: [install]
  [INFO]
  
  [INFO] [resources:resources {execution: default-resources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource
  [INFO] [compiler:compile {execution: default-compile}]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources {execution: default-testResources}]
  [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
  resources, i.e. build is platform dependent!
  [INFO] skip non existing resourceDirectory
  C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\test\resources
  [INFO] [compiler:testCompile {execution: default-testCompile}]
  [INFO] No sources to compile
  [INFO] [surefire:test {execution: default-test}]
  [INFO] No tests to run.
  [INFO] [war:war {execution: default-war}]
  [INFO] Packaging webapp
  [INFO] Assembling webapp[HelloWorld] in
 
 [C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0]
  [INFO] Dependency[Dependency {groupId=org.apache.wicket,
 artifactId=wicket,
  version=1.4-rc2, type=jar}] has changed (was Dependency
  {groupId=org.apache.wicket, artifactId=wicket, version=1.4-rc2,
 type=jar}).
  [INFO] Dependency[Dependency {groupId=org.slf4j,
 artifactId=slf4j-log4j12,
  version=1.4.2, type=jar}] has changed (was Dependency {groupId=org.slf4j,
  artifactId=slf4j-log4j12, version=1.4.2, type=jar}).
  [INFO] Dependency[Dependency {groupId=log4j, artifactId=log4j,
  version=1.2.14, type=jar}] has changed (was Dependency {groupId=log4j,
  artifactId=log4j, version=1.2.14, type=jar}).
  [INFO] Processing war project
  [INFO] Copying webapp
 
 resources[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\main\webapp]
  [INFO] Webapp assembled in[208 msecs]
  [INFO] Building war:
 
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
  [INFO] [install:install {execution: default-install}]
  [INFO] Installing
 
 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war
  to
 
 C:\Users\admin\.m2\repository\com\mkyong\HelloWorld\1.0\HelloWorld-1.0.war
  [INFO]
  
  [INFO] BUILD SUCCESSFUL
  [INFO]
  
  [INFO] Total time: 5 seconds
  [INFO] Finished at: Wed Feb 16 13:22:04 PKT 2011
  [INFO] Final Memory: 10M/24M
  [INFO]
  
 

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




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



Re: How run Wicket Application

2011-02-16 Thread Michal Letynski

Just open the tomcat manager and deploy this war file.

W dniu 2011-02-16 13:03, Mr Jehan pisze:

please any other solution
On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi
martin.maku...@koodaripalvelut.com  wrote:


Might be easier just to put it into eclipse and run Start.java, maybe.

**
Martin

2011/2/16 Mr Jehanjeeha...@gmail.com:
Dear all

I downloaded HelloWorld wicket application,
I run following commind

  C:\Users\admin\wicket-hello-world  *mvn install *

following is log of mvn

My tomcat installed at d:/tomcat/

which directory I copy from* C:\Users\admin\wicket-hello-world* to *
d:/tomcat/webapp* folder.



log--

[INFO] Scanning for projects...
[INFO]

[INFO] Building wicketHelloWorld
[INFO]task-segment: [install]
[INFO]

[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\test\resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp[HelloWorld] in


[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0]

[INFO] Dependency[Dependency {groupId=org.apache.wicket,

artifactId=wicket,

version=1.4-rc2, type=jar}] has changed (was Dependency
{groupId=org.apache.wicket, artifactId=wicket, version=1.4-rc2,

type=jar}).

[INFO] Dependency[Dependency {groupId=org.slf4j,

artifactId=slf4j-log4j12,

version=1.4.2, type=jar}] has changed (was Dependency {groupId=org.slf4j,
artifactId=slf4j-log4j12, version=1.4.2, type=jar}).
[INFO] Dependency[Dependency {groupId=log4j, artifactId=log4j,
version=1.2.14, type=jar}] has changed (was Dependency {groupId=log4j,
artifactId=log4j, version=1.2.14, type=jar}).
[INFO] Processing war project
[INFO] Copying webapp


resources[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\main\webapp]

[INFO] Webapp assembled in[208 msecs]
[INFO] Building war:


C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war

[INFO] [install:install {execution: default-install}]
[INFO] Installing


C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war

to


C:\Users\admin\.m2\repository\com\mkyong\HelloWorld\1.0\HelloWorld-1.0.war

[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Feb 16 13:22:04 PKT 2011
[INFO] Final Memory: 10M/24M
[INFO]



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




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



Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
Problem while running tomcat manager

http://localhost:8080/manager/html




On Wed, Feb 16, 2011 at 2:07 PM, Michal Letynski m...@consol.ae wrote:

 Just open the tomcat manager and deploy this war file.

 W dniu 2011-02-16 13:03, Mr Jehan pisze:

 please any other solution
 On Wed, Feb 16, 2011 at 1:39 PM, Martin Makundi
 martin.maku...@koodaripalvelut.com  wrote:

 Might be easier just to put it into eclipse and run Start.java, maybe.

 **
 Martin

 2011/2/16 Mr Jehanjeeha...@gmail.com:
Dear all

 I downloaded HelloWorld wicket application,
 I run following commind

  C:\Users\admin\wicket-hello-world  *mvn install *

 following is log of mvn

 My tomcat installed at d:/tomcat/

 which directory I copy from* C:\Users\admin\wicket-hello-world* to *
 d:/tomcat/webapp* folder.



 log--

 [INFO] Scanning for projects...
 [INFO]
 
 [INFO] Building wicketHelloWorld
 [INFO]task-segment: [install]
 [INFO]
 
 [INFO] [resources:resources {execution: default-resources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] Copying 1 resource
 [INFO] [compiler:compile {execution: default-compile}]
 [INFO] Nothing to compile - all classes are up to date
 [INFO] [resources:testResources {execution: default-testResources}]
 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!
 [INFO] skip non existing resourceDirectory

 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\test\resources
 [INFO] [compiler:testCompile {execution: default-testCompile}]
 [INFO] No sources to compile
 [INFO] [surefire:test {execution: default-test}]
 [INFO] No tests to run.
 [INFO] [war:war {execution: default-war}]
 [INFO] Packaging webapp
 [INFO] Assembling webapp[HelloWorld] in


 [C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0]

 [INFO] Dependency[Dependency {groupId=org.apache.wicket,

 artifactId=wicket,

 version=1.4-rc2, type=jar}] has changed (was Dependency
 {groupId=org.apache.wicket, artifactId=wicket, version=1.4-rc2,

 type=jar}).

 [INFO] Dependency[Dependency {groupId=org.slf4j,

 artifactId=slf4j-log4j12,

 version=1.4.2, type=jar}] has changed (was Dependency
 {groupId=org.slf4j,
 artifactId=slf4j-log4j12, version=1.4.2, type=jar}).
 [INFO] Dependency[Dependency {groupId=log4j, artifactId=log4j,
 version=1.2.14, type=jar}] has changed (was Dependency {groupId=log4j,
 artifactId=log4j, version=1.2.14, type=jar}).
 [INFO] Processing war project
 [INFO] Copying webapp


 resources[C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\src\main\webapp]

 [INFO] Webapp assembled in[208 msecs]
 [INFO] Building war:


 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war

 [INFO] [install:install {execution: default-install}]
 [INFO] Installing


 C:\Users\admin\Desktop\wicket-hello-world-maven\mkyong\target\HelloWorld-1.0.war

 to


 C:\Users\admin\.m2\repository\com\mkyong\HelloWorld\1.0\HelloWorld-1.0.war

 [INFO]
 
 [INFO] BUILD SUCCESSFUL
 [INFO]
 
 [INFO] Total time: 5 seconds
 [INFO] Finished at: Wed Feb 16 13:22:04 PKT 2011
 [INFO] Final Memory: 10M/24M
 [INFO]
 

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



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




Re: How run Wicket Application

2011-02-16 Thread James Carman
On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
 mvn jetty:run?


Yes, mvn install doesn't run anything.  It just puts the jars into
your local maven repository.  You need to run the jetty plugin.

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



Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
You mean jetty plugin for Tomcat or maven
I want to download it from
http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
but all mirror links are down.

please help



On Wed, Feb 16, 2011 at 6:44 PM, James Carman ja...@carmanconsulting.comwrote:

 On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
 reier...@gmail.com wrote:
  mvn jetty:run?
 

 Yes, mvn install doesn't run anything.  It just puts the jars into
 your local maven repository.  You need to run the jetty plugin.

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




Re: How run Wicket Application

2011-02-16 Thread James Carman
If you're using a Quickstart-generated Wicket project, it's already
set up for you.  Just type mvn jetty:run.


On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
 You mean jetty plugin for Tomcat or maven
 I want to download it from
 http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
 but all mirror links are down.

 please help



 On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:

 On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
 reier...@gmail.com wrote:
  mvn jetty:run?
 

 Yes, mvn install doesn't run anything.  It just puts the jars into
 your local maven repository.  You need to run the jetty plugin.

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




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



Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
I cant issue *mvn jetty:run* command because I have not installed jetty
plugin

I am trying to install jetty plugin using following command

mvn plugin:download   -Dmaven.repo.remote=
http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
-DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
(above command taken from
http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
)

but encountered by following error

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: plugin:download in
org.apache.maven.plugins:maven-plugin-plugin:2.4.3
[INFO]

[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]

while when I run mvn jetty:run I facing following error

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]


On Wed, Feb 16, 2011 at 9:02 PM, James Carman ja...@carmanconsulting.comwrote:

 If you're using a Quickstart-generated Wicket project, it's already
 set up for you.  Just type mvn jetty:run.


 On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
  You mean jetty plugin for Tomcat or maven
  I want to download it from
  http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
  but all mirror links are down.
 
  please help
 
 
 
  On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:
 
  On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
  reier...@gmail.com wrote:
   mvn jetty:run?
  
 
  Yes, mvn install doesn't run anything.  It just puts the jars into
  your local maven repository.  You need to run the jetty plugin.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

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




Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
I cant issue *mvn jetty:run* command because I have not installed jetty
plugin

I am trying to install jetty plugin using following command

mvn plugin:download   -Dmaven.repo.remote=
http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
-DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
(above command taken from
http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
)

but encountered by following error

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: plugin:download in
org.apache.maven.plugins:maven-plugin-plugin:2.4.3
[INFO]

[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]

while when I run mvn jetty:run I facing following error

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]


On Wed, Feb 16, 2011 at 9:02 PM, James Carman ja...@carmanconsulting.comwrote:

 If you're using a Quickstart-generated Wicket project, it's already
 set up for you.  Just type mvn jetty:run.


 On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
  You mean jetty plugin for Tomcat or maven
  I want to download it from
  http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
  but all mirror links are down.
 
  please help
 
 
 
  On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:
 
  On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
  reier...@gmail.com wrote:
   mvn jetty:run?
  
 
  Yes, mvn install doesn't run anything.  It just puts the jars into
  your local maven repository.  You need to run the jetty plugin.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

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




Re: How run Wicket Application

2011-02-16 Thread James Carman
You don't have to install anything.  Maven will download it
automatically.  What does your pom.xml file look like?  Are you using
a quickstart-generated project?

On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote:
 I cant issue *mvn jetty:run* command because I have not installed jetty
 plugin

 I am trying to install jetty plugin using following command

 mvn plugin:download   -Dmaven.repo.remote=
 http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
 -DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
 (above command taken from
 http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
 )

 but encountered by following error

 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'plugin'.
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Required goal not found: plugin:download in
 org.apache.maven.plugins:maven-plugin-plugin:2.4.3
 [INFO]
 
 [INFO] Trace
 org.apache.maven.BuildFailureException: Required goal not found:
 plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
  at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
  at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
  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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
 [INFO] Final Memory: 2M/15M
 [INFO]
 
 while when I run mvn jetty:run I facing following error

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'jetty'.
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
 exist or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
 [INFO] Final Memory: 2M/15M
 [INFO]
 

 On Wed, Feb 16, 2011 at 9:02 PM, James Carman 
 ja...@carmanconsulting.comwrote:

 If you're using a Quickstart-generated Wicket project, it's already
 set up for you.  Just type mvn jetty:run.


 On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
  You mean jetty plugin for Tomcat or maven
  I want to download it from
  http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
  but all mirror links are down.
 
  please help
 
 
 
  On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:
 
  On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
  reier...@gmail.com wrote:
   mvn jetty:run?
  
 
  Yes, mvn install doesn't run anything.  It just puts the jars into
  your local maven repository.  You need to run the jetty plugin.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

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




-
To unsubscribe, e-mail: 

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
The issue with me is installing jetty plugin , please read previous message


On Wed, Feb 16, 2011 at 9:22 PM, James Carman ja...@carmanconsulting.comwrote:

 You don't have to install anything.  Maven will download it
 automatically.  What does your pom.xml file look like?  Are you using
 a quickstart-generated project?

 On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote:
  I cant issue *mvn jetty:run* command because I have not installed jetty
  plugin
 
  I am trying to install jetty plugin using following command
 
  mvn plugin:download   -Dmaven.repo.remote=
 
 http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
  (above command taken from
 
 http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
  )
 
  but encountered by following error
 
  + Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'plugin'.
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] Required goal not found: plugin:download in
  org.apache.maven.plugins:maven-plugin-plugin:2.4.3
  [INFO]
  
  [INFO] Trace
  org.apache.maven.BuildFailureException: Required goal not found:
  plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
   at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
   at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
   at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
   at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
   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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  [INFO]
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
  [INFO] Final Memory: 2M/15M
  [INFO]
  
  while when I run mvn jetty:run I facing following error
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'jetty'.
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
  exist or no valid version could be found
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
  [INFO] Final Memory: 2M/15M
  [INFO]
  
 
  On Wed, Feb 16, 2011 at 9:02 PM, James Carman 
 ja...@carmanconsulting.comwrote:
 
  If you're using a Quickstart-generated Wicket project, it's already
  set up for you.  Just type mvn jetty:run.
 
 
  On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
   You mean jetty plugin for Tomcat or maven
   I want to download it from
   http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
   but all mirror links are down.
  
   please help
  
  
  
   On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
  ja...@carmanconsulting.comwrote:
  
   On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
   reier...@gmail.com wrote:
mvn jetty:run?
   
  
   Yes, mvn install doesn't run anything.  It just puts the jars into
   your local maven repository.  You need to run the jetty plugin.
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
 
  

Re: How run Wicket Application

2011-02-16 Thread James Carman
How about we go about this a different way?  Why don't you try
generating a Wicket Quickstart example application?  If that doesn't
run, then you've got other problems.  If it does run, then you need to
try to copy the sections from the pom.xml file that you need (namely
the plugins).

On Wed, Feb 16, 2011 at 11:41 AM, Mr Jehan jeeha...@gmail.com wrote:
 The issue with me is installing jetty plugin , please read previous message

 On Wed, Feb 16, 2011 at 9:22 PM, James Carman ja...@carmanconsulting.com
 wrote:

 You don't have to install anything.  Maven will download it
 automatically.  What does your pom.xml file look like?  Are you using
 a quickstart-generated project?

 On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote:
  I cant issue *mvn jetty:run* command because I have not installed jetty
  plugin
 
  I am trying to install jetty plugin using following command
 
  mvn plugin:download   -Dmaven.repo.remote=
 
  http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
  -DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
  (above command taken from
 
  http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
  )
 
  but encountered by following error
 
  + Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'plugin'.
  [INFO]
  
  [ERROR] BUILD FAILURE
  [INFO]
  
  [INFO] Required goal not found: plugin:download in
  org.apache.maven.plugins:maven-plugin-plugin:2.4.3
  [INFO]
  
  [INFO] Trace
  org.apache.maven.BuildFailureException: Required goal not found:
  plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
   at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
   at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
   at
 
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
   at
  org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
   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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at
  org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  [INFO]
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
  [INFO] Final Memory: 2M/15M
  [INFO]
  
  while when I run mvn jetty:run I facing following error
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'jetty'.
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
  exist or no valid version could be found
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
  [INFO] Final Memory: 2M/15M
  [INFO]
  
 
  On Wed, Feb 16, 2011 at 9:02 PM, James Carman
  ja...@carmanconsulting.comwrote:
 
  If you're using a Quickstart-generated Wicket project, it's already
  set up for you.  Just type mvn jetty:run.
 
 
  On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com wrote:
   You mean jetty plugin for Tomcat or maven
   I want to download it from
   http://maven.apache.org/maven-1.x/plugins/jetty/downloads.html
   but all mirror links are down.
  
   please help
  
  
  
   On Wed, Feb 16, 2011 at 6:44 PM, James Carman 
  ja...@carmanconsulting.comwrote:
  
   On Wed, Feb 16, 2011 at 4:07 AM, Ernesto Reinaldo Barreiro
   reier...@gmail.com wrote:
mvn jetty:run?
   
  

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
using Wicket Quickstart example application it is done

On Wed, Feb 16, 2011 at 9:44 PM, James Carman ja...@carmanconsulting.comwrote:

 How about we go about this a different way?  Why don't you try
 generating a Wicket Quickstart example application?  If that doesn't
 run, then you've got other problems.  If it does run, then you need to
 try to copy the sections from the pom.xml file that you need (namely
 the plugins).

 On Wed, Feb 16, 2011 at 11:41 AM, Mr Jehan jeeha...@gmail.com wrote:
  The issue with me is installing jetty plugin , please read previous
 message
 
  On Wed, Feb 16, 2011 at 9:22 PM, James Carman 
 ja...@carmanconsulting.com
  wrote:
 
  You don't have to install anything.  Maven will download it
  automatically.  What does your pom.xml file look like?  Are you using
  a quickstart-generated project?
 
  On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote:
   I cant issue *mvn jetty:run* command because I have not installed
 jetty
   plugin
  
   I am trying to install jetty plugin using following command
  
   mvn plugin:download   -Dmaven.repo.remote=
  
  
 http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
   -DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
   (above command taken from
  
  
 http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
   )
  
   but encountered by following error
  
   + Error stacktraces are turned on.
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'plugin'.
   [INFO]
  
 
   [ERROR] BUILD FAILURE
   [INFO]
  
 
   [INFO] Required goal not found: plugin:download in
   org.apache.maven.plugins:maven-plugin-plugin:2.4.3
   [INFO]
  
 
   [INFO] Trace
   org.apache.maven.BuildFailureException: Required goal not found:
   plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
  
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
   org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
   [INFO]
  
 
   [INFO] Total time:  1 second
   [INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
   [INFO] Final Memory: 2M/15M
   [INFO]
  
 
   while when I run mvn jetty:run I facing following error
  
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'jetty'.
   [INFO]
  
 
   [ERROR] BUILD ERROR
   [INFO]
  
 
   [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does
 not
   exist or no valid version could be found
   [INFO]
  
 
   [INFO] For more information, run Maven with the -e switch
   [INFO]
  
 
   [INFO] Total time:  1 second
   [INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
   [INFO] Final Memory: 2M/15M
   [INFO]
  
 
  
   On Wed, Feb 16, 2011 at 9:02 PM, James Carman
   ja...@carmanconsulting.comwrote:
  
   If you're using a Quickstart-generated Wicket project, it's already
   set up for you.  Just type mvn jetty:run.
  
  
   On Wed, Feb 16, 2011 at 10:59 AM, Mr Jehan jeeha...@gmail.com
 wrote:
You mean jetty plugin for Tomcat or maven
I want to download it from

Re: How run Wicket Application

2011-02-16 Thread James Carman
Okay, so make a backup copy of your pom.xml file, copy the
quickstart's pom.xml to your directory, edit it to your liking (group,
artifact, name, version, etc.) and try it with your source code.

On Wed, Feb 16, 2011 at 12:01 PM, Mr Jehan jeeha...@gmail.com wrote:
 using Wicket Quickstart example application it is done

 On Wed, Feb 16, 2011 at 9:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:

 How about we go about this a different way?  Why don't you try
 generating a Wicket Quickstart example application?  If that doesn't
 run, then you've got other problems.  If it does run, then you need to
 try to copy the sections from the pom.xml file that you need (namely
 the plugins).

 On Wed, Feb 16, 2011 at 11:41 AM, Mr Jehan jeeha...@gmail.com wrote:
  The issue with me is installing jetty plugin , please read previous
 message
 
  On Wed, Feb 16, 2011 at 9:22 PM, James Carman 
 ja...@carmanconsulting.com
  wrote:
 
  You don't have to install anything.  Maven will download it
  automatically.  What does your pom.xml file look like?  Are you using
  a quickstart-generated project?
 
  On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com wrote:
   I cant issue *mvn jetty:run* command because I have not installed
 jetty
   plugin
  
   I am trying to install jetty plugin using following command
  
   mvn plugin:download   -Dmaven.repo.remote=
  
  
 http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
   -DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
   (above command taken from
  
  
 http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
   )
  
   but encountered by following error
  
   + Error stacktraces are turned on.
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'plugin'.
   [INFO]
  
 
   [ERROR] BUILD FAILURE
   [INFO]
  
 
   [INFO] Required goal not found: plugin:download in
   org.apache.maven.plugins:maven-plugin-plugin:2.4.3
   [INFO]
  
 
   [INFO] Trace
   org.apache.maven.BuildFailureException: Required goal not found:
   plugin:download in org.apache.maven.plugins:maven-plugin-plugin:2.4.3
    at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
    at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
    at
  
  
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
    at
  
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
    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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at
   org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
   [INFO]
  
 
   [INFO] Total time:  1 second
   [INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
   [INFO] Final Memory: 2M/15M
   [INFO]
  
 
   while when I run mvn jetty:run I facing following error
  
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'jetty'.
   [INFO]
  
 
   [ERROR] BUILD ERROR
   [INFO]
  
 
   [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does
 not
   exist or no valid version could be found
   [INFO]
  
 
   [INFO] For more information, run Maven with the -e switch
   [INFO]
  
 
   [INFO] Total time:  1 second
   [INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
   [INFO] Final Memory: 2M/15M
   [INFO]
  
 
  
   On Wed, Feb 16, 2011 at 9:02 PM, James Carman
   ja...@carmanconsulting.comwrote:
  
   If you're using a Quickstart-generated Wicket project, 

Re: How run Wicket Application

2011-02-16 Thread Mr Jehan
ok sir

On Wed, Feb 16, 2011 at 10:05 PM, James Carman
ja...@carmanconsulting.comwrote:

 Okay, so make a backup copy of your pom.xml file, copy the
 quickstart's pom.xml to your directory, edit it to your liking (group,
 artifact, name, version, etc.) and try it with your source code.

 On Wed, Feb 16, 2011 at 12:01 PM, Mr Jehan jeeha...@gmail.com wrote:
  using Wicket Quickstart example application it is done
 
  On Wed, Feb 16, 2011 at 9:44 PM, James Carman 
 ja...@carmanconsulting.comwrote:
 
  How about we go about this a different way?  Why don't you try
  generating a Wicket Quickstart example application?  If that doesn't
  run, then you've got other problems.  If it does run, then you need to
  try to copy the sections from the pom.xml file that you need (namely
  the plugins).
 
  On Wed, Feb 16, 2011 at 11:41 AM, Mr Jehan jeeha...@gmail.com wrote:
   The issue with me is installing jetty plugin , please read previous
  message
  
   On Wed, Feb 16, 2011 at 9:22 PM, James Carman 
  ja...@carmanconsulting.com
   wrote:
  
   You don't have to install anything.  Maven will download it
   automatically.  What does your pom.xml file look like?  Are you using
   a quickstart-generated project?
  
   On Wed, Feb 16, 2011 at 11:20 AM, Mr Jehan jeeha...@gmail.com
 wrote:
I cant issue *mvn jetty:run* command because I have not installed
  jetty
plugin
   
I am trying to install jetty plugin using following command
   
mvn plugin:download   -Dmaven.repo.remote=
   
   
 
 http://www.ibiblio.org/maven,http://people.apache.org/repo/m1-snapshot-repository/
-DgroupId=maven   -DartifactId=maven-jetty-plugin   -Dversion=1.1
(above command taken from
   
   
 
 http://maven.apache.org/maven-1.x/plugins/jetty/announcements/announcement-1.1.txt
)
   
but encountered by following error
   
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO]
   
  
[ERROR] BUILD FAILURE
[INFO]
   
  
[INFO] Required goal not found: plugin:download in
org.apache.maven.plugins:maven-plugin-plugin:2.4.3
[INFO]
   
  
[INFO] Trace
org.apache.maven.BuildFailureException: Required goal not found:
plugin:download in
 org.apache.maven.plugins:maven-plugin-plugin:2.4.3
 at
   
   
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1867)
 at
   
   
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:462)
 at
   
   
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:175)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
 at
   
  org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
 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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at
   
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
   
  
[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:16:03 PKT 2011
[INFO] Final Memory: 2M/15M
[INFO]
   
  
while when I run mvn jetty:run I facing following error
   
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO]
   
  
[ERROR] BUILD ERROR
[INFO]
   
  
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin'
 does
  not
exist or no valid version could be found
[INFO]
   
  
[INFO] For more information, run Maven with the -e switch
[INFO]
   
  
[INFO] Total time:  1 second
[INFO] Finished at: Wed Feb 16 21:17:53 PKT 2011
[INFO] Final Memory: 2M/15M