If you're using automatic configuration, the one that sets the GWT version is activated by the OS causing your active by default to be pointless. Try invoking -Pmyprofile.
On Mon, Apr 27, 2009 at 8:39 AM, Boris Granveaud <[email protected]> wrote: > > Hello, > > I'm trying to exclude the .gwt-tmp folder with maven-war-plugin: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <configuration> > <packagingExcludes>.gwt-tmp/**</packagingExcludes> > </configuration> > </plugin> > > It works fine. However, if I put this in a profile, it doesn't work > anymore: > > <profiles> > <profile> > <id>myprofile</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <configuration> > <packagingExcludes>.gwt-tmp/**</packagingExcludes> > </configuration> > </plugin> > </plugins> > </build> > </profile> > </profiles> > > Am I missing something?? > > I'm using maven-googlewebtoolkit2-plugin 2.0-RC1 but I think it > doesn't change anything. > > Thanks. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "gwt-maven" 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/gwt-maven?hl=en -~----------~----~----~----~------~----~------~--~---
