You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jörg Hohwiller <jo...@j-hohwiller.de> on 2010/10/16 01:37:34 UTC

Maven 3 and site generation

Hi there,

I went to the official maven 3.0 release and build works fine.
Log-messages and performance have improved.

However site generation is exorbitant slow and produces wired exceptions
such as
FileNotFoundException: ......./target/classes (permission denied)
...
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
...
	at 
org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:283)

I use
maven-site-plugin:3.0-beta2
maven-project-info-reports-plugin:2.2
maven-javadoc-plugin:2.7

Do you have success-stories with multi-project site generation and m3?
Or am I on an early adopters terrain here and should better stay
with m2, even though official 3.0 has been released?

Best regards
   Jörg

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


Re: Maven 3 and site generation

Posted by Jörg Hohwiller <jo...@j-hohwiller.de>.
On 16.10.2010 09:05, Olivier Lamy wrote:
> Hi,
> Yes I agree, it's very noisy : the report
> project-info-reports:dependencies must ignore target/classes
> directories coming from reactors.
> Can you load a jira entry ?
>
> Thanks,

Hi,

I will do some more evaluation and then raise ticket(s).
So far I am very confused by the "(permission denied)"
as this does not fit with not existing directories.

However my major problem is that my site:stage build is now running for about 3 
days and is still running. So I can say for 99,9999% that this is an infinity 
loop (it used to take 2 hours).

I aways get lines like

The goal '...javadoc-plugin:2.7:javadoc' has not been previously called for the 
project: '...'. Trying to invoke it...

for all my modules. And this cycles on and on.
Very strange...
Any ideas?

Regards
   Jörg


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


RE: Maven 3 and site generation

Posted by Br...@nokia.com.
Hi all,

I could use some clarification on how SNAPSHOTs work.

Scenario:

- Maven 2.2.1
- componentB depends on componentA, both are being built as snapshot versions.
- I have the source code for both components locally and have built and installed both to my local repo (mvn install)
- Both components are also built on a CI server and the snapshot artifacts are deployed to our in-house Artifactory repo.
  Builds occur automatically whenever a change is detected by our CI server.

Questions:

Let's say I'm working on componentB. When building componentB, in what cases will componentA be downloaded from Artifactory? 
That is, what controls whether I am building componentB against the version of componentA that I built and installed in my local repo 
or against a newly-downloaded version that had been deployed to Artifactory?

How is all of this affected by the snapshots updatePolicy in my settings? By default, does a new version of componentA get downloaded 
every day (assuming a new one has been deployed to Artifactory)?

Thanks.

-brian


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


Re: Maven 3 and site generation

Posted by "Thiago Moreira (timba)" <tm...@gmail.com>.
 I think I'm in the same boat...

 I found the following resources that helped me out to fix some of the
problems

  https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html

<https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html>
http://maven.apache.org/doxia/references/doxia-apt.html

<http://maven.apache.org/doxia/references/doxia-apt.html>  Hope that help

  My best

  Thiago Moreira

On Sat, Oct 16, 2010 at 4:05 AM, Olivier Lamy <ol...@apache.org> wrote:

> Hi,
> Yes I agree, it's very noisy : the report
> project-info-reports:dependencies must ignore target/classes
> directories coming from reactors.
> Can you load a jira entry ?
>
> Thanks,
> --
> Olivier
> http://twitter.com/olamy
> http://www.linkedin.com/in/olamy
>
>
> 2010/10/16 Jörg Hohwiller <jo...@j-hohwiller.de>:
> > Hi there,
> >
> > I went to the official maven 3.0 release and build works fine.
> > Log-messages and performance have improved.
> >
> > However site generation is exorbitant slow and produces wired exceptions
> > such as
> > FileNotFoundException: ......./target/classes (permission denied)
> > ...
> >        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> > ...
> >        at
> >
> org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:283)
> >
> > I use
> > maven-site-plugin:3.0-beta2
> > maven-project-info-reports-plugin:2.2
> > maven-javadoc-plugin:2.7
> >
> > Do you have success-stories with multi-project site generation and m3?
> > Or am I on an early adopters terrain here and should better stay
> > with m2, even though official 3.0 has been released?
> >
> > Best regards
> >  Jörg
> >
> > ---------------------------------------------------------------------
> > 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 3 and site generation

Posted by Olivier Lamy <ol...@apache.org>.
Hi,
Yes I agree, it's very noisy : the report
project-info-reports:dependencies must ignore target/classes
directories coming from reactors.
Can you load a jira entry ?

Thanks,
-- 
Olivier
http://twitter.com/olamy
http://www.linkedin.com/in/olamy


2010/10/16 Jörg Hohwiller <jo...@j-hohwiller.de>:
> Hi there,
>
> I went to the official maven 3.0 release and build works fine.
> Log-messages and performance have improved.
>
> However site generation is exorbitant slow and produces wired exceptions
> such as
> FileNotFoundException: ......./target/classes (permission denied)
> ...
>        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
> ...
>        at
> org.apache.maven.report.projectinfo.dependencies.Dependencies.getJarDependencyDetails(Dependencies.java:283)
>
> I use
> maven-site-plugin:3.0-beta2
> maven-project-info-reports-plugin:2.2
> maven-javadoc-plugin:2.7
>
> Do you have success-stories with multi-project site generation and m3?
> Or am I on an early adopters terrain here and should better stay
> with m2, even though official 3.0 has been released?
>
> Best regards
>  Jörg
>
> ---------------------------------------------------------------------
> 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