You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andrew Hughes (JIRA)" <ji...@codehaus.org> on 2010/05/03 06:10:12 UTC
[jira] Created: (MSITE-477) href's drop the
leading character in the href
<menu ref="modules"/> href's drop the leading character in the href
-------------------------------------------------------------------
Key: MSITE-477
URL: http://jira.codehaus.org/browse/MSITE-477
Project: Maven 2.x Site Plugin
Issue Type: Bug
Components: multi module
Affects Versions: 2.1, 2.0.1
Reporter: Andrew Hughes
parent pom.xml:
{noformat}
<module>module-a</modules>
{noformat}
parent site.xml:
{noformat}
<menu ref="modules"/>
{noformat}
The generated html links to "module-a" look like this....
{noformat}
<a href="odule-a/index.html" title="module-a">module-a</a>
{noformat}
Note, the href is missing the leading character "m", it should be..
{noformat}
<a href="module-a/index.html" title="module-a">module-a</a>
{noformat}
I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220313#action_220313 ]
Andrew Hughes commented on MSITE-477:
-------------------------------------
Currently running with maven 2.2.1, and maven-site-plugin 2.0.1 on Windows XP (32bit).
{noformat}
<distributionManagement>
<!--
We don't have anywhere to deploy site releases too (no ftp
or scp or svn). But we still want to use site:stage-deploy
for the hudson builds. These param's are needed by the site
plugin, but will be by-passed by...
<stagingSiteURL>file://...../${project.groupId}</stagingSiteURL>
So add that as a property in a profile if you want to deploy
sites.
-->
<site>
<id>site</id>
<name>site</name>
<url>placeholder-only</url>
</site>
</distributionManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.4.2</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<maxmemory>512m</maxmemory>
<useStandardDocletOptions>true</useStandardDocletOptions>
<!--
The following configuration adds support for uml
class diagrams in the javadocs. This is done via
UmlGraph and the Dotuml plugin (upstream). In
order for these two plugins to work graphviz
needs to be installed on the machine running it
and ./Graphviz2.26.3/bin to be on the system
PATH. If you don't have this the build will
still work, but the diagrams will be missing.
-->
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.6</version>
</docletArtifact>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
</plugins>
</reporting>
{noformat}
I am not providing a site.xml, ./src/site is completely empty. The project does not have a parent.
The only *strange* thing I am doing is asking hudson to deploy the site with the following goals:
{noformat}
clean install site site:stage-deploy -DstagingSiteURL=file://e:/Data/Apache/sites/com.acme.project
{noformat}
But, I doubt that any of the above configuration has anything todo with the generated module href's.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221159#action_221159 ]
Dennis Lundberg commented on MSITE-477:
---------------------------------------
Andrew, thanks for the files. I can confirm that I get the same (wrong) results at my end. Will investigate the source to see if I can find out what's causing it.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221175#action_221175 ]
Dennis Lundberg commented on MSITE-477:
---------------------------------------
The issue comes from the fact that PathUtils.basedir(String url) in the wagon component doesn't gracefully handle URLs without a protocol, like the one you use "placeholder-only". This leads to an off-by-one error when creating the path to the modules. Because wagon is an integral part of maven core (I think) it might be tricky to fix this. I'll ask the other devs for advice.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219705#action_219705 ]
Lukas Theussl commented on MSITE-477:
-------------------------------------
Please attach a little test project.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221184#action_221184 ]
Andrew Hughes commented on MSITE-477:
-------------------------------------
Would it be possible to run stage-deploy without the mandatory need for <distributionManagement><site></site><distributionManagement>? That means I could remove my silly placeholder all together. Until then I will just put in a properly formed url, even if it points to nothing.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-477) href's drop the
leading character in the href when staging a site
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSITE-477:
----------------------------------
Assignee: Dennis Lundberg
Summary: <menu ref="modules"/> href's drop the leading character in the href when staging a site (was: <menu ref="modules"/> href's drop the leading character in the href)
> <menu ref="modules"/> href's drop the leading character in the href when staging a site
> ---------------------------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Assignee: Dennis Lundberg
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-477) href's drop the
leading character in the href when staging a site
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MSITE-477:
-------------------------------
Fix Version/s: 3.0-alpha-1
> <menu ref="modules"/> href's drop the leading character in the href when staging a site
> ---------------------------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Assignee: Dennis Lundberg
> Fix For: 2.1.1, 3.0-alpha-1
>
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (MSITE-477)
href's drop the leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220313#action_220313 ]
Andrew Hughes edited comment on MSITE-477 at 5/7/10 2:27 AM:
-------------------------------------------------------------
Currently running with maven 2.2.1, and maven-site-plugin 2.0.1 on Windows Server 2003 SP2.
{noformat}
<distributionManagement>
<!--
We don't have anywhere to deploy site releases too (no ftp
or scp or svn). But we still want to use site:stage-deploy
for the hudson builds. These param's are needed by the site
plugin, but will be by-passed by...
<stagingSiteURL>file://...../${project.groupId}</stagingSiteURL>
So add that as a property in a profile if you want to deploy
sites.
-->
<site>
<id>site</id>
<name>site</name>
<url>placeholder-only</url>
</site>
</distributionManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.4.2</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<maxmemory>512m</maxmemory>
<useStandardDocletOptions>true</useStandardDocletOptions>
<!--
The following configuration adds support for uml
class diagrams in the javadocs. This is done via
UmlGraph and the Dotuml plugin (upstream). In
order for these two plugins to work graphviz
needs to be installed on the machine running it
and ./Graphviz2.26.3/bin to be on the system
PATH. If you don't have this the build will
still work, but the diagrams will be missing.
-->
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.6</version>
</docletArtifact>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
</plugins>
</reporting>
{noformat}
I am not providing a site.xml, ./src/site is completely empty. The project does not have a parent.
The only *strange* thing I am doing is asking hudson to deploy the site with the following goals:
{noformat}
clean install site site:stage-deploy -DstagingSiteURL=file://e:/Data/Apache/sites/com.acme.project
{noformat}
But, I doubt that any of the above configuration has anything todo with the generated module href's.
was (Author: ahhughes):
Currently running with maven 2.2.1, and maven-site-plugin 2.0.1 on Windows XP (32bit).
{noformat}
<distributionManagement>
<!--
We don't have anywhere to deploy site releases too (no ftp
or scp or svn). But we still want to use site:stage-deploy
for the hudson builds. These param's are needed by the site
plugin, but will be by-passed by...
<stagingSiteURL>file://...../${project.groupId}</stagingSiteURL>
So add that as a property in a profile if you want to deploy
sites.
-->
<site>
<id>site</id>
<name>site</name>
<url>placeholder-only</url>
</site>
</distributionManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<findbugsXmlOutput>true</findbugsXmlOutput>
<findbugsXmlWithMessages>true</findbugsXmlWithMessages>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.4.2</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<maxmemory>512m</maxmemory>
<useStandardDocletOptions>true</useStandardDocletOptions>
<!--
The following configuration adds support for uml
class diagrams in the javadocs. This is done via
UmlGraph and the Dotuml plugin (upstream). In
order for these two plugins to work graphviz
needs to be installed on the machine running it
and ./Graphviz2.26.3/bin to be on the system
PATH. If you don't have this the build will
still work, but the diagrams will be missing.
-->
<doclet>gr.spinellis.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>gr.spinellis</groupId>
<artifactId>UmlGraph</artifactId>
<version>4.6</version>
</docletArtifact>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<targetJdk>${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
</plugins>
</reporting>
{noformat}
I am not providing a site.xml, ./src/site is completely empty. The project does not have a parent.
The only *strange* thing I am doing is asking hudson to deploy the site with the following goals:
{noformat}
clean install site site:stage-deploy -DstagingSiteURL=file://e:/Data/Apache/sites/com.acme.project
{noformat}
But, I doubt that any of the above configuration has anything todo with the generated module href's.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-477) href's drop the
leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Hughes updated MSITE-477:
--------------------------------
Attachment: MSITE-477-site-deploy-output.rar
This is the 'stage-deploy' output I get from 'mvn clean install site site:stage-deploy -DstagingSiteURL=file://c:/Temp/MSITE-477' on the attached MSITE-477 project.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220607#action_220607 ]
Dennis Lundberg commented on MSITE-477:
---------------------------------------
I'm confused. Is this a multi module issue or not?
Please attach a complete sample project (not a POM snippet) that we can use to reproduce the issue. Without one it's near impossible to track this down.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MSITE-477) href's drop the
leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Hughes updated MSITE-477:
--------------------------------
Attachment: MSITE-477.rar
To reproduce, run 'mvn clean install site site:stage-deploy -DstagingSiteURL=file://c:/Temp/MSITE-477'. Then look at the links to the modules on file://c:/Temp/MSITE-477/index.html under the 'Modules' section. Requires maven 2.2.1 and jdk 1.6.0_18+ (I am using 1.6.0_18).
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Attachments: MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Andrew Hughes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220612#action_220612 ]
Andrew Hughes commented on MSITE-477:
-------------------------------------
{quote}
I'm confused. Is this a multi module issue or not?
{quote}
Yes. Very very very odd that it is doing this. There is nothing special about the parent or module pom's. I am not using a site skin and I have not messesd with any of the velocity templates. Perhaps rather than submitting a few pom's that will no doubt work on your configuration - perhaps I should try and debug this from mine? Problem is I don't know where to start looking to see where in the plugin the module href's are generated.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MSITE-477) href's drop the
leading character in the href when staging a site
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MSITE-477.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1
Fixed in [r944145|http://svn.apache.org/viewvc?view=revision&revision=944145].
> <menu ref="modules"/> href's drop the leading character in the href when staging a site
> ---------------------------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
> Assignee: Dennis Lundberg
> Fix For: 2.1.1
>
> Attachments: MSITE-477-site-deploy-output.rar, MSITE-477.rar
>
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSITE-477) href's drop the
leading character in the href
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSITE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220671#action_220671 ]
Dennis Lundberg commented on MSITE-477:
---------------------------------------
I'd still like to test drive your project at my end.
Perhaps it's something simple to fix.
> <menu ref="modules"/> href's drop the leading character in the href
> -------------------------------------------------------------------
>
> Key: MSITE-477
> URL: http://jira.codehaus.org/browse/MSITE-477
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 2.0.1, 2.1
> Reporter: Andrew Hughes
>
> parent pom.xml:
> {noformat}
> <module>module-a</modules>
> {noformat}
> parent site.xml:
> {noformat}
> <menu ref="modules"/>
> {noformat}
> The generated html links to "module-a" look like this....
> {noformat}
> <a href="odule-a/index.html" title="module-a">module-a</a>
> {noformat}
> Note, the href is missing the leading character "m", it should be..
> {noformat}
> <a href="module-a/index.html" title="module-a">module-a</a>
> {noformat}
> I tried to run this wil 2.0.1 and 2.1 - but got the same result with both. Hopfully this is a mis-configuration on my part, but if it is then perhaps it can be tested by the plugin and can fail the build.
> Thanks for reading :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira