You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Bernd Bohmann (JIRA)" <ji...@codehaus.org> on 2005/11/11 00:09:06 UTC

[jira] Created: (MNG-1509) Profile activation by os doesn't work

Profile activation by os doesn't work
-------------------------------------

         Key: MNG-1509
         URL: http://jira.codehaus.org/browse/MNG-1509
     Project: Maven 2
        Type: Bug
  Components: maven-project  
    Versions: 2.0    
 Environment: Ubuntu 5.10 maven 2.0
    Reporter: Bernd Bohmann
 Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch

Profile activation by os doesn't work.

OperatingSystemProfileActivator is missing in components.xml.

Implementation of OperatingSystemProfileActivator.isActive is wrong.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

John Casey updated MNG-1509:
----------------------------

    Fix Version:     (was: 2.0.1)
                 2.0.2

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.2
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]
     
John Casey reopened MNG-1509:
-----------------------------


We need to take another look at this, apparently. Regardless of whether it's technically working or not, it definitely should be robust enough to handle the use case mentioned in the last comment.

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

John Casey updated MNG-1509:
----------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.4
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

Brett Porter updated MNG-1509:
------------------------------

    Fix Version:     (was: 2.0.4)
                 2.0.3

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.3
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1509) Profile activation by os doesn't work

Posted by "Bernd Bohmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1509?page=comments#action_50696 ] 

Bernd Bohmann commented on MNG-1509:
------------------------------------

I want to add tools.jar as dependency only if i'm not on a mac.

Mac X has no tools.jar 

   <profile>
      <id>tools.jar</id>
      <activation>
        <os><family>!mac</family></os>
      </activation>
      <dependencies>
        <dependency>
          <groupId>sun.jdk</groupId>
          <artifactId>tools</artifactId>
          <version>1.5.0</version>
          <scope>system</scope>
          <systemPath>${java.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    </profile>

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1509) Profile activation by os doesn't work

Posted by "Bernd Bohmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1509?page=comments#action_51028 ] 

Bernd Bohmann commented on MNG-1509:
------------------------------------

patch included

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]
     
John Casey reopened MNG-1509:
-----------------------------


> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "Bernd Bohmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

Bernd Bohmann updated MNG-1509:
-------------------------------

    Attachment: OperatingSystemProfileActivator.java.patch

First patch for OperatingSystemProfileActivator was not really correct.

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug
>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

John Casey updated MNG-1509:
----------------------------

    Assign To:     (was: John Casey)

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>      Fix For: 2.0.4
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]
     
John Casey closed MNG-1509:
---------------------------

     Resolution: Fixed
    Fix Version: 2.0.1

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]
     
John Casey closed MNG-1509:
---------------------------

    Resolution: Fixed

Applied. Thanks, Bernd

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1509) Profile activation by os doesn't work

Posted by "Bernd Bohmann (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1509?page=comments#action_53420 ] 

Bernd Bohmann commented on MNG-1509:
------------------------------------

Added more Testcases to DefaultProfileManagerTest.java m unfortunately they are os depend (my os is unix):

public void testOsActivationNotFamilyProfile() throws ProfileActivationException
      {
          Profile osActivated = new Profile();
          osActivated.setId("os-profile");

          Activation osActivation = new Activation();

          ActivationOS activationOS = new ActivationOS();

          activationOS.setFamily("!windows");

          osActivation.setOs(activationOS);

          osActivated.setActivation(osActivation);

          ProfileManager profileManager = new DefaultProfileManager(getContainer());

          profileManager.addProfile(osActivated);

          List active = profileManager.getActiveProfiles();

          assertNotNull( active );
          assertEquals( 1, active.size() );
      }

   public void testOsActivationFamilyProfile() throws ProfileActivationException
      {
          Profile osActivated = new Profile();
          osActivated.setId("os-profile");

          Activation osActivation = new Activation();

          ActivationOS activationOS = new ActivationOS();

          activationOS.setFamily("unix");

          osActivation.setOs(activationOS);

          osActivated.setActivation(osActivation);

          ProfileManager profileManager = new DefaultProfileManager(getContainer());

          profileManager.addProfile(osActivated);

          List active = profileManager.getActiveProfiles();

          assertNotNull( active );
          assertEquals( 1, active.size() );
      }

  public void testOsActivationWrongFamilyProfile() throws ProfileActivationException
       {
           Profile osActivated = new Profile();
           osActivated.setId("os-profile");

           Activation osActivation = new Activation();

           ActivationOS activationOS = new ActivationOS();

           activationOS.setFamily("!unix");

           osActivation.setOs(activationOS);

           osActivated.setActivation(osActivation);

           ProfileManager profileManager = new DefaultProfileManager(getContainer());

           profileManager.addProfile(osActivated);

           List active = profileManager.getActiveProfiles();

           assertNotNull( active );
           assertEquals( 0, active.size() );
       }

All these tests runs without a failure.

How can i ensure that this version is used by maven?



> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1509) Profile activation by os doesn't work

Posted by "David Boden (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1509?page=comments#action_53401 ] 

David Boden commented on MNG-1509:
----------------------------------

Morning. This is marked as fixed in 2.0.1 (which is now available on the ibiblio repository).

I'm using the following:

            <activation>
                <os>
                    <family>windows</family>
                </os>
            </activation>

This doesn't cause a profile to be activated when building on my Windows XP machine. If I set <activeByDefault/> then my build works and includes the profile as expected.

Help appreciated.

Moreover, I've looked through the commons-lang API documentation and source code. I can't find reference to anything resembling the concept of an operating system family identifier (e.g. "windows" or "unix").

import org.apache.commons.lang.SystemUtils;

public class CommonsLang {
    
    public static void main(String[] args) {
        System.out.println("IsOSWindows: " + SystemUtils.IS_OS_WINDOWS);
        System.out.println("OSName: " + SystemUtils.OS_NAME);
        System.out.println("OSArch: " + SystemUtils.OS_ARCH);
        System.out.println("OSVersion: " + SystemUtils.OS_VERSION);
    }

}

--- Output ---

IsOSWindows: true
OSName: Windows XP
OSArch: x86
OSVersion: 5.1

--- End Output ---

Setting <os><name>Windows XP</name></os> doesn't do the trick either.



> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>     Assignee: John Casey
>      Fix For: 2.0.1
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1509) Profile activation by os doesn't work

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1509?page=all ]

John Casey updated MNG-1509:
----------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> Profile activation by os doesn't work
> -------------------------------------
>
>          Key: MNG-1509
>          URL: http://jira.codehaus.org/browse/MNG-1509
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>  Environment: Ubuntu 5.10 maven 2.0
>     Reporter: Bernd Bohmann
>      Fix For: 2.0.4
>  Attachments: DefaultProfileManagerTest.java.patch, OperatingSystemProfileActivator.java.patch, OperatingSystemProfileActivator.java.patch, components.xml.patch
>
>
> Profile activation by os doesn't work.
> OperatingSystemProfileActivator is missing in components.xml.
> Implementation of OperatingSystemProfileActivator.isActive is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org