thanks that information helped me out.

Simply changed:

  <build>
    <sourceDirectory>src/main</sourceDirectory>
    <testSourceDirectory>src/test</testSourceDirectory>
    ....
  </build>


to:
  <build>
    <sourceDirectory>src/main/java</sourceDirectory>
    <testSourceDirectory>src/test/java</testSourceDirectory>
    ....
  </build>

now everything works fine.



Fabrice BELLINGARD wrote:
> 
> Hi,
> 
> one guy on this mailing list already had such a case: the problem would
> come
> from the fact that he didn't specify his source directory properly in his
> POM. And you problem is probably the same: I can see that because the
> generated HTML files are place in the folder "\target\site\xref\java". So
> I
> guess your POM is not correct.
> 
> HTH,
> Fabrice.
> 
> On 9/19/06, CodingPlayer <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi All,
>>
>> I'm currently trying to get the maven-jxr-plugin running.
>>
>> But there seems to be a bug in the plugIn or something missing in my
>> configuration.
>>
>> The Source Reference Pages are generated (when i run mvn site:site), but
>> the
>> packackge-frame.html and the package-summary.html are stored in a
>> different
>> folder as the class.html files.
>>
>> This problems ends up with missing links to the class.html files.
>>
>>
>> in detail:
>> the package-frame.html... is stored at
>>
>>    \target\site\xref\com\company\sub-package
>>
>> but the class.html files are stored at
>>
>>    \target\site\xref\java\com\company\sub-package
>>
>>
>>
>> Since i'm new to Maven2, i couldn't find out how to configure the plugIn
>> correctly.
>>
>> I even tried to pass a
>> <destDir>${project.build.directory}/site/xref</destDir> but the problem
>> still occurs.
>>
>> thankful 4 any help
>> R.C.
>> --
>> View this message in context:
>> http://www.nabble.com/-M2--maven-jxr-plugin-tf2299647.html#a6390324
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-M2--maven-jxr-plugin-tf2299647.html#a6409209
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to