problem deploying with maven
I have a gwt project and in this project I used gxt as well
I deployed the project with ant and it deployed and run properly. Now
I want to use maven to deploy it
I use GWT version 2.0.3 and in pom.xml I mentioned this version of GWT
After runing command "mvn clean install" I get this prompts:
com.google.gwt:gwt-dev:zip:windows-libs:2.0.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.3 -Dclassifier=windows-libs -Dpackaging=zip -Dfile=/path/
to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -
Dversion=2.0.3 -Dclassifier=windows-libs -Dpackaging=zip -Dfile=/path/
to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.mypath:myApp:war:1.0-SNAPSHOT
2) com.google.gwt:gwt-dev:zip:windows-libs:2.0.3
2) com.google.gwt:gwt-dev:jar:windows:2.0.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google.gwt -DartifactId=gwt-dev
-Dversion=2.0.3 -Dclassifier=windows -Dpackaging=jar -Dfile=/path/to/
file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=com.google.gwt -DartifactId=gwt-dev -
Dversion=2.0.3 -Dclassifier=windows -Dpackaging=jar -Dfile=/path/to/
file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.mypath:myApp:war:1.0-SNAPSHOT
2) com.google.gwt:gwt-dev:jar:windows:2.0.3
In the pom.xml file, I used : http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/
as maven repository but it is not up to date and I couldn't find gwt-
dev-windows-libs or gwt-dev-windows.jar version 2.03
In my ant project I just have gwt-dev.jar
Shall I use this jar file and install it as windows and windows-lib
files artifacts?
Any idea?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home