GWT puging fials do build after "mvn clean install" with "Could not load GWT artifact"

2 views
Skip to first unread message

baranowb

unread,
Jun 19, 2008, 9:59:58 PM6/19/08
to gwt-maven
I have a gwt component in project. Recently we moved to m2 project
management - along with switching to m2 gwt plugin.
Problm is that plugin fails to build when "mvn clean install" is
issued - but builds fine when "mvn clean;mvn install" is typed


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error: Could not load GWT artifact. Make sure you have the
setup goal enabled for this plugin or that you have setup a dependency
on com.google.gwt:gwt
-windows

[INFO]
------------------------------------------------------------------------



here is -e


[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error: Could not load GWT artifact. Make sure you have the
setup goal enabled for this plugin or that you have setup a dependency
on com.google.gwt:gwt
-windows

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error: Could
not load GWT artifact. Make sure you have the setup goal enabled for
this plugin or that
you have setup a dependency on com.google.gwt:gwt-windows

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:
499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:
478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:
330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.MojoExecutionException: Error:
Could not load GWT artifact. Make sure you have the setup goal
enabled for this plugin or th
at you have setup a dependency on com.google.gwt:gwt-windows

at
com.totsp.mavenplugin.gwt.GWTExtractor.execute(GWTExtractor.java:152)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:
558)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 36 seconds
Reply all
Reply to author
Forward
0 new messages