[ 
http://jira.codehaus.org/browse/MJNCSS-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Laurent de Morlhon reassigned MJNCSS-12:
---------------------------------------------

    Assignee:     (was: Jean-Laurent de Morlhon)

> Source added using build-helper-maven-plugin is missing...?
> -----------------------------------------------------------
>
>                 Key: MJNCSS-12
>                 URL: http://jira.codehaus.org/browse/MJNCSS-12
>             Project: Maven 2.x JavaNCSS Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-2
>         Environment: Windows XP, Maven 2.0.5, 
> org.codehaus.mojo:build-helper-maven-plugin:1.0
>            Reporter: Jan Palmquist
>
> Sources added by build-helper-maven-plugin does not get analyzed using this 
> plugin (javancss:report).
> ncss-plugin is documented as to analyze all sources being built by default...
> I guess a workaround is to add the source-directory using the <includes> 
> configuration...
> In my case, I use the following build-helper-maven-plugin configuration:
>   <build>
>     <plugins>
>          ....
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>build-helper-maven-plugin</artifactId>
>         <executions>
>           <execution>
>             <id>add-source</id>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>add-source</goal>
>             </goals>
>             <configuration>
>               <sources>
>                 <source>src/main/java</source>
>                 <source>src/main/java-generated</source>
>               </sources>
>             </configuration>
>           </execution>
>           <execution>
>             <id>add-test-source</id>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>add-test-source</goal>
>             </goals>
>             <configuration>
>               <sources>
>                 <source>src/test/java</source>
>                 <source>src/test/java-generated</source>
>               </sources>
>             </configuration>
>           </execution>
>         </executions>
>       </plugin>
>          ....
>     </plugins>
>   </build>

-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to