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

Tobias Warneke commented on NETBEANS-3690:
------------------------------------------

If I activate the configuration using the options dialog / configurations, then 
it worked.

> in maven multimodule project profile not propagated in submodule if choosen 
> via project config
> ----------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-3690
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3690
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>            Reporter: Tobias Warneke
>            Priority: Major
>
> I have a multimoduel project:
>  
> module A
>    - child module B
>  
> Within a profile defined in A I modified the configuration of my surefire 
> plugin, like:
> {{<profile>}}
> {{ <id>skip-longrunning-tests</id>}}
> {{ <build>}}
> {{ <plugins> }}
> {{ <plugin>}}
> {{ <groupId>org.apache.maven.plugins</groupId>}}
> {{ <artifactId>maven-surefire-plugin</artifactId>}}
> {{ <configuration>}}
> {{ <excludes>}}
> {{ <exclude>**/long*/*</exclude>}}
> {{ <exclude>**/LR_*</exclude>}}
> {{ </excludes>}}
> {{ <excludedGroups>LONGRUNNING</excludedGroups> }}
> {{</configuration>}}
> {{ </plugin>}}
> {{ </plugins>}}
> {{ </build>}}
> {{ </profile>}}
> Now Netbeans provides me a new "project configuration" within this toolbar 
> list called "skip-longrunning-tests". So far so good. 
> I was expecting that now that if I use this project configuration, that my 
> profile is attached to the maven call but it isn't.
> I expecting: *clean install -Plong-running-tests*
> but getting: *clean install*
>  
> If I run maven including manually this profile, it runs perfectly.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to