You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2008/05/04 21:19:22 UTC
[jira] Created: (JXR-63) Bottom line in jxr report does not
correspond to Javadoc style
Bottom line in jxr report does not correspond to Javadoc style
--------------------------------------------------------------
Key: JXR-63
URL: http://jira.codehaus.org/browse/JXR-63
Project: Maven JXR
Issue Type: Bug
Components: maven2 jxr plugin
Affects Versions: 2.1
Reporter: Michael Osipov
I user JXR with Maven and produce Javadoc too.
I've set:
<inceptionYear>2004</inceptionYear>
<organization>MyOrg</organization>
<organizationUrl>http://www.somedomain.com</organizationUrl>
What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
{code}
Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
{code}
but what jxr produces is
{code}
Copyright © 2004-2008 MyOrg. All Rights Reserved.
{code}
Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
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] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318081#comment-318081 ]
Michael Osipov commented on JXR-63:
-----------------------------------
Salut Olivier, if you want one, I will provide one!
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed JXR-63.
---------------------------
Resolution: Fixed
applied http://svn.apache.org/r1441356
Thanks !
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.4
>
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated JXR-63:
----------------------------
Fix Version/s: 2.4
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.4
>
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318029#comment-318029 ]
Olivier Lamy commented on JXR-63:
---------------------------------
any real patch ?
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318469#comment-318469 ]
Michael Osipov edited comment on JXR-63 at 2/1/13 3:32 AM:
-----------------------------------------------------------
Thank you, looking forward for the next release.
was (Author: michael-o):
Thanks you, looking forward for the next release.
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.4
>
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316472#comment-316472 ]
Michael Osipov commented on JXR-63:
-----------------------------------
No avail? A fix is very, very easy. Reuse AbstractJavadocMojo#getBottomText()
{code:java}
private String getBottomText()
{
int actualYear = Calendar.getInstance().get( Calendar.YEAR );
String year = String.valueOf( actualYear );
String inceptionYear = project.getInceptionYear();
String theBottom = StringUtils.replace( this.bottom, "{currentYear}", year );
if ( inceptionYear != null )
{
if ( inceptionYear.equals( year ) )
{
theBottom = StringUtils.replace( theBottom, "{inceptionYear}-", "" );
}
else
{
theBottom = StringUtils.replace( theBottom, "{inceptionYear}", inceptionYear );
}
}
else
{
theBottom = StringUtils.replace( theBottom, "{inceptionYear}-", "" );
}
if ( project.getOrganization() == null )
{
theBottom = StringUtils.replace( theBottom, " {organizationName}", "" );
}
else
{
if ( StringUtils.isNotEmpty( project.getOrganization().getName() ) )
{
if ( StringUtils.isNotEmpty( project.getOrganization().getUrl() ) )
{
theBottom = StringUtils.replace( theBottom, "{organizationName}",
"<a href=\"" + project.getOrganization().getUrl() + "\">"
+ project.getOrganization().getName() + "</a>" );
}
else
{
theBottom =
StringUtils.replace( theBottom, "{organizationName}", project.getOrganization().getName() );
}
}
else
{
theBottom = StringUtils.replace( theBottom, " {organizationName}", "" );
}
}
return theBottom;
}
{code}
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318161#comment-318161 ]
Olivier Lamy commented on JXR-63:
---------------------------------
yup please.
Merci !
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated JXR-63:
------------------------------
Attachment: JXR-63.patch
Salut Olivier,
have a look at the patch. I have fully aligned the generation to the JavaDoc plugin. They do resemble now.
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Michael Osipov (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318469#comment-318469 ]
Michael Osipov commented on JXR-63:
-----------------------------------
Thanks you, looking forward for the next release.
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.4
>
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (JXR-63) Bottom line in jxr report does not correspond to
Javadoc style
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/JXR-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy reassigned JXR-63:
-------------------------------
Assignee: Olivier Lamy
> Bottom line in jxr report does not correspond to Javadoc style
> --------------------------------------------------------------
>
> Key: JXR-63
> URL: https://jira.codehaus.org/browse/JXR-63
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Affects Versions: 2.1
> Reporter: Michael Osipov
> Assignee: Olivier Lamy
> Fix For: 2.4
>
> Attachments: JXR-63.patch
>
>
> I user JXR with Maven and produce Javadoc too.
> I've set:
> <inceptionYear>2004</inceptionYear>
> <organization>MyOrg</organization>
> <organizationUrl>http://www.somedomain.com</organizationUrl>
> What the JAvadoc plugin does for the javadoc report is, it creates a bottom line like this:
> {code}
> Copyright © 2004-2008 <a href="http://www.somedomain.com">MyOrg</a>. All Rights Reserved.
> {code}
> but what jxr produces is
> {code}
> Copyright © 2004-2008 MyOrg. All Rights Reserved.
> {code}
> Because JXR tries to resemble javadoc, this bottom line should produce the same ouput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira