You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/09/06 07:00:00 UTC

[jira] [Comment Edited] (MNG-7233) doesn't work when an another trigger exists

    [ https://issues.apache.org/jira/browse/MNG-7233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410408#comment-17410408 ] 

Michael Osipov edited comment on MNG-7233 at 9/6/21, 6:59 AM:
--------------------------------------------------------------

Questions go to users mailing list.


was (Author: michael-o):
Question go to users mailing list.

> <activeByDefault/> doesn't work when an another trigger exists
> --------------------------------------------------------------
>
>                 Key: MNG-7233
>                 URL: https://issues.apache.org/jira/browse/MNG-7233
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap &amp; Build
>    Affects Versions: 3.6.3
>            Reporter: Jin Kwon
>            Priority: Major
>
> I have following profiles.
> {code:xml}
>     <profile>
>       <id>active-by-default</id>
>       <activation>
>         <activeByDefault>true</activeByDefault>
>       </activation>
>       <dependencies>
>         <dependency>
>           <groupId>org.mongodb</groupId>
>           <artifactId>mongodb-driver-sync</artifactId>
>           <version>${version.org.mongodb}</version>
>           <scope>provided</scope>
>         </dependency>
>       </dependencies>
>     </profile>
>     <profile>
>       <id>java8</id>
>       <activation>
>         <jdk>(,1.8]</jdk>
>       </activation>
>       <build>
>         <plugins>
>           <plugin>
>             <groupId>com.github.wvengen</groupId>
>             <artifactId>proguard-maven-plugin</artifactId>
>             <configuration>
>               <libs>
>                 <lib>${java.home}/lib/rt.jar</lib>
>                 <lib>${java.home}/lib/jce.jar</lib>
>                 <lib>${java.home}/lib/jsse.jar</lib>
>               </libs>
>             </configuration>
>           </plugin>
>         </plugins>
>       </build>
>     </profile>
>     <profile>
>       <id>java9</id>
>       <activation>
>         <jdk>[1.9,)</jdk>
>       </activation>
>       <build>
>         <plugins>
>           <plugin>
>             <groupId>com.github.wvengen</groupId>
>             <artifactId>proguard-maven-plugin</artifactId>
>             <configuration>
>               <libs>
>                 <lib>${java.home}/jmods/java.base.jmod</lib>
>               </libs>
>             </configuration>
>           </plugin>
>         </plugins>
>       </build>
>     </profile>
> {code}
> Those two {{java-}} profiles are for ProGuard.
> And I found the {{active-by-default}} profile doesn't work.
> I found it works when I remove one of those {{java-}} profile.
> Is this intended?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)