Marc358 / gwt-cal

Automatically exported from code.google.com/p/gwt-cal
0 stars 0 forks source link

Problems with Maven #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile project 
2. Maven package
3.

What is the expected output? What do you see instead?
A ".war" file. 

What version of the product are you using? On what operating system?
Mac Os Snow Leopard, GWT 2.4, gwt-cal-0.93, gwt-dnd-3.1.2 (both jars added, not 
in pom.xml).

Please provide any additional information below.

When I do: Maven package, im getting the error:

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile 
(default) on project Contabilidad: GWT Module 
com.bradrydzewski.gwt.calendar.Calendar not found in project sources or 
resources. -> [Help 1]

In hosted mode there is no problem, only when I do maven package to get the war.

Original issue reported on code.google.com by javvar...@gmail.com on 24 Jan 2012 at 4:05

GoogleCodeExporter commented 8 years ago
If I'm understanding you properly, the problem seems to be in your pom.xml. 
GWT-Cal 0.93 is already providing the gwt-dnd version and is generating a jar, 
not a war.

If you attach your pom.xml here or in the newsgroup I can give you a hand.

Original comment by ctasada on 26 Jan 2012 at 8:12

GoogleCodeExporter commented 8 years ago
I have fixed my problem. I had to add manually gwt-cal-0.9.3.jar to my local 
repository (right click in gwt-cal-0.9.3.jar -> Import -> Install or deploy  an 
artifact  to a Maven repository -> etc...)

Original comment by javvar...@gmail.com on 26 Jan 2012 at 8:22

GoogleCodeExporter commented 8 years ago
Ok, closing the case.

Anyway in the next weeks I'm planning to include gwt-cal in a public maven 
repository.

Original comment by ctasada on 26 Jan 2012 at 8:42

GoogleCodeExporter commented 8 years ago
It would be great. 

Thanks.

Original comment by javvar...@gmail.com on 26 Jan 2012 at 8:44