You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Giovanni Azua <br...@swissonline.ch> on 2008/04/19 20:35:51 UTC
xdoc and spaces after anchor issue
hi,
Before, and using maven 2.0.7 I was able to generate my project site with no
problems using xdoc and something like
<section name="Downloads">
downloads.html Downloads
</section>
Now using maven 2.0.7 or 2.0.8, 2.0.9 I get the html out of my xdoc files
generated with extra newline tabs and spaces after the basically in the
html generated every hyperlink is followed by many blank spaces.
I am building from fedora 8, all my xdocs are in Unix encoding, I have tried
using 2.0.7, 2.0.8 and 2.0.9.
Any clues why this is happening?
TIA,
regards,
Giovanni
--
View this message in context: http://www.nabble.com/xdoc-and-spaces-after-anchor-issue-tp16786393s177p16786393.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: xdoc and spaces after anchor issue
Posted by Giovanni Azua <br...@swissonline.ch>.
Sorry I meant a snippet like bellow is producing the problem:
<section name="Downloads">
<a href="downloads.html">Downloads</a>
</section>
PS: Had to use Nabble to post because from my email I only get " 550
relaying mail to maven.apache.org is not allowed"
--
View this message in context: http://www.nabble.com/xdoc-and-spaces-after-anchor-issue-tp16786393s177p16786434.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: xdoc and spaces after anchor issue
Posted by Giovanni Azua <br...@swissonline.ch>.
Hi Dennis,
Many thanks for your help! I switched my settings.xml to point to plugin
repositories in http://people.apache.org/repo/m2-snapshot-repository in
addition to Codehaus Snapshots (I need codehaus for the dashboard plugin)
I also fixed the maven-site-plugin to the snapshot version where MSITE-274
is resolved and the generated site still has the anchor spaces problem.
Attempting to troubleshoot this I deleted my ~/.m2/repository folder and
building again now.
Regards,
Giovanni
> -----Original Message-----
> From: Dennis Lundberg [mailto:dennisl@apache.org]
> Sent: Saturday, April 19, 2008 8:57 PM
> To: Maven Users List
> Subject: Re: xdoc and spaces after anchor issue
>
> You are running into
>
> http://jira.codehaus.org/browse/MSITE-274
>
> which has been fixed in the, not yet released, 2.0-beta-7 version of the
> site-plugin.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: xdoc and spaces after anchor issue
Posted by Dennis Lundberg <de...@apache.org>.
Giovanni Azua wrote:
> hi Dennis,
>
> Many thanks for your help!
>
>> Anyway, the html files that do get generated from xdoc files look fine
>> to me. Can you give me a concrete example of one file that exhibits this
>> problem?
>>
> e.g. the index.html file has the issue:
>
> <http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/src
> /site/xdoc/index.xml?view=markup>
Which link on that page? They all look fine to me...
> The only thing I recall needs local installation is JTA 1.0.1B API, that you
> can download from this link and rename to jar:
> <https://sdlc1a.sun.com/ECom/EComActionServlet;jsessionid=FBB957A912422239F1
> 014E29F5D0B517>
>
> which options did you use for building? did you use build.sh?
No, pom.xml. I didn't want to install your project's artifacts into my
local repository. So it's the project's own artifacts that are missing.
>
> The only open point remaining would be the settings.xml, mine is below.
>
> Best regards,
> Giovanni
>
> ************************* settings.xml *********************************
>
> <settings>
> <proxies>
> </proxies>
> <servers>
> <server>
> <id>sourceforge.net</id>
> <username></username>
> <password></password>
> <filePermissions>775</filePermissions>
> <directoryPermissions>775</directoryPermissions>
> </server>
> </servers>
> <mirrors>
> <mirror>
> <id>ibiblio.org</id>
> <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- United States, North Carolina -->
> </mirror>
> <mirror>
> <id>lsu.edu</id>
> <url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- United States, Louisiana -->
> </mirror>
> <mirror>
> <id>sateh.com</id>
> <url>http://maven.sateh.com/repository</url>
> <mirrorOf>central</mirrorOf>
> <!-- The Netherlands, Amsterdam -->
> </mirror>
> <mirror>
> <id>dotsrc.org</id>
> <url>http://mirrors.dotsrc.org/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- Denmark -->
> </mirror>
> <mirror>
> <id>sunsite.dk</id>
> <url>http://mirrors.sunsite.dk/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- Denmark -->
> </mirror>
> <mirror>
> <id>skynet.be</id>
> <url>http://maven2.mirrors.skynet.be/pub/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- Belgium -->
> </mirror>
> <mirror>
> <id>cica.es</id>
> <url>http://ftp.cica.es/mirrors/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- Spain, Sevilla -->
> </mirror>
> <mirror>
> <id>redv.com</id>
> <url>http://mirrors.redv.com/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- Shanghai, China -->
> </mirror>
> <!-- these just point to ibiblio.org -->
> <mirror>
> <id>ibiblio.net</id>
> <url>http://www.ibiblio.net/pub/packages/maven2</url>
> <mirrorOf>central</mirrorOf>
> <!-- United States, North Carolina -->
> </mirror>
> </mirrors>
> <profiles>
> <profile>
> <id>ydoc</id>
> <activation>
> <activeByDefault/>
> </activation>
> <properties>
> <ydoc.home>/opt/noarch/ydoc/3.0</ydoc.home>
> <ydoc.license>/opt/noarch/ydoc/3.0/license/ydoc.license</ydoc.license>
> </properties>
> </profile>
> <profile>
> <id>Snapshots</id>
> <repositories>
> <repository>
> <id>People Apache repository</id>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>false</enabled>
> </releases>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>Codehaus Snapshots</id>
> <url>http://snapshots.repository.codehaus.org/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>false</enabled>
> </releases>
> </pluginRepository>
> <pluginRepository>
> <id>People Apache Plugins repository</id>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>false</enabled>
> </releases>
> </pluginRepository>
> </pluginRepositories>
> </profile>
> </profiles>
> <activeProfiles>
> <activeProfile>ydoc</activeProfile>
> <activeProfile>Snapshots</activeProfile>
> </activeProfiles>
> </settings>
>
> ****************************************************************************
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: xdoc and spaces after anchor issue
Posted by Giovanni Azua <br...@swissonline.ch>.
hi Dennis,
Many thanks for your help!
> Anyway, the html files that do get generated from xdoc files look fine
> to me. Can you give me a concrete example of one file that exhibits this
> problem?
>
e.g. the index.html file has the issue:
<http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/src
/site/xdoc/index.xml?view=markup>
The only thing I recall needs local installation is JTA 1.0.1B API, that you
can download from this link and rename to jar:
<https://sdlc1a.sun.com/ECom/EComActionServlet;jsessionid=FBB957A912422239F1
014E29F5D0B517>
which options did you use for building? did you use build.sh?
The only open point remaining would be the settings.xml, mine is below.
Best regards,
Giovanni
************************* settings.xml *********************************
<settings>
<proxies>
</proxies>
<servers>
<server>
<id>sourceforge.net</id>
<username></username>
<password></password>
<filePermissions>775</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
</servers>
<mirrors>
<mirror>
<id>ibiblio.org</id>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- United States, North Carolina -->
</mirror>
<mirror>
<id>lsu.edu</id>
<url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- United States, Louisiana -->
</mirror>
<mirror>
<id>sateh.com</id>
<url>http://maven.sateh.com/repository</url>
<mirrorOf>central</mirrorOf>
<!-- The Netherlands, Amsterdam -->
</mirror>
<mirror>
<id>dotsrc.org</id>
<url>http://mirrors.dotsrc.org/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Denmark -->
</mirror>
<mirror>
<id>sunsite.dk</id>
<url>http://mirrors.sunsite.dk/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Denmark -->
</mirror>
<mirror>
<id>skynet.be</id>
<url>http://maven2.mirrors.skynet.be/pub/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Belgium -->
</mirror>
<mirror>
<id>cica.es</id>
<url>http://ftp.cica.es/mirrors/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Spain, Sevilla -->
</mirror>
<mirror>
<id>redv.com</id>
<url>http://mirrors.redv.com/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- Shanghai, China -->
</mirror>
<!-- these just point to ibiblio.org -->
<mirror>
<id>ibiblio.net</id>
<url>http://www.ibiblio.net/pub/packages/maven2</url>
<mirrorOf>central</mirrorOf>
<!-- United States, North Carolina -->
</mirror>
</mirrors>
<profiles>
<profile>
<id>ydoc</id>
<activation>
<activeByDefault/>
</activation>
<properties>
<ydoc.home>/opt/noarch/ydoc/3.0</ydoc.home>
<ydoc.license>/opt/noarch/ydoc/3.0/license/ydoc.license</ydoc.license>
</properties>
</profile>
<profile>
<id>Snapshots</id>
<repositories>
<repository>
<id>People Apache repository</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>People Apache Plugins repository</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>ydoc</activeProfile>
<activeProfile>Snapshots</activeProfile>
</activeProfiles>
</settings>
****************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: xdoc and spaces after anchor issue
Posted by Dennis Lundberg <de...@apache.org>.
I checked out the code and tried to build the site locally. The site
build doesn't complete, because I haven't installed the artifacts in my
local repo.
Anyway, the html files that do get generated from xdoc files look fine
to me. Can you give me a concrete example of one file that exhibits this
problem?
Giovanni Azua wrote:
> Hi Dennis,
>
> Even now that I am using the fixed version of maven-site-plugin I still get
> all spaces/tabs/newline after the closing of the anchors in my project site.
>
> I configured my pom.xml to:
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <version>2.0-beta-7-SNAPSHOT</version>
> </plugin>
>
> See:
>
> http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/pom.
> xml?view=markup
>
> And adding a default activated profile in my settings.xml like below to be
> able to access the maven-site-plugin version 2.0-beta-7-SNAPSHOT:
>
> <profile>
> <id>Snapshots</id>
> <repositories>
> <repository>
> <id>People Apache repository</id>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>Codehaus Snapshots</id>
> <url>http://snapshots.repository.codehaus.org/</url>
> </pluginRepository>
> <pluginRepository>
> <id>People Apache Plugins repository</id>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> </pluginRepository>
> </pluginRepositories>
> </profile>
>
> Best regards,
> Giovanni
>
>> -----Original Message-----
>> From: Dennis Lundberg [mailto:dennisl@apache.org]
>> Sent: Saturday, April 19, 2008 8:57 PM
>> To: Maven Users List
>> Subject: Re: xdoc and spaces after anchor issue
>>
>> You are running into
>>
>> http://jira.codehaus.org/browse/MSITE-274
>>
>> which has been fixed in the, not yet released, 2.0-beta-7 version of the
>> site-plugin.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: xdoc and spaces after anchor issue
Posted by Giovanni Azua <br...@swissonline.ch>.
Hi Dennis,
Even now that I am using the fixed version of maven-site-plugin I still get
all spaces/tabs/newline after the closing of the anchors in my project site.
I configured my pom.xml to:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-7-SNAPSHOT</version>
</plugin>
See:
http://perfectjpattern.svn.sourceforge.net/viewvc/perfectjpattern/trunk/pom.
xml?view=markup
And adding a default activated profile in my settings.xml like below to be
able to access the maven-site-plugin version 2.0-beta-7-SNAPSHOT:
<profile>
<id>Snapshots</id>
<repositories>
<repository>
<id>People Apache repository</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
<pluginRepository>
<id>People Apache Plugins repository</id>
<url>http://people.apache.org/repo/m2-snapshot-repository/</url>
</pluginRepository>
</pluginRepositories>
</profile>
Best regards,
Giovanni
> -----Original Message-----
> From: Dennis Lundberg [mailto:dennisl@apache.org]
> Sent: Saturday, April 19, 2008 8:57 PM
> To: Maven Users List
> Subject: Re: xdoc and spaces after anchor issue
>
> You are running into
>
> http://jira.codehaus.org/browse/MSITE-274
>
> which has been fixed in the, not yet released, 2.0-beta-7 version of the
> site-plugin.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: xdoc and spaces after anchor issue
Posted by Dennis Lundberg <de...@apache.org>.
You are running into
http://jira.codehaus.org/browse/MSITE-274
which has been fixed in the, not yet released, 2.0-beta-7 version of the
site-plugin.
Giovanni Azua wrote:
> hi,
>
> Before, and using maven 2.0.7 I was able to generate my project site with no
> problems using xdoc and something like
>
> <section name="Downloads">
> downloads.html Downloads
> </section>
>
> Now using maven 2.0.7 or 2.0.8, 2.0.9 I get the html out of my xdoc files
> generated with extra newline tabs and spaces after the basically in the
> html generated every hyperlink is followed by many blank spaces.
>
> I am building from fedora 8, all my xdocs are in Unix encoding, I have tried
> using 2.0.7, 2.0.8 and 2.0.9.
>
> Any clues why this is happening?
>
> TIA,
> regards,
> Giovanni
>
>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: xdoc and spaces after anchor issue
Posted by Martin Gainty <mg...@hotmail.com>.
Giovanni-
Did you contact bluestream ?
http://www.bluestream.com/company/contactus
Buono prospettiva
Martin
----- Original Message -----
From: "Giovanni Azua" <br...@swissonline.ch>
To: <us...@maven.apache.org>
Sent: Saturday, April 19, 2008 2:35 PM
Subject: xdoc and spaces after anchor issue
>
> hi,
>
> Before, and using maven 2.0.7 I was able to generate my project site with
no
> problems using xdoc and something like
>
> <section name="Downloads">
> downloads.html Downloads
> </section>
>
> Now using maven 2.0.7 or 2.0.8, 2.0.9 I get the html out of my xdoc files
> generated with extra newline tabs and spaces after the basically in the
> html generated every hyperlink is followed by many blank spaces.
>
> I am building from fedora 8, all my xdocs are in Unix encoding, I have
tried
> using 2.0.7, 2.0.8 and 2.0.9.
>
> Any clues why this is happening?
>
> TIA,
> regards,
> Giovanni
>
>
> --
> View this message in context:
http://www.nabble.com/xdoc-and-spaces-after-anchor-issue-tp16786393s177p1678
6393.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