You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/21 02:46:38 UTC

[GitHub] [pulsar] vcottagiri opened a new issue #7616: The 'main' maven profile is not activated by default

vcottagiri opened a new issue #7616:
URL: https://github.com/apache/pulsar/issues/7616


   The recently introduced main maven build profile is not activated by default.
   
   **To Reproduce**
   `mvn install` does not run the 'main' profile
   `mvn install -P main`  works
   
   
   **Desktop:**
    - OS: Win10
   
   **Additional context**
   `mvn help:active-profiles` shows that the windows profile is activated
   
   [INFO] 
   [INFO] --- maven-help-plugin:3.1.1:active-profiles (default-cli) @ pulsar ---
   [INFO] 
   Active Profiles for Project 'org.apache.pulsar:pulsar:pom:2.7.0-SNAPSHOT':
   
   The following profiles are active:
   
    - windows (source: org.apache.pulsar:pulsar:2.7.0-SNAPSHOT)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] vcottagiri commented on issue #7616: The 'main' maven profile is not activated by default

Posted by GitBox <gi...@apache.org>.
vcottagiri commented on issue #7616:
URL: https://github.com/apache/pulsar/issues/7616#issuecomment-662542488


   You could also add the main profile to the mvn settings.xml <activeProfiles>sections


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] vcottagiri closed issue #7616: The 'main' maven profile is not activated by default

Posted by GitBox <gi...@apache.org>.
vcottagiri closed issue #7616:
URL: https://github.com/apache/pulsar/issues/7616


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] vcottagiri commented on issue #7616: The 'main' maven profile is not activated by default

Posted by GitBox <gi...@apache.org>.
vcottagiri commented on issue #7616:
URL: https://github.com/apache/pulsar/issues/7616#issuecomment-662174395


   Looked into this, not possible with what maven provides currently.
   
   On windows easiest way would be to add the '-P main' arg to the mvn command.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org