Hello.
Indeed the bug seems to be the same... This also means the site is build
using obsolete data from the repository, and not the last building
versions...
Are you aware of some kind of workaround, except what I'm use to do running
Maven twice ?
Thanks.

--
Ephemeris Lappis

> -----Message d'origine-----
> De : Joerg Hohwiller [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 5 avril 2007 10:21
> À : Maven Users List
> Objet : Re: [MAVEN][2.0.6] Module dependencies using site-deploy
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ephemeris Lappis schrieb:
> > Hello.
> Hi,
> 
> Seems like the same issue I asked for on "29.03.2007 21:51"
> with the subject
> "Why does site require installation of artifacts?"
> You may want to search for the response from Damien sent on "30.03.2007
> 10:13":
> 
> # It seems to be a bug
> # http://jira.codehaus.org/browse/MJAVADOC-116
> #
> # Vote for it
> 
> Regards
>   Jörg
> 
> >
> >
> >
> > The « site-deploy » action, when building the site, seems to fail
> > resolving local module dependencies? In my test project, which pom is
> > attached, holds two modules. The second module has a dependence on the
> > first one. All seems to work as expected, except in the site-deploy
> > phase, the first time the project is build, and thus when no module is
> > installed in the local repository or deployed in the remote one. If I
> > run Maven using the command :
> >
> >
> >
> >             mvn clean deploy site-deploy.
> >
> >
> >
> > An error message says the first module is not found? Strange, since it
> > is in the same module ! If I run the following commands :
> >
> >
> >
> >             mvn clean deploy
> >
> >             mvn clean site-deploy
> >
> >
> >
> > All works, since the first command install and deploys al the modules
> > before the second command searchs for them..
> >
> >
> >
> > Is it a bug or a normal behavior ?
> >
> >
> >
> > Thanks.
> >
> >
> >
> > --
> >
> > Ephemeris Lappis
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > <project
> >     xmlns="http://maven.apache.org/POM/4.0.0";
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >             http://maven.apache.org/maven-v4_0_0.xsd";>
> >
> >     <modelVersion>4.0.0</modelVersion>
> >
> >     <groupId>org.moon.tests.maven</groupId>
> >     <artifactId>moon-maven-two</artifactId>
> >     <version>1.0.0</version>
> >     <inceptionYear>2007</inceptionYear>
> >
> >     <name>My Maven 2</name>
> >     <url>http://maven.moon.net</url>
> >
> >     <description>My Maven project number two...</description>
> >
> >     <packaging>pom</packaging>
> >
> >     <developers>
> >             <developer>
> >                     <name>Ephemeris Lappis</name>
> >                     <id>e.lappis</id>
> >                     <email>[EMAIL PROTECTED]</email>
> >                     <organization>Moon Soft</organization>
> >             </developer>
> >     </developers>
> >
> >     <properties>
> >             <my-temporary-directory>
> >
${java.io.tmpdir}/MOON-Test-II-By-Maven/${artifactId}-
> ${version}
> >             </my-temporary-directory>
> >     </properties>
> >
> >     <build>
> >             <sourceDirectory>Java</sourceDirectory>
> >             <testSourceDirectory>Java-JUnit</testSourceDirectory>
> >             <directory>${my-temporary-
> directory}/build.directory</directory>
> >             <outputDirectory>
> >                     ${my-temporary-directory}/java-classes.directory
> >             </outputDirectory>
> >             <testOutputDirectory>
> >                     ${my-temporary-directory}/junit-classes.directory
> >             </testOutputDirectory>
> >             <plugins>
> >                     <plugin>
> >                             <groupId>org.apache.maven.plugins</groupId>
> >                             <artifactId>maven-source-plugin</artifactId>
> >                             <executions>
> >                                     <execution>
> >                                             <goals>
> >                                                     <goal>jar</goal>
> >                                             </goals>
> >                                     </execution>
> >                             </executions>
> >                     </plugin>
> >             </plugins>
> >     </build>
> >
> >     <dependencies>
> >             <dependency>
> >                     <groupId>log4j</groupId>
> >                     <artifactId>log4j</artifactId>
> >                     <version>1.2.13</version>
> >                     <scope>compile</scope>
> >             </dependency>
> >             <dependency>
> >                     <groupId>junit</groupId>
> >                     <artifactId>junit</artifactId>
> >                     <version>3.8.1</version>
> >                     <scope>test</scope>
> >             </dependency>
> >     </dependencies>
> >
> >     <modules>
> >             <module>Module1</module>
> >             <module>Module2</module>
> >     </modules>
> >
> >     <!--
> >             <profiles>
> >             <profile>
> >             <id>studio</id>
> >             <activation>
> >             <activeByDefault>true</activeByDefault>
> >             </activation>
> >             <build>
> >             <finalName>${artifactId}-${version}_ETUDES</finalName>
> >             </build>
> >             </profile>
> >             <profile>
> >             <id>exploitation</id>
> >             <activation>
> >             <activeByDefault>true</activeByDefault>
> >             </activation>
> >             <build>
> >             <finalName>${artifactId}-${version}_PRODUCTION</finalName>
> >             </build>
> >             </profile>
> >             </profiles>
> >     -->
> >
> >     <reporting>
> >             <outputDirectory>
> >                     ${my-temporary-directory}/site.directory
> >             </outputDirectory>
> >             <plugins>
> >                     <plugin>
> >                             <groupId>org.apache.maven.plugins</groupId>
> >
<artifactId>maven-javadoc-plugin</artifactId>
> >                             <configuration>
> >                                     <aggregate>true</aggregate>
> >                                     <windowtitle>Maven Test
II</windowtitle>
> >                                     <doctitle>The Maven Test Number
> Two</doctitle>
> >                                     <offlineLinks>
> >                                             <offlineLink>
> >
>       <url>http://java.sun.com/j2se/1.5.0/docs/api/</url>
> >
<location>Javadoc-Links/Java-SE-
> 5.0</location>
> >                                             </offlineLink>
> >                                     </offlineLinks>
> >                             </configuration>
> >                     </plugin>
> >                     <plugin>
> >                             <groupId>org.apache.maven.plugins</groupId>
> >                             <artifactId>maven-pmd-plugin</artifactId>
> >                             <configuration>
> >                                     <aggregate>true</aggregate>
> >                             </configuration>
> >                     </plugin>
> >                     <plugin>
> >                             <groupId>org.apache.maven.plugins</groupId>
> >                             <artifactId>maven-jxr-plugin</artifactId>
> >                             <configuration>
> >                                     <aggregate>true</aggregate>
> >                                     <linkJavadoc>true</linkJavadoc>
> >                             </configuration>
> >                     </plugin>
> >                     <plugin>
> >                             <groupId>org.apache.maven.plugins</groupId>
> >
<artifactId>maven-checkstyle-plugin</artifactId>
> >                             <configuration>
> >                                     <aggregate>true</aggregate>
> >                             </configuration>
> >                     </plugin>
> >             </plugins>
> >     </reporting>
> >
> >     <distributionManagement>
> >             <repository>
> >                     <id>my-distribution-repository</id>
> >                     <name>My tests repository</name>
> >                     <url>
> >                             file:///E:/Works/MAVEN-PROXY-
> REPOSITORY/repositories/tests
> >                     </url>
> >             </repository>
> >             <site>
> >                     <id>local-tests-site</id>
> >
<url>file:///E:/Works/MAVEN-SITES/tests/My-Maven-Test-
> II-Site/</url>
> >             </site>
> >     </distributionManagement>
> >
> >     <repositories>
> >             <repository>
> >                     <id>central</id>
> >                     <name>The Repository for Philippe</name>
> >                     <url>http://localhost:9999/repository</url>
> >             </repository>
> >     </repositories>
> >
> >     <pluginRepositories>
> >             <pluginRepository>
> >                     <id>central</id>
> >                     <name>The Plugin Repository for Philippe</name>
> >                     <url>http://localhost:9999/repository</url>
> >             </pluginRepository>
> >     </pluginRepositories>
> >
> > </project>
> >
> >
> > ------------------------------------------------------------------------
> >
> > <project
> >     xmlns="http://maven.apache.org/POM/4.0.0";
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >             http://maven.apache.org/maven-v4_0_0.xsd";>
> >
> >     <modelVersion>4.0.0</modelVersion>
> >
> >     <artifactId>moon-maven-two-module-one</artifactId>
> >     <version>1.1.0</version>
> >     <parent>
> >             <groupId>org.moon.tests.maven</groupId>
> >             <artifactId>moon-maven-two</artifactId>
> >             <version>1.0.0</version>
> >     </parent>
> >
> >     <name>My Maven 2 - Module 1</name>
> >
> >     <description>Module one of my Maven project number
> two...</description>
> >
> >     <packaging>jar</packaging>
> >
> > </project>
> >
> >
> > ------------------------------------------------------------------------
> >
> > <project
> >     xmlns="http://maven.apache.org/POM/4.0.0";
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >             http://maven.apache.org/maven-v4_0_0.xsd";>
> >
> >     <modelVersion>4.0.0</modelVersion>
> >
> >     <artifactId>moon-maven-two-module-two</artifactId>
> >     <version>1.2.0</version>
> >     <parent>
> >             <groupId>org.moon.tests.maven</groupId>
> >             <artifactId>moon-maven-two</artifactId>
> >             <version>1.0.0</version>
> >     </parent>
> >
> >     <name>My Maven 2 - Module 2</name>
> >
> >     <description>Module two of my Maven project number
> two...</description>
> >
> >     <packaging>jar</packaging>
> >
> >     <dependencies>
> >             <dependency>
> >                     <groupId>org.moon.tests.maven</groupId>
> >                     <artifactId>moon-maven-two-module-one</artifactId>
> >                     <version>[1.0,)</version>
> >                     <scope>compile</scope>
> >             </dependency>
> >             <dependency>
> >                     <groupId>net.moon</groupId>
> >                     <artifactId>moon-one</artifactId>
> >                     <version>[1.0,)</version>
> >                     <scope>compile</scope>
> >             </dependency>
> >     </dependencies>
> >
> >     <build>
> >             <resources>
> >                     <resource>
> >                             <directory>Resources-Java</directory>
> >                     </resource>
> >             </resources>
> >             <testResources>
> >                     <testResource>
> >                             <directory>Resources-JUnit</directory>
> >                     </testResource>
> >             </testResources>
> >     </build>
> >
> > </project>
> >
> >
> > ------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGFLFymPuec2Dcv/8RAmZ/AKCOtPrnpEHZMXSey+pOZMXfqlxTggCfVnvd
> q+ZLgw4PD7afL7m2osgvUZg=
> =jGEj
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to