Maven 2.x GWT Plugin

javax.servlet classes are packaged

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

a simple workaround is to remove them using the AntRun plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>remove-javax</id>
<phase>compile</phase>
<configuration>
<tasks>
<delete dir="${project.build.directory}/classes/javax" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>

Activity

Hide
nicolas de loof added a comment -

allready reported, this is a bug in gwt-servlet & gwt-dev packaging - supposed to be fixed with gwt 2.0.0
the javac compiler also takes sources when included in jars, out of gwt-maven-plugin scope

Show
nicolas de loof added a comment - allready reported, this is a bug in gwt-servlet & gwt-dev packaging - supposed to be fixed with gwt 2.0.0 the javac compiler also takes sources when included in jars, out of gwt-maven-plugin scope
Hide
Tim Lebedkov added a comment -

does google upload these files? §$%§$&$%!

according to the following link 2.0 also has the javax package included:
http://mvnrepository.com/artifact/com.google.gwt/gwt-dev/2.0.0

that's why I would argue to fix this in gwt maven plugin.

Show
Tim Lebedkov added a comment - does google upload these files? §$%§$&$%! according to the following link 2.0 also has the javax package included: http://mvnrepository.com/artifact/com.google.gwt/gwt-dev/2.0.0 that's why I would argue to fix this in gwt maven plugin.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: