You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Francisco Diaz Trepat - gmail <fr...@gmail.com> on 2007/10/31 20:51:39 UTC

mvn netbeans:netbeans command for QuickStart Project

Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
-DarchetypeGroupId=org.apache.wicket........*

then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans
project. And got an error.

I am very new to maven and I was wondering if some one could help me out.

I know there is a thing going on with the netbeans plugin but how may I
solve it.

When googled I got 3 result.

f(t)

*mvn netbeans:netbeans CONSOLE OUTPUT*

$ mvn -e netbeans:netbeans
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'netbeans'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-netbeans-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
org.apache.maven.plugins:maven-netbeans-plugin' does
 not exist or no valid version could be found
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
DefaultLifecycleExecutor.java:1286)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
DefaultLifecycleExecutor.java:1522)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
(DefaultLifecycleExecuto
r.java:386)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:138)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org.apache.maven.plugins:maven-ne
tbeans-plugin' does not exist or no valid version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
(DefaultPluginVersionManager.
java:228)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
(DefaultPluginVersionManager.
java:90)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
DefaultPluginManager.java:166)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
DefaultLifecycleExecutor.java:1257)
        ... 14 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Oct 31 16:37:20 GMT-03:00 2007
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------


*mvn archetype:create -DarchetypeGroupId=org.apache.wicket........ CONSOLE
OUTPUT*

$ mvn archetype:create
-DarchetypeGroupId=org.apache.wicket-DarchetypeArtifactId=wicket-archetype-quickstart
-Darchety
peVersion=1.3.0-beta4
-DgroupId=ch.logismata-DartifactId=GeckoEnginePanelReplacementBug_QS
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO]
----------------------------------------------------------------------------
[INFO] Setting property: classpath.resource.loader.class => '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad
er'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFo
undException: Unable to find resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: ch.logismata
[INFO]
----------------------------------------------------------------------------
[INFO] Using following parameters for creating Archetype:
wicket-archetype-quickstart:1.3.0-beta4
[INFO]
----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: ch.logismata
[INFO] Parameter: packageName, Value: ch.logismata
[INFO] Parameter: package, Value: ch.logismata
[INFO] Parameter: artifactId, Value: GeckoEnginePanelReplacementBug_QS
[INFO] Parameter: basedir, Value: h:\
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [
line 35,column 34] : ${wicket.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [
line 41,column 34] : ${wicket.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [
line 71,column 34] : ${jetty.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [
line 77,column 34] : ${jetty.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [
line 83,column 34] : ${jetty.version} is not a valid reference.
[INFO] ********************* End of debug info from resources from generated
POM ***********************
[INFO] Archetype created in dir: h:\GeckoEnginePanelReplacementBug_QS
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Oct 31 16:34:09 GMT-03:00 2007
[INFO] Final Memory: 5M/9M
[INFO]
------------------------------------------------------------------------

Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
Martijn thanks for the tip. It worked perfectly.

f(t)


On 11/1/07, Francisco Diaz Trepat - gmail <fr...@gmail.com>
wrote:
>
> Great Martjin I'll try it out.
>
> f(t)
>
>
>  On 10/31/07, Martijn Dashorst <ma...@gmail.com> wrote:
> >
> > Netbeans has a module for direct maven support. I think you can
> > download it in the plugin manager (I tried it once and that worked
> > great, but I still didn't like netbeans).
> >
> > Martijn
> >
> > On 10/31/07, Francisco Diaz Trepat - gmail
> > <fr...@gmail.com> wrote:
> > > Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
> > > -DarchetypeGroupId=org.apache.wicket........*
> > >
> > > then ran the *mvn netbeans:netbeans* inside the project to get a
> > Netbeans
> > > project. And got an error.
> > >
> > > I am very new to maven and I was wondering if some one could help me
> > out.
> > >
> > > I know there is a thing going on with the netbeans plugin but how may
> > I
> > > solve it.
> > >
> > > When googled I got 3 result.
> > >
> > > f(t)
> > >
> > > *mvn netbeans:netbeans CONSOLE OUTPUT*
> > >
> > > $ mvn -e netbeans:netbeans
> > > + Error stacktraces are turned on.
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'netbeans'.
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] The plugin 'org.apache.maven.plugins:maven-netbeans-plugin'
> > does not
> > > exist or no valid version could be found
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
> > > org.apache.maven.plugins:maven-netbeans-plugin' does
> > >  not exist or no valid version could be found
> > >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> > > DefaultLifecycleExecutor.java:1286)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
> > > DefaultLifecycleExecutor.java:1522)
> > >         at
> > >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
> > > (DefaultLifecycleExecuto
> > > r.java:386)
> > >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > (
> > > DefaultLifecycleExecutor.java:138)
> > >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> > :334)
> > >         at org.apache.maven.DefaultMaven.execute (DefaultMaven.java
> > :125)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> > >         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)
> > > Caused by:
> > org.apache.maven.plugin.version.PluginVersionNotFoundException:
> > > The plugin 'org.apache.maven.plugins:maven-ne
> > > tbeans-plugin' does not exist or no valid version could be found
> > >         at
> > >
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> > > (DefaultPluginVersionManager.
> > > java:228)
> > >         at
> > >
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> > > (DefaultPluginVersionManager.
> > > java:90)
> > >         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin (
> > > DefaultPluginManager.java:166)
> > >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> > > DefaultLifecycleExecutor.java:1257)
> > >         ... 14 more
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Wed Oct 31 16:37:20 GMT-03:00 2007
> > > [INFO] Final Memory: 1M/4M
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > >
> > >
> > > *mvn archetype:create -DarchetypeGroupId=org.apache.wicket........
> > CONSOLE
> > > OUTPUT*
> > >
> > > $ mvn archetype:create
> > > -DarchetypeGroupId=
> > org.apache.wicket-DarchetypeArtifactId=wicket-archetype-quickstart
> > > -Darchety
> > > peVersion=1.3.0-beta4
> > > -DgroupId=ch.logismata-DartifactId=GeckoEnginePanelReplacementBug_QS
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Building Maven Default Project
> > > [INFO]    task-segment: [archetype:create] (aggregator-style)
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Setting property: classpath.resource.loader.class => '
> > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad
> > > er'.
> > > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > > [INFO] Setting property: resource.loader => 'classpath'.
> > > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > > [INFO] **************************************************************
> > > [INFO] Starting Jakarta Velocity v1.4
> > > [INFO] RuntimeInstance initializing.
> > > [INFO] Default Properties File:
> > > org\apache\velocity\runtime\defaults\velocity.properties
> > > [INFO] Default ResourceManager initializing. (class
> > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > [INFO] Resource Loader Instantiated:
> > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > [INFO] ClasspathResourceLoader : initialization starting.
> > > [INFO] ClasspathResourceLoader : initialization complete.
> > > [INFO] ResourceCache : initialized. (class
> > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > [INFO] Default ResourceManager initialization complete.
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Literal
> > > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Macro
> > > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Parse
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Include
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Foreach
> > > [INFO] Created: 20 parsers.
> > > [INFO] Velocimacro : initialization starting.
> > > [INFO] Velocimacro : adding VMs from VM library template :
> > > VM_global_library.vm
> > > [ERROR] ResourceManager : unable to find resource
> > 'VM_global_library.vm' in
> > > any resource loader.
> > > [INFO] Velocimacro : error using  VM library template
> > VM_global_library.vm :
> > > org.apache.velocity.exception.ResourceNotFo
> > > undException: Unable to find resource 'VM_global_library.vm'
> > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> >
> > > templates
> > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined
> > inline may
> > > NOT replace previous VM definitions
> > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
> > will be
> > > global in scope if allowed.
> > > [INFO] Velocimacro : initialization complete.
> > > [INFO] Velocity successfully started.
> > > [INFO] [archetype:create]
> > > [INFO] Defaulting package to group ID: ch.logismata
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Using following parameters for creating Archetype:
> > > wicket-archetype-quickstart:1.3.0-beta4
> > > [INFO]
> > >
> > ----------------------------------------------------------------------------
> > > [INFO] Parameter: groupId, Value: ch.logismata
> > > [INFO] Parameter: packageName, Value: ch.logismata
> > > [INFO] Parameter: package, Value: ch.logismata
> > > [INFO] Parameter: artifactId, Value: GeckoEnginePanelReplacementBug_QS
> > > [INFO] Parameter: basedir, Value: h:\
> > > [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> > > [WARNING] org.apache.velocity.runtime.exception.ReferenceException :
> > > reference : template = archetype-resources/pom.xml [
> > > line 35,column 34] : ${wicket.version} is not a valid reference.
> > > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > > reference : template = archetype-resources/pom.xml [
> > > line 41,column 34] : ${wicket.version} is not a valid reference.
> > > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > > reference : template = archetype-resources/pom.xml [
> > > line 71,column 34] : ${ jetty.version} is not a valid reference.
> > > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > > reference : template = archetype-resources/pom.xml [
> > > line 77,column 34] : ${jetty.version } is not a valid reference.
> > > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > > reference : template = archetype-resources/pom.xml [
> > > line 83,column 34] : ${jetty.version} is not a valid reference.
> > > [INFO] ********************* End of debug info from resources from
> > generated
> > > POM ***********************
> > > [INFO] Archetype created in dir: h:\GeckoEnginePanelReplacementBug_QS
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] BUILD SUCCESSFUL
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Total time: 1 second
> > > [INFO] Finished at: Wed Oct 31 16:34:09 GMT-03:00 2007
> > > [INFO] Final Memory: 5M/9M
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > >
> >
> >
> > --
> > Buy Wicket in Action: http://manning.com/dashorst
> > Apache Wicket 1.3.0-beta4 is released
> > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>

Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
Great Martjin I'll try it out.

f(t)


On 10/31/07, Martijn Dashorst <ma...@gmail.com> wrote:
>
> Netbeans has a module for direct maven support. I think you can
> download it in the plugin manager (I tried it once and that worked
> great, but I still didn't like netbeans).
>
> Martijn
>
> On 10/31/07, Francisco Diaz Trepat - gmail
> <fr...@gmail.com> wrote:
> > Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
> > -DarchetypeGroupId=org.apache.wicket........*
> >
> > then ran the *mvn netbeans:netbeans* inside the project to get a
> Netbeans
> > project. And got an error.
> >
> > I am very new to maven and I was wondering if some one could help me
> out.
> >
> > I know there is a thing going on with the netbeans plugin but how may I
> > solve it.
> >
> > When googled I got 3 result.
> >
> > f(t)
> >
> > *mvn netbeans:netbeans CONSOLE OUTPUT*
> >
> > $ mvn -e netbeans:netbeans
> > + Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'netbeans'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-netbeans-plugin' does
> not
> > exist or no valid version could be found
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
> > org.apache.maven.plugins:maven-netbeans-plugin' does
> >  not exist or no valid version could be found
> >         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> > DefaultLifecycleExecutor.java:1286)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
> > DefaultLifecycleExecutor.java:1522)
> >         at
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
> > (DefaultLifecycleExecuto
> > r.java:386)
> >         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> > DefaultLifecycleExecutor.java:138)
> >         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :334)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >         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)
> > Caused by:
> org.apache.maven.plugin.version.PluginVersionNotFoundException:
> > The plugin 'org.apache.maven.plugins:maven-ne
> > tbeans-plugin' does not exist or no valid version could be found
> >         at
> >
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> > (DefaultPluginVersionManager.
> > java:228)
> >         at
> >
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> > (DefaultPluginVersionManager.
> > java:90)
> >         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
> > DefaultPluginManager.java:166)
> >         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> > DefaultLifecycleExecutor.java:1257)
> >         ... 14 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: < 1 second
> > [INFO] Finished at: Wed Oct 31 16:37:20 GMT-03:00 2007
> > [INFO] Final Memory: 1M/4M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > *mvn archetype:create -DarchetypeGroupId=org.apache.wicket........
> CONSOLE
> > OUTPUT*
> >
> > $ mvn archetype:create
> > -DarchetypeGroupId=
> org.apache.wicket-DarchetypeArtifactId=wicket-archetype-quickstart
> > -Darchety
> > peVersion=1.3.0-beta4
> > -DgroupId=ch.logismata-DartifactId=GeckoEnginePanelReplacementBug_QS
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building Maven Default Project
> > [INFO]    task-segment: [archetype:create] (aggregator-style)
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Setting property: classpath.resource.loader.class => '
> > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad
> > er'.
> > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > [INFO] Setting property: resource.loader => 'classpath'.
> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > [INFO] **************************************************************
> > [INFO] Starting Jakarta Velocity v1.4
> > [INFO] RuntimeInstance initializing.
> > [INFO] Default Properties File:
> > org\apache\velocity\runtime\defaults\velocity.properties
> > [INFO] Default ResourceManager initializing. (class
> > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > [INFO] Resource Loader Instantiated:
> > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > [INFO] ClasspathResourceLoader : initialization starting.
> > [INFO] ClasspathResourceLoader : initialization complete.
> > [INFO] ResourceCache : initialized. (class
> > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > [INFO] Default ResourceManager initialization complete.
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Literal
> > [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> > [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Include
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Foreach
> > [INFO] Created: 20 parsers.
> > [INFO] Velocimacro : initialization starting.
> > [INFO] Velocimacro : adding VMs from VM library template :
> > VM_global_library.vm
> > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> in
> > any resource loader.
> > [INFO] Velocimacro : error using  VM library template
> VM_global_library.vm :
> > org.apache.velocity.exception.ResourceNotFo
> > undException: Unable to find resource 'VM_global_library.vm'
> > [INFO] Velocimacro :  VM library template macro registration complete.
> > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > templates
> > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> may
> > NOT replace previous VM definitions
> > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> be
> > global in scope if allowed.
> > [INFO] Velocimacro : initialization complete.
> > [INFO] Velocity successfully started.
> > [INFO] [archetype:create]
> > [INFO] Defaulting package to group ID: ch.logismata
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Using following parameters for creating Archetype:
> > wicket-archetype-quickstart:1.3.0-beta4
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Parameter: groupId, Value: ch.logismata
> > [INFO] Parameter: packageName, Value: ch.logismata
> > [INFO] Parameter: package, Value: ch.logismata
> > [INFO] Parameter: artifactId, Value: GeckoEnginePanelReplacementBug_QS
> > [INFO] Parameter: basedir, Value: h:\
> > [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > reference : template = archetype-resources/pom.xml [
> > line 35,column 34] : ${wicket.version} is not a valid reference.
> > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > reference : template = archetype-resources/pom.xml [
> > line 41,column 34] : ${wicket.version} is not a valid reference.
> > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > reference : template = archetype-resources/pom.xml [
> > line 71,column 34] : ${jetty.version} is not a valid reference.
> > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > reference : template = archetype-resources/pom.xml [
> > line 77,column 34] : ${jetty.version} is not a valid reference.
> > [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> > reference : template = archetype-resources/pom.xml [
> > line 83,column 34] : ${jetty.version} is not a valid reference.
> > [INFO] ********************* End of debug info from resources from
> generated
> > POM ***********************
> > [INFO] Archetype created in dir: h:\GeckoEnginePanelReplacementBug_QS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 second
> > [INFO] Finished at: Wed Oct 31 16:34:09 GMT-03:00 2007
> > [INFO] Final Memory: 5M/9M
> > [INFO]
> > ------------------------------------------------------------------------
> >
>
>
> --
> Buy Wicket in Action: http://manning.com/dashorst
> Apache Wicket 1.3.0-beta4 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Martijn Dashorst <ma...@gmail.com>.
Netbeans has a module for direct maven support. I think you can
download it in the plugin manager (I tried it once and that worked
great, but I still didn't like netbeans).

Martijn

On 10/31/07, Francisco Diaz Trepat - gmail
<fr...@gmail.com> wrote:
> Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
> -DarchetypeGroupId=org.apache.wicket........*
>
> then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans
> project. And got an error.
>
> I am very new to maven and I was wondering if some one could help me out.
>
> I know there is a thing going on with the netbeans plugin but how may I
> solve it.
>
> When googled I got 3 result.
>
> f(t)
>
> *mvn netbeans:netbeans CONSOLE OUTPUT*
>
> $ mvn -e netbeans:netbeans
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'netbeans'.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-netbeans-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
> org.apache.maven.plugins:maven-netbeans-plugin' does
>  not exist or no valid version could be found
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> DefaultLifecycleExecutor.java:1286)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
> DefaultLifecycleExecutor.java:1522)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds
> (DefaultLifecycleExecuto
> r.java:386)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:138)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>         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)
> Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
> The plugin 'org.apache.maven.plugins:maven-ne
> tbeans-plugin' does not exist or no valid version could be found
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> (DefaultPluginVersionManager.
> java:228)
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion
> (DefaultPluginVersionManager.
> java:90)
>         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
> DefaultPluginManager.java:166)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(
> DefaultLifecycleExecutor.java:1257)
>         ... 14 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Oct 31 16:37:20 GMT-03:00 2007
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>
>
> *mvn archetype:create -DarchetypeGroupId=org.apache.wicket........ CONSOLE
> OUTPUT*
>
> $ mvn archetype:create
> -DarchetypeGroupId=org.apache.wicket-DarchetypeArtifactId=wicket-archetype-quickstart
> -Darchety
> peVersion=1.3.0-beta4
> -DgroupId=ch.logismata-DartifactId=GeckoEnginePanelReplacementBug_QS
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:create] (aggregator-style)
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Setting property: classpath.resource.loader.class => '
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoad
> er'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] **************************************************************
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
> org\apache\velocity\runtime\defaults\velocity.properties
> [INFO] Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
> VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
> any resource loader.
> [INFO] Velocimacro : error using  VM library template VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFo
> undException: Unable to find resource 'VM_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> templates
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
> NOT replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
> global in scope if allowed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [archetype:create]
> [INFO] Defaulting package to group ID: ch.logismata
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating Archetype:
> wicket-archetype-quickstart:1.3.0-beta4
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: ch.logismata
> [INFO] Parameter: packageName, Value: ch.logismata
> [INFO] Parameter: package, Value: ch.logismata
> [INFO] Parameter: artifactId, Value: GeckoEnginePanelReplacementBug_QS
> [INFO] Parameter: basedir, Value: h:\
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [
> line 35,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [
> line 41,column 34] : ${wicket.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [
> line 71,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [
> line 77,column 34] : ${jetty.version} is not a valid reference.
> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
> reference : template = archetype-resources/pom.xml [
> line 83,column 34] : ${jetty.version} is not a valid reference.
> [INFO] ********************* End of debug info from resources from generated
> POM ***********************
> [INFO] Archetype created in dir: h:\GeckoEnginePanelReplacementBug_QS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Oct 31 16:34:09 GMT-03:00 2007
> [INFO] Final Memory: 5M/9M
> [INFO]
> ------------------------------------------------------------------------
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/

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


Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
Great!!!

f(t)


On 11/1/07, Gwyn Evans <gw...@gmail.com> wrote:
>
> Hi Francisco,
>
> Sorry, it does appear that we got it wrong as far the the "mvn
> netbeans:netbeans" instruction goes - I've updated the website source
> (it'll sync eventually) to remove that, leaving the suggestion that,
> with NB6, the pom.xml can be opened directly.
>
> As I use IDEA and most of the other committers use Eclipse, I'm afraid
> that NetBeans behaviour doesn't seem to be something we can easily
> check!
>
> /Gwyn
>
> Thursday, November 1, 2007, 10:56:58 AM, you wrote:
>
> FDT> thanks al. i would not expect to, as so elocuently put, RTFM for
> FDT> some tool so outside wicket scope. rather wicket projects worked
> FDT> out me the box or with simpler tool such as ant. specially when
> FDT> we are trying to contribute to the cause. f(t)
>
> FDT> On 10/31/07, Al Maw <wi...@almaw.com> wrote:
> >> Francisco Diaz Trepat - gmail wrote:
> >> > Hi I just downloaded the maven 2.0.7 and ran the *mvn
> archetype:create
> >> > -DarchetypeGroupId=org.apache.wicket........*
> >> >
> >> > then ran the *mvn netbeans:netbeans* inside the project to get a
> Netbeans
> >> > project. And got an error.
> >>
> >> That's because there is no such plug-in.
> >>
> >> RTFM here:
> >>
> http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html
> >>
> >> Regards,
> >>
> >> Al
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Gwyn Evans <gw...@gmail.com>.
Hi Francisco,

Sorry, it does appear that we got it wrong as far the the "mvn
netbeans:netbeans" instruction goes - I've updated the website source
(it'll sync eventually) to remove that, leaving the suggestion that,
with NB6, the pom.xml can be opened directly.

As I use IDEA and most of the other committers use Eclipse, I'm afraid
that NetBeans behaviour doesn't seem to be something we can easily
check!

/Gwyn

Thursday, November 1, 2007, 10:56:58 AM, you wrote:

FDT> thanks al. i would not expect to, as so elocuently put, RTFM for
FDT> some tool so outside wicket scope. rather wicket projects worked
FDT> out me the box or with simpler tool such as ant. specially when
FDT> we are trying to contribute to the cause. f(t)

FDT> On 10/31/07, Al Maw <wi...@almaw.com> wrote:
>> Francisco Diaz Trepat - gmail wrote:
>> > Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
>> > -DarchetypeGroupId=org.apache.wicket........*
>> >
>> > then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans
>> > project. And got an error.
>>
>> That's because there is no such plug-in.
>>
>> RTFM here:
>> http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html
>>
>> Regards,
>>
>> Al



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


Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Francisco Diaz Trepat - gmail <fr...@gmail.com>.
thanks al. i would not expect to, as so elocuently put, RTFM for some
tool so outside wicket scope. rather wicket projects worked out me the
box or with simpler tool such as ant.
specially when we are trying to contribute to the cause.
f(t)

On 10/31/07, Al Maw <wi...@almaw.com> wrote:
> Francisco Diaz Trepat - gmail wrote:
> > Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
> > -DarchetypeGroupId=org.apache.wicket........*
> >
> > then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans
> > project. And got an error.
>
> That's because there is no such plug-in.
>
> RTFM here:
> http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html
>
> Regards,
>
> Al
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: mvn netbeans:netbeans command for QuickStart Project

Posted by Al Maw <wi...@almaw.com>.
Francisco Diaz Trepat - gmail wrote:
> Hi I just downloaded the maven 2.0.7 and ran the *mvn archetype:create
> -DarchetypeGroupId=org.apache.wicket........*
> 
> then ran the *mvn netbeans:netbeans* inside the project to get a Netbeans
> project. And got an error.

That's because there is no such plug-in.

RTFM here: 
http://maven.apache.org/guides/mini/guide-ide-netbeans/guide-ide-netbeans.html

Regards,

Al

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