You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by /U <um...@comcast.net> on 2009/04/17 01:02:21 UTC

Maven site plugin failure with multimodule projects

Maven 2.1.0, JDK1.6

I have a multimodule project with

    (projectA             ;; artifact A
        (projectB)        ;; artifact B
        (site
             (src
                ...
             )
        )
    )

mvn site:site at the toplevel causes it to fail in project "projectB" with
the
error that its unable to find the artifact 'B' in my src repository.
Why am I running into this error? How can I disable changelog generation so
as to generate the rest of the site?

projectA> mvn javadoc:javadoc site:site
//...
[INFO] Generating changed sets xml to:
/projectA/projectB/target/changelog.xml
[INFO] Executing: /bin/sh -c cd /projectA/projectB  && svn --non-interactive
log -v -r '{2009-03-17 05:58:36 +0000}:{2009-04-17 05:58:36 +0000}'
svn+ssh://<server>/branches/projectA/B
[INFO] Working directory: /projectA/projectB
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
svn: File not found: revision 4311, path '/projectA/B'

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error during page generation

Embedded error: Error rendering Maven report: An error has occurred during
changelog command : 
Command failed.
projectA>

Thanx,

/U
-- 
View this message in context: http://www.nabble.com/Maven-site-plugin-failure-with-multimodule-projects-tp23088201p23088201.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven site plugin failure with multimodule projects

Posted by /U <um...@comcast.net>.
Or, if I could create my site without changelog, I would
so as to bypass this issue. how do i configure my site plugin to
not generate changelogs?

thanks,

/U



/U wrote:
> 
> Maven 2.1.0, JDK1.6
> 
> I have a multimodule project with
> 
>     (projectA             ;; artifact A
>         (projectB)        ;; artifact B
>         (site
>              (src
>                 ...
>              )
>         )
>     )
> 
> mvn site:site at the toplevel causes it to fail in project "projectB" with
> the
> error that its unable to find the artifact 'B' in my src repository.
> Why am I running into this error? How can I disable changelog generation
> so
> as to generate the rest of the site?
> 
> projectA> mvn javadoc:javadoc site:site
> //...
> [INFO] Generating changed sets xml to:
> /projectA/projectB/target/changelog.xml
> [INFO] Executing: /bin/sh -c cd /projectA/projectB  && svn
> --non-interactive log -v -r '{2009-03-17 05:58:36 +0000}:{2009-04-17
> 05:58:36 +0000}' svn+ssh://<server>/branches/projectA/B
> [INFO] Working directory: /projectA/projectB
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> svn: File not found: revision 4311, path '/projectA/B'
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error during page generation
> 
> Embedded error: Error rendering Maven report: An error has occurred during
> changelog command : 
> Command failed.
> projectA>
> 
> Thanx,
> 
> /U
> 

-- 
View this message in context: http://www.nabble.com/Maven-site-plugin-failure-with-multimodule-projects-tp23088201p23088410.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Maven site plugin failure with multimodule projects

Posted by Todd Thiessen <th...@nortel.com>.
Just don't include the changelog report in your pom. There are no
reports defined in the super pom so you won't get any by default. So you
are getting them from a parent you have defined yourself, or the reports
are defined in your pom directly.

---
Todd Thiessen
 

> -----Original Message-----
> From: /U [mailto:uma_rk@comcast.net] 
> Sent: Friday, April 17, 2009 1:05 AM
> To: users@maven.apache.org
> Subject: Re: Maven site plugin failure with multimodule projects
> 
> 
> could someone help with this? Is there a way to run site 
> plugin without changelog?
> 
> thanks,
> 
> /U
> 
> /U wrote:
> > 
> > Maven 2.1.0, JDK1.6
> > 
> > I have a multimodule project with
> > 
> >     (projectA             ;; artifact A
> >         (projectB)        ;; artifact B
> >         (site
> >              (src
> >                 ...
> >              )
> >         )
> >     )
> > 
> > mvn site:site at the toplevel causes it to fail in project 
> "projectB" 
> > with the error that its unable to find the artifact 'B' in my src 
> > repository.
> > Why am I running into this error? How can I disable changelog 
> > generation so as to generate the rest of the site?
> > 
> > projectA> mvn javadoc:javadoc site:site
> > //...
> > [INFO] Generating changed sets xml to:
> > /projectA/projectB/target/changelog.xml
> > [INFO] Executing: /bin/sh -c cd /projectA/projectB  && svn 
> > --non-interactive log -v -r '{2009-03-17 05:58:36 +0000}:{2009-04-17
> > 05:58:36 +0000}' svn+ssh://<server>/branches/projectA/B
> > [INFO] Working directory: /projectA/projectB [ERROR] 
> Provider message:
> > [ERROR] The svn command failed.
> > [ERROR] Command output:
> > svn: File not found: revision 4311, path '/projectA/B'
> > 
> > [INFO]
> > 
> ----------------------------------------------------------------------
> > --
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> ----------------------------------------------------------------------
> > --
> > [INFO] Error during page generation
> > 
> > Embedded error: Error rendering Maven report: An error has occurred 
> > during changelog command :
> > Command failed.
> > projectA>
> > 
> > Thanx,
> > 
> > /U
> > 
> 
> --
> View this message in context: 
> http://www.nabble.com/Maven-site-plugin-failure-with-multimodu
> le-projects-tp23088201p23091146.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven site plugin failure with multimodule projects

Posted by /U <um...@comcast.net>.
could someone help with this? Is there a way to run site plugin without
changelog?

thanks,

/U

/U wrote:
> 
> Maven 2.1.0, JDK1.6
> 
> I have a multimodule project with
> 
>     (projectA             ;; artifact A
>         (projectB)        ;; artifact B
>         (site
>              (src
>                 ...
>              )
>         )
>     )
> 
> mvn site:site at the toplevel causes it to fail in project "projectB" with
> the
> error that its unable to find the artifact 'B' in my src repository.
> Why am I running into this error? How can I disable changelog generation
> so
> as to generate the rest of the site?
> 
> projectA> mvn javadoc:javadoc site:site
> //...
> [INFO] Generating changed sets xml to:
> /projectA/projectB/target/changelog.xml
> [INFO] Executing: /bin/sh -c cd /projectA/projectB  && svn
> --non-interactive log -v -r '{2009-03-17 05:58:36 +0000}:{2009-04-17
> 05:58:36 +0000}' svn+ssh://<server>/branches/projectA/B
> [INFO] Working directory: /projectA/projectB
> [ERROR] Provider message:
> [ERROR] The svn command failed.
> [ERROR] Command output:
> svn: File not found: revision 4311, path '/projectA/B'
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error during page generation
> 
> Embedded error: Error rendering Maven report: An error has occurred during
> changelog command : 
> Command failed.
> projectA>
> 
> Thanx,
> 
> /U
> 

-- 
View this message in context: http://www.nabble.com/Maven-site-plugin-failure-with-multimodule-projects-tp23088201p23091146.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org