Hi Jerome,

Unsupported feature outofbox.

An easy workaround is to use reportset, something like this following:

 <reporting>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-jxr-plugin</artifactId>
       <reportSets>
         <reportSet>
           <id>com</id>
           <configuration>
             ...
           </configuration>
           <reports>
             <report>jxr</report>
           </reports>
         </reportSet>
         <reportSet>
           <id>test</id>
           <configuration>
             ...
           </configuration>
           <reports>
             <report>jxr</report>
           </reports>
         </reportSet>
       </reportSets>
     </plugin>
   </plugins>
 </reporting>

Cheers,

Vincent

2007/7/10, Jerome Thibaud <[EMAIL PROTECTED]>:
Hi,

I got a legacy project where tests and application sources are under the
same directory

/src/com/...
      /test/...


Enters maven-jxr-plugin. Which is called twice during site generation, once
for the (app) sources and once for the tests.

And I want to filter out src/test during the (app) sources Xref generation
and to filter out src/com during the tests Xref generation.

So I see a filter configuration

        <configuration>
          ...
          <includes>
            <include>**/include/*.java</include>
          <includes>
          ...
        </configuration>

 Makes me feel like I'm almost there, but, considering the absence of more
settings,
I suppose this applies to both jxr:jxr and jxr:test-jxr.

Hence my question, how do I specify 2 configurations, one for the execution
of jxr:jxr and the other for jxr-test-jxr?

Thanks in advance

Jerome Thibaud


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to