You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Burridge <br...@burridge.net> on 2006/02/20 22:16:35 UTC

Changelog error linking to scm url

I am having two problems with the changelog plugin, version 2.0-beta-1.

For the scm url, I have given the url to the root of the cvs project.
However, the source code is in the /src directory within that project.
How do I indicate this to the changelog plugin? Also, the changelog
plugin is removing the first letter of the file path in the link.

For example, the text will be:

com/bhn/cpms/dao/AssignedGroupDao.java

But the link will be to:
om/bhn/cpms/dao/AssignedGroupDao.java

Brian

Re: Changelog error linking to scm url

Posted by Brian Burridge <br...@burridge.net>.
Right, because the source code isn't in cvs under webapps/appname, its under
webapps/appname/src

Brian

On 2/23/06, Dennis Lundberg <de...@apache.org> wrote:
>
> Just to make sure that I understand your problem. Somewhere in the
> changelog report you have a link you have a link to, for example
>
> http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/com/bhn/cpms/dao/AssignedGroupDao.java
>
> But you expect it be
>
> http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/src/com/bhn/cpms/dao/AssignedGroupDao.java
>
> Is that correct?
>
> --
> Dennis Lundberg
>
> Brian Burridge wrote:
> > Had to change some of it for obvious reasons.
> >
> >   *<scm>*
> >         *<connection>*scm:cvs:ext:${user.name}@
> ssh1.domain.com:/noc/cvs/:webapps/appname*</connection>*
> >         *<developerConnection>*scm:cvs:ext:${user.name}@
> ssh1.domain.com:/noc/cvs/:webapps/appname*</developerConnection>*
> >         *<url>*
> http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/*</url>*
> >   *</scm>*
> >
> >
> > Brian
> >
> > On 2/22/06, Dennis Lundberg <de...@mdh.se> wrote:
> >> Brian,
> >>
> >> Can you post the scm section of your POM here?
> >>
> >> --
> >> Dennis Lundberg
> >>
> >> Brian Burridge wrote:
> >>> What I meant was that in CVS the source code is in the src directory.
> >> I've
> >>> already set the src code path in the POM. But in cvs its in a /src
> >>> directory, to the SCM link isn't working. It links to the viewcvs url
> >> I've
> >>> provided and then tacks on the package and class name, but I need
> >> "/src/" in
> >>> between the two.
> >>>
> >>> Brian
> >>>
> >>> On 2/21/06, Dennis Lundberg <de...@apache.org> wrote:
> >>>> Brian Burridge wrote:
> >>>>> I am having two problems with the changelog plugin, version
> 2.0-beta-1
> >> .
> >>>>> For the scm url, I have given the url to the root of the cvs
> project.
> >>>>> However, the source code is in the /src directory within that
> project.
> >>>>> How do I indicate this to the changelog plugin? Also, the changelog
> >>>>> plugin is removing the first letter of the file path in the link.
> >>>>>
> >>>>> For example, the text will be:
> >>>>>
> >>>>> com/bhn/cpms/dao/AssignedGroupDao.java
> >>>>>
> >>>>> But the link will be to:
> >>>>> om/bhn/cpms/dao/AssignedGroupDao.java
> >>>> If you are using Maven 2, you need to tell Maven that you are not
> using
> >>>> the standard directory layout [1]. This is done by modifying the
> >>>> build/sourceDirectory element [2] in you pom.xml.
> >>>>
> >>>> I don't know what's wrong with the gobbled up link though.
> >>>>
> >>>>
> >>>> [1]http://maven.apache.org/guides/introduction/introduction-
> >>>> to-the-standard-directory-layout.html
> >>>> [2]http://maven.apache.org/maven-model/maven.html##class_build
> >>>>
> >>>> --
> >>>> Dennis Lundberg
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> 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
> >>
> >>
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Changelog error linking to scm url

Posted by Dennis Lundberg <de...@apache.org>.
Just to make sure that I understand your problem. Somewhere in the 
changelog report you have a link you have a link to, for example
http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/com/bhn/cpms/dao/AssignedGroupDao.java

But you expect it be
http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/src/com/bhn/cpms/dao/AssignedGroupDao.java

Is that correct?

-- 
Dennis Lundberg

Brian Burridge wrote:
> Had to change some of it for obvious reasons.
> 
>   *<scm>*
> 	  *<connection>*scm:cvs:ext:${user.name}@ssh1.domain.com:/noc/cvs/:webapps/appname*</connection>*
> 	  *<developerConnection>*scm:cvs:ext:${user.name}@ssh1.domain.com:/noc/cvs/:webapps/appname*</developerConnection>*
> 	  *<url>*http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/*</url>*
>   *</scm>*
> 
> 
> Brian
> 
> On 2/22/06, Dennis Lundberg <de...@mdh.se> wrote:
>> Brian,
>>
>> Can you post the scm section of your POM here?
>>
>> --
>> Dennis Lundberg
>>
>> Brian Burridge wrote:
>>> What I meant was that in CVS the source code is in the src directory.
>> I've
>>> already set the src code path in the POM. But in cvs its in a /src
>>> directory, to the SCM link isn't working. It links to the viewcvs url
>> I've
>>> provided and then tacks on the package and class name, but I need
>> "/src/" in
>>> between the two.
>>>
>>> Brian
>>>
>>> On 2/21/06, Dennis Lundberg <de...@apache.org> wrote:
>>>> Brian Burridge wrote:
>>>>> I am having two problems with the changelog plugin, version 2.0-beta-1
>> .
>>>>> For the scm url, I have given the url to the root of the cvs project.
>>>>> However, the source code is in the /src directory within that project.
>>>>> How do I indicate this to the changelog plugin? Also, the changelog
>>>>> plugin is removing the first letter of the file path in the link.
>>>>>
>>>>> For example, the text will be:
>>>>>
>>>>> com/bhn/cpms/dao/AssignedGroupDao.java
>>>>>
>>>>> But the link will be to:
>>>>> om/bhn/cpms/dao/AssignedGroupDao.java
>>>> If you are using Maven 2, you need to tell Maven that you are not using
>>>> the standard directory layout [1]. This is done by modifying the
>>>> build/sourceDirectory element [2] in you pom.xml.
>>>>
>>>> I don't know what's wrong with the gobbled up link though.
>>>>
>>>>
>>>> [1]http://maven.apache.org/guides/introduction/introduction-
>>>> to-the-standard-directory-layout.html
>>>> [2]http://maven.apache.org/maven-model/maven.html##class_build
>>>>
>>>> --
>>>> Dennis Lundberg
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
> 



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


Re: Changelog error linking to scm url

Posted by Brian Burridge <br...@burridge.net>.
Had to change some of it for obvious reasons.

  *<scm>*
	  *<connection>*scm:cvs:ext:${user.name}@ssh1.domain.com:/noc/cvs/:webapps/appname*</connection>*
	  *<developerConnection>*scm:cvs:ext:${user.name}@ssh1.domain.com:/noc/cvs/:webapps/appname*</developerConnection>*
	  *<url>*http://www.domain.com/cgi-bin/viewcvs.cgi/webapps/appname/*</url>*
  *</scm>*


Brian

On 2/22/06, Dennis Lundberg <de...@mdh.se> wrote:
>
> Brian,
>
> Can you post the scm section of your POM here?
>
> --
> Dennis Lundberg
>
> Brian Burridge wrote:
> > What I meant was that in CVS the source code is in the src directory.
> I've
> > already set the src code path in the POM. But in cvs its in a /src
> > directory, to the SCM link isn't working. It links to the viewcvs url
> I've
> > provided and then tacks on the package and class name, but I need
> "/src/" in
> > between the two.
> >
> > Brian
> >
> > On 2/21/06, Dennis Lundberg <de...@apache.org> wrote:
> >> Brian Burridge wrote:
> >>> I am having two problems with the changelog plugin, version 2.0-beta-1
> .
> >>>
> >>> For the scm url, I have given the url to the root of the cvs project.
> >>> However, the source code is in the /src directory within that project.
> >>> How do I indicate this to the changelog plugin? Also, the changelog
> >>> plugin is removing the first letter of the file path in the link.
> >>>
> >>> For example, the text will be:
> >>>
> >>> com/bhn/cpms/dao/AssignedGroupDao.java
> >>>
> >>> But the link will be to:
> >>> om/bhn/cpms/dao/AssignedGroupDao.java
> >> If you are using Maven 2, you need to tell Maven that you are not using
> >> the standard directory layout [1]. This is done by modifying the
> >> build/sourceDirectory element [2] in you pom.xml.
> >>
> >> I don't know what's wrong with the gobbled up link though.
> >>
> >>
> >> [1]http://maven.apache.org/guides/introduction/introduction-
> >> to-the-standard-directory-layout.html
> >> [2]http://maven.apache.org/maven-model/maven.html##class_build
> >>
> >> --
> >> Dennis Lundberg
> >>
> >> ---------------------------------------------------------------------
> >> 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: Changelog error linking to scm url

Posted by Dennis Lundberg <de...@mdh.se>.
Brian,

Can you post the scm section of your POM here?

-- 
Dennis Lundberg

Brian Burridge wrote:
> What I meant was that in CVS the source code is in the src directory. I've
> already set the src code path in the POM. But in cvs its in a /src
> directory, to the SCM link isn't working. It links to the viewcvs url I've
> provided and then tacks on the package and class name, but I need "/src/" in
> between the two.
> 
> Brian
> 
> On 2/21/06, Dennis Lundberg <de...@apache.org> wrote:
>> Brian Burridge wrote:
>>> I am having two problems with the changelog plugin, version 2.0-beta-1.
>>>
>>> For the scm url, I have given the url to the root of the cvs project.
>>> However, the source code is in the /src directory within that project.
>>> How do I indicate this to the changelog plugin? Also, the changelog
>>> plugin is removing the first letter of the file path in the link.
>>>
>>> For example, the text will be:
>>>
>>> com/bhn/cpms/dao/AssignedGroupDao.java
>>>
>>> But the link will be to:
>>> om/bhn/cpms/dao/AssignedGroupDao.java
>> If you are using Maven 2, you need to tell Maven that you are not using
>> the standard directory layout [1]. This is done by modifying the
>> build/sourceDirectory element [2] in you pom.xml.
>>
>> I don't know what's wrong with the gobbled up link though.
>>
>>
>> [1]http://maven.apache.org/guides/introduction/introduction-
>> to-the-standard-directory-layout.html
>> [2]http://maven.apache.org/maven-model/maven.html##class_build
>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> 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: Changelog error linking to scm url

Posted by Brian Burridge <br...@burridge.net>.
What I meant was that in CVS the source code is in the src directory. I've
already set the src code path in the POM. But in cvs its in a /src
directory, to the SCM link isn't working. It links to the viewcvs url I've
provided and then tacks on the package and class name, but I need "/src/" in
between the two.

Brian

On 2/21/06, Dennis Lundberg <de...@apache.org> wrote:
>
> Brian Burridge wrote:
> > I am having two problems with the changelog plugin, version 2.0-beta-1.
> >
> > For the scm url, I have given the url to the root of the cvs project.
> > However, the source code is in the /src directory within that project.
> > How do I indicate this to the changelog plugin? Also, the changelog
> > plugin is removing the first letter of the file path in the link.
> >
> > For example, the text will be:
> >
> > com/bhn/cpms/dao/AssignedGroupDao.java
> >
> > But the link will be to:
> > om/bhn/cpms/dao/AssignedGroupDao.java
>
> If you are using Maven 2, you need to tell Maven that you are not using
> the standard directory layout [1]. This is done by modifying the
> build/sourceDirectory element [2] in you pom.xml.
>
> I don't know what's wrong with the gobbled up link though.
>
>
> [1]http://maven.apache.org/guides/introduction/introduction-
> to-the-standard-directory-layout.html
> [2]http://maven.apache.org/maven-model/maven.html##class_build
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Changelog error linking to scm url

Posted by Dennis Lundberg <de...@apache.org>.
Brian Burridge wrote:
> I am having two problems with the changelog plugin, version 2.0-beta-1.
> 
> For the scm url, I have given the url to the root of the cvs project.
> However, the source code is in the /src directory within that project.
> How do I indicate this to the changelog plugin? Also, the changelog
> plugin is removing the first letter of the file path in the link.
> 
> For example, the text will be:
> 
> com/bhn/cpms/dao/AssignedGroupDao.java
> 
> But the link will be to:
> om/bhn/cpms/dao/AssignedGroupDao.java

If you are using Maven 2, you need to tell Maven that you are not using 
the standard directory layout [1]. This is done by modifying the 
build/sourceDirectory element [2] in you pom.xml.

I don't know what's wrong with the gobbled up link though.


[1]http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html
[2]http://maven.apache.org/maven-model/maven.html##class_build

-- 
Dennis Lundberg

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