Skip to content

Profile activation for WF app server doesn't properly work for Windows #21284

Closed

Description

@mabartos

Before reporting an issue

  • I have searched existing issues
  • I have reproduced the issue with the latest release

Area

testsuite

Describe the bug

As the documentation for the activeByDefault activation element states:
'This profile will automatically be active for all builds unless another profile in the same POM is activated using one of the previously described methods. All profiles that are active by default are automatically deactivated when a profile in the POM is activated on the command line or through its activation config.'

In the testsuite/integration-arquillian/servers/app-server/jboss/pom.xml, profile windows-properties-cli is implicitly enabled and the activeByDefault for WF app server is ignored same as the whole module.

You can see the WildFly app server module will not be built:

image

Version

999

Expected behavior

The module is built on Windows

Actual behavior

The module is not built on Windows

How to Reproduce?

mvn clean install -Dtest=UserTest -f testsuite/integration-arquillian/pom.xml

Anything else?

No response

Activity

  1. added
    area/testsuite
    kind/bug
    on Jun 28, 2023
  2. added a commit that references this issue on Jun 28, 2023
    311ad64
  3. ahus1 commented on Jul 20, 2023

    @ahus1
    Member

    Suggested workaround while this is being fixed:
    On Windows, add two profiles (Windows and the usual default profile) on the command line like this:

    mvnw clean install -Pwindows-properties-cli,app-server-wildfly 
    
  4. Pepo48 commented on Jul 23, 2023

    @Pepo48
    Contributor

    @mabartos (cc: @pedroigor) I think that this is also related to the changes introduced in #20976 - please, see my comment here.

  5. added a commit that references this issue on Jul 25, 2023
    c354cd5
  6. added a commit that references this issue on Jul 27, 2023
    4b36da0
  7. added a commit that references this issue on Jul 27, 2023
    f1587f1
  8. added a commit that references this issue on Jul 27, 2023
    34c941d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testsuitekind/bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions