You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/18 15:52:21 UTC
[jira] Created: (MPSCM-31) maven.scm.cvs.checkout.dir overridden.
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPSCM-31
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPSCM-31
Summary: maven.scm.cvs.checkout.dir overridden.
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-scm-plugin
Assignee: Brett Porter
Reporter: MitchMattek
Created: Mon, 18 Oct 2004 9:52 AM
Updated: Mon, 18 Oct 2004 9:52 AM
Environment: 1.42_05-b04 jdk.
Description:
> Hmmm,
>
> I noticedd something strange. It works for everything except
> maven.scm.checkout.dir
>
> <j:set var="maven.scm.cvs.module" value="cdpMultiBuild"
> scope="parent"/>
> <maven:makeAbsolutePath basedir="${basedir}" path="."
> var="dafullpath" />
> <j:set var="maven.scm.cvs.checkout.dir"
> value="${dafullpath}"/>
> <j:set var="maven.scm.cvs.root"
> value=":ext:10.4.4.89:/cvs/cdp" scope="parent"/>
>
> And I added a echo in the scm plugin to echo the checkout.dir. Look
> what happens. It gets the root and the module name fine, but
> overwrites maven.scm.cvs.checkout.dir. Notice that in the base
> plugin.jelly it echos out fine, but when you get inside the plugin, it
> overrides.. Should I submit a bug for this?
>
> C:\Documents and Settings\mmattek\test>maven cdp:bootstrap
>
> build:start:
>
> cdp:bootstrap:
> [echo] gettin cdpMultiBuildProject
> [echo] cvsmodulename=cdpMultiBuild
> [echo] checkoutdir=C:\Documents and Settings\mmattek\test
> scm:parse-connection:
>
> scm:validate:
>
> scm:checkout-project:
> scm:cvs-checkout-project:
> [echo] Checking out cdpMultiBuild; from CVSROOT: :ext:10.4.4.89:/cvs/cdp
> [echo] CHECKOUTDIR=C:\Documents and
> Settings\mmattek\test/target/checkouts
> [mkdir] Created dir: C:\Documents and
> Settings\mmattek\test\target\checkouts\cdpMultiBuild
> [cvs] Using cvs passfile: C:\Documents and
> Settings\mmattek\.cvspass
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPSCM-31) maven.scm.cvs.checkout.dir overridden.
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: MitchMattek
Created: Mon, 18 Oct 2004 10:11 AM
Body:
Ok, I found why it does this. In the plugin.properties of the scm plugin (http://cvs.apache.org/viewcvs.cgi/maven-plugins/scm/plugin.properties?view=markup)
# Directory to checkout to
maven.scm.checkout.dir=${maven.build.dir}/checkouts
so it's gonna override whatever I pass to it....
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPSCM-31?page=comments#action_25526
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPSCM-31
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPSCM-31
Summary: maven.scm.cvs.checkout.dir overridden.
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-scm-plugin
Assignee: Brett Porter
Reporter: MitchMattek
Created: Mon, 18 Oct 2004 9:52 AM
Updated: Mon, 18 Oct 2004 10:11 AM
Environment: 1.42_05-b04 jdk.
Description:
> Hmmm,
>
> I noticedd something strange. It works for everything except
> maven.scm.checkout.dir
>
> <j:set var="maven.scm.cvs.module" value="cdpMultiBuild"
> scope="parent"/>
> <maven:makeAbsolutePath basedir="${basedir}" path="."
> var="dafullpath" />
> <j:set var="maven.scm.cvs.checkout.dir"
> value="${dafullpath}"/>
> <j:set var="maven.scm.cvs.root"
> value=":ext:10.4.4.89:/cvs/cdp" scope="parent"/>
>
> And I added a echo in the scm plugin to echo the checkout.dir. Look
> what happens. It gets the root and the module name fine, but
> overwrites maven.scm.cvs.checkout.dir. Notice that in the base
> plugin.jelly it echos out fine, but when you get inside the plugin, it
> overrides.. Should I submit a bug for this?
>
> C:\Documents and Settings\mmattek\test>maven cdp:bootstrap
>
> build:start:
>
> cdp:bootstrap:
> [echo] gettin cdpMultiBuildProject
> [echo] cvsmodulename=cdpMultiBuild
> [echo] checkoutdir=C:\Documents and Settings\mmattek\test
> scm:parse-connection:
>
> scm:validate:
>
> scm:checkout-project:
> scm:cvs-checkout-project:
> [echo] Checking out cdpMultiBuild; from CVSROOT: :ext:10.4.4.89:/cvs/cdp
> [echo] CHECKOUTDIR=C:\Documents and
> Settings\mmattek\test/target/checkouts
> [mkdir] Created dir: C:\Documents and
> Settings\mmattek\test\target\checkouts\cdpMultiBuild
> [cvs] Using cvs passfile: C:\Documents and
> Settings\mmattek\.cvspass
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPSCM-31) maven.scm.cvs.checkout.dir overridden.
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Fri, 7 Jan 2005 8:35 AM
you would need to use <maven:set, not <j:set
this is irrelevant - the property no longer exists in 1.5
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPSCM-31
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPSCM-31
Summary: maven.scm.cvs.checkout.dir overridden.
Type: Bug
Status: Closed
Priority: Major
Resolution: WON'T FIX
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-scm-plugin
Assignee: Brett Porter
Reporter: MitchMattek
Created: Mon, 18 Oct 2004 9:52 AM
Updated: Fri, 7 Jan 2005 8:35 AM
Environment: 1.42_05-b04 jdk.
Description:
> Hmmm,
>
> I noticedd something strange. It works for everything except
> maven.scm.checkout.dir
>
> <j:set var="maven.scm.cvs.module" value="cdpMultiBuild"
> scope="parent"/>
> <maven:makeAbsolutePath basedir="${basedir}" path="."
> var="dafullpath" />
> <j:set var="maven.scm.cvs.checkout.dir"
> value="${dafullpath}"/>
> <j:set var="maven.scm.cvs.root"
> value=":ext:10.4.4.89:/cvs/cdp" scope="parent"/>
>
> And I added a echo in the scm plugin to echo the checkout.dir. Look
> what happens. It gets the root and the module name fine, but
> overwrites maven.scm.cvs.checkout.dir. Notice that in the base
> plugin.jelly it echos out fine, but when you get inside the plugin, it
> overrides.. Should I submit a bug for this?
>
> C:\Documents and Settings\mmattek\test>maven cdp:bootstrap
>
> build:start:
>
> cdp:bootstrap:
> [echo] gettin cdpMultiBuildProject
> [echo] cvsmodulename=cdpMultiBuild
> [echo] checkoutdir=C:\Documents and Settings\mmattek\test
> scm:parse-connection:
>
> scm:validate:
>
> scm:checkout-project:
> scm:cvs-checkout-project:
> [echo] Checking out cdpMultiBuild; from CVSROOT: :ext:10.4.4.89:/cvs/cdp
> [echo] CHECKOUTDIR=C:\Documents and
> Settings\mmattek\test/target/checkouts
> [mkdir] Created dir: C:\Documents and
> Settings\mmattek\test\target\checkouts\cdpMultiBuild
> [cvs] Using cvs passfile: C:\Documents and
> Settings\mmattek\.cvspass
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org