You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Paul G <ps...@googlemail.com> on 2008/04/04 10:47:06 UTC

Multi-module site, why must I do "mvn clean install site"?

Why do I have to run install to get a multi-module project to work correctly?

Is this a bug?
-- 
View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16488944.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


mvn site: Parent POM's version not inherited to child POMs

Posted by lo...@jpmchase.com.
When I do a mvn site or mvn clean install site, I find that the version 
given in the parent POM is not getting inherited to the child poms and it 
results in error as below. If I hardcode the parent POM's version in all 
the child POMs, the site generation goes fine. I'm using maven-2.0.8. 
Would like to know whether this problem is also associated to some other 
bug or if not so how this issue can be resolved?


[INFO] [site:site]
[WARNING] No Clover database found, skipping report generation
Downloading: 
http://repo1.maven.org/maven2/app/app_src/${release.number}/app_src-${release.number}.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[DEBUG] Artifact not found - using stub model: Unable to download the 
artifact from any repository

  app:app_src:pom:${release.number}

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  ....
  ...


Thanks & Regards,
Logu Rajamanickam

-----------------------------------------
This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of
any financial instrument or as an official confirmation of any
transaction. All market prices, data and other information are not
warranted as to completeness or accuracy and are subject to change
without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law. If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED. Although this transmission and any
attachments are believed to be free of any virus or other defect
that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it
is virus free and no responsibility is accepted by JPMorgan Chase &
Co., its subsidiaries and affiliates, as applicable, for any loss
or damage arising in any way from its use. If you received this
transmission in error, please immediately contact the sender and
destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.

Please refer to http://www.jpmorgan.com/pages/disclosures for
disclosures relating to UK legal entities.

Re: Multi-module site, why must I do "mvn clean install site"?

Posted by Paul G <ps...@googlemail.com>.
Robert,

That looks exactly like the bug to me.

CHeers


Robert Reiner wrote:
> 
> Hi Paul G,
> 
> I faced a similar problem today. We have a multi-project-build and the
> site plugin does not fetch the artifacts from the reactor, but tries to
> download them from the local repo. Therefore the artifacts need to be
> installed. I think this might be your problem, too.
> 
> There is a bug filed to Jira: http://jira.codehaus.org/browse/MSITE-171
> 
> Hope this helps.
> 
> Regards,
>   Robert
> 
> 
> Paul G wrote:
>> 
>> Why do I have to run install to get a multi-module project to work
>> correctly?
>> 
>> Is this a bug?
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16491790.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: Multi-module site, why must I do "mvn clean install site"?

Posted by Michael <sg...@gmx.net>.
Robert Reiner wrote:
> Hi Paul G,
> 
> I faced a similar problem today. We have a multi-project-build and the site
> plugin does not fetch the artifacts from the reactor, but tries to download
> them from the local repo. Therefore the artifacts need to be installed. I
> think this might be your problem, too.

I do suffer exactly from this bug, too!

I'll vote for, everyone affected should do!


-- 
<NO> OOXML - Say NO To Microsoft Office broken standard
http://www.noooxml.org

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


Re: Multi-module site, why must I do "mvn clean install site"?

Posted by Robert Reiner <rr...@smartics.de>.
Hi Paul G,

I faced a similar problem today. We have a multi-project-build and the site
plugin does not fetch the artifacts from the reactor, but tries to download
them from the local repo. Therefore the artifacts need to be installed. I
think this might be your problem, too.

There is a bug filed to Jira: http://jira.codehaus.org/browse/MSITE-171

Hope this helps.

Regards,
  Robert


Paul G wrote:
> 
> Why do I have to run install to get a multi-module project to work
> correctly?
> 
> Is this a bug?
> 

-- 
View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16491210.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: Multi-module site, why must I do "mvn clean install site"?

Posted by VUB Stefan Seidel <ss...@vub.de>.
Hi,

contrary to MSITE-171, I would say that this is not a bug. mvn site is 
for building the site, not the code. If you want fresh code coverage 
reports/surefire tests, of course you will have to run mvn install 
before - it's not a bug. Any standard site build will work just as fine 
without. It's mainly a question of understanding how maven works.

Stefan

Paul G wrote:
> Why do I have to run install to get a multi-module project to work correctly?
> 
> Is this a bug?

-- 
best regards,

Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.    +49 (341) 9 60 50 07
fax.    +49 (341) 9 60 50 92
mail.   sseidel@vub.de
web.    www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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