Unless another profile is activated through a property, yes :)

On Mon, Apr 27, 2009 at 9:25 AM, Boris Granveaud <[email protected]> wrote:

> yes, it's ok now.
> I'm new to maven but isn't it possible to have several profiles activated
> by default?
>
> Boris.
>
>
> On Mon, Apr 27, 2009 at 3:21 PM, Brian Cribbs <[email protected]>wrote:
>
>> That fixed it?
>>
>>
>> On Mon, Apr 27, 2009 at 9:18 AM, Boris Granveaud <[email protected]>wrote:
>>
>>> thanks!
>>> Boris.
>>>
>>>
>>> On Mon, Apr 27, 2009 at 3:06 PM, Brian Cribbs <[email protected]>wrote:
>>>
>>>> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to