I was pointed to this link:
http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
I did this:
mvn archetype:generate \
-DarchetypeGroupId=org.codehaus.mojo \
-DarchetypeArtifactId=gwt-maven-plugin \
-DarchetypeVersion=1.1 \
-DgroupId=gwtsandbox \
-DartifactId=myFirstGWTApp
but got and error
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :template = archetype-resources/pom.xml [line 30,column 16] :
${gwt.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :template = archetype-resources/pom.xml [line 36,column 16] :
${gwt.version} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference :template = archetype-resources/pom.xml [line 85,column 21] :
${maven.compiler.source} is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = archetype-resources/pom.xml [line 86,column 21] :
${maven.compiler.target} is not a valid reference.
[INFO]
------------------------------------------------------------------------
any ideas on why the Maven GWT plugin could be broken?
saurabh wrote:
> Hi,
> did u try gwt-maven-plugin? here is link for ref,
> http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html
>
> Regards,
> Saurabh
>
> On Oct 26, 10:46 am, "J.V." <[email protected]> wrote:
>
>> I'm trying to get a first app up and running with GWT.
>>
>> What I would like to do is download the jars and compile with maven2.
>>
>> Has anyone been able to do this successfully? I can not find any
>> documentation anywhere that actually leads me to a working example.
>> Are the latest 1.7.1 jars available in any public maven repo?
>>
>> Is there any sort of commitment at all from Google to support Maven2?
>> If anyone can help on getting GWT to compile/work with maven I will post
>> the instructions for others in a readable format.
>> If I'm the first to try and get this to run with Maven, let me know.
>>
>> thanks
>>
>> J.V.
>>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---