Thanks a lot!
Works as expected!

On Wed, Feb 1, 2017 at 7:03 PM, Lukas Theussl <[email protected]> wrote:
>
> Heya,
>
> Try ${project.build.directory}/generated-site or change the
> generatedSiteDirectory parameter, see
>
> https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html#generatedSiteDirectory
>
> HTH,
> -Lukas
>
>
>
> Am 01.02.2017 um 11:49 schrieb Maxim Solodovnik:
>>
>> Hello Karl,
>>
>> Thanks a lot for the quick response
>> pre-site phase is being called if I'm using "mvn site"
>> but XML files from target/generated-sources/site/xdoc/ are not being
>> used while site generation ...
>> Should it be generated to the different folder?
>>
>> On Wed, Feb 1, 2017 at 3:52 PM, Karl Heinz Marbaise <[email protected]>
>> wrote:
>>>
>>> Hi,
>>>
>>> On 01/02/17 06:52, Maxim Solodovnik wrote:
>>>>
>>>> Hello All,
>>>>
>>>> I wonder is it possible to generate content for maven site plugin?
>>>> We are using xdoc for our site. I would like to generate source using
>>>> xml-maven-plugin.
>>>>
>>>> Right now I do it in generate-sources phase and polluting src/site/xdoc/
>>>> folder
>>>> I tried to change the process as follows:
>>>> 1) generate site source in pre-site phase
>>>> 2) put generated content into
>>>> ${project.build.directory}/generated-sources/site/xdoc/
>>>>
>>>> unfortunately it doesn't work this way :(
>>>> It seems pre-site phase is not being called during mvn site:site :(
>>>> What am I doing wrong?
>>>>
>>> If you call site:site you call the goal of the plugin and NOT the life
>>> cycle. You need to call mvn site instead than pre-site and site life
>>> cycle
>>> phases will run...
>>>
>>>
>>> Kind regards
>>> Karl Heinz Marbaise
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
WBR
Maxim aka solomax

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to