[SCM-953] Deprecate commercial and CVS providers

2021-09-18 Thread Michael Osipov

Dear Users,

please be informed that with Maven SCM 1.12.0 *all* commercial providers 
and CVS providers have been deprecated and are scheduled for removal for 
the next major version.


There are several reasons why (does not apply to CVS):
* We do not have any access to those SCMs and cannot properly maintain 
them. We do not even know whether they still work or not.
* We want to evolve SCM which requires changes in the API which makes it 
impossible due to the above fact.

* We believe that they are best maintained by the vendors.

They will continue to exist forever in the 1.x line.

Michael

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



Re: mvn site:deploy SCM: No such provider: 'cvs'

2018-01-24 Thread Basin Ilya
Thanks Hervé. My ultimate goal was to deploy maven artifacts to a private 
github repo, because we already have a paid github account. I can see there're 
too many unsolved
problems with this. Here's a pom that almost does it:


http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
4.0.0



foo
bar
0.1-SNAPSHOT
bar







org.apache.maven.plugins

maven-deploy-plugin



org.apache.maven.wagon

wagon-scm

3.0.0




org.apache.maven.scm

maven-scm-manager-plexus

1.9.5




org.apache.maven.scm

maven-scm-provider-gitexe

1.9.5









xxx

scm:git:/.snapshots/persist/builds/scm/repo.git



my.cvs.server

scm:jgit:/.snapshots/persist/builds/scm/repo.git








On 24.01.2018 9:47, Hervé BOUTEMY wrote:
> Hi,
> 
> I didn't really tried, but please read carefully the 2 notes in the page:
> Prefer maven-scm-publish-plugin to publish your site to SCM
> 
> Note for Maven 3 users: The site plugin behaves differently, require 
> these 
> be added as dependencies instead of extensions. See Adding a Protocol to 
> Deploy the Site.
> 
> and even the list of limitations that is explained just before.
> 
> I'm not sure this documentation should remain so visible:  maven-scm-publish-
> plugin is really the solution to the use case
> 
> Regards,
> 
> Hervé
> 
> Le mardi 23 janvier 2018, 14:52:10 CET Basin Ilya a écrit :
>> Hi list.
>> I'm trying to make work the deploy maven site example from
>> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
>>
>> I have an empty java project. First I do `mvn site:site` and a site is
>> created in target/ Then I do `mvn site:deploy` and it fails with "No such
>> provider". It doesn't seem to reach the point where it calls the cvs
>> binary.
>>
>>
>> Here's my pom.xml :
>>
>>  
>>  http://maven.apache.org/POM/4.0.0;
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd;>
>> 4.0.0
>>
>>  foo
>>  bar
>>  0.1-SNAPSHOT
>>  bar
>>
>>  
>>  
>>  
>>  
>> org.apache.maven.wagon
>>  wagon-scm
>>  3.0.0
>>  
>>  
>>  org.apache.maven.scm
>>  
>> maven-scm-manager-plexus
>>  1.9.5
>>  
>>  
>>  org.apache.maven.scm
>> 

Re: mvn site:deploy SCM: No such provider: 'cvs'

2018-01-23 Thread Hervé BOUTEMY
Hi,

I didn't really tried, but please read carefully the 2 notes in the page:
Prefer maven-scm-publish-plugin to publish your site to SCM

Note for Maven 3 users: The site plugin behaves differently, require these 
be added as dependencies instead of extensions. See Adding a Protocol to 
Deploy the Site.

and even the list of limitations that is explained just before.

I'm not sure this documentation should remain so visible:  maven-scm-publish-
plugin is really the solution to the use case

Regards,

Hervé

Le mardi 23 janvier 2018, 14:52:10 CET Basin Ilya a écrit :
> Hi list.
> I'm trying to make work the deploy maven site example from
> http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html
> 
> I have an empty java project. First I do `mvn site:site` and a site is
> created in target/ Then I do `mvn site:deploy` and it fails with "No such
> provider". It doesn't seem to reach the point where it calls the cvs
> binary.
> 
> 
> Here's my pom.xml :
> 
>   
>   http://maven.apache.org/POM/4.0.0;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd;>
> 4.0.0
> 
>   foo
>   bar
>   0.1-SNAPSHOT
>   bar
> 
>   
>   
>   
>   
> org.apache.maven.wagon
>   wagon-scm
>   3.0.0
>   
>   
>   org.apache.maven.scm
>   
> maven-scm-manager-plexus
>   1.9.5
>   
>   
>   org.apache.maven.scm
>   
> maven-scm-provider-cvsexe
>   1.9.5
>   
>   
>   
> 
>   
>   
>   my.cvs.server
>       
> scm:cvs:local:/cygdrive/d/1/cvs_repository:myprojects
>       
>   
>   
> 
> Here're the commands to create a local cvs repo:
> 
> mkdir cvs_repository
> export CVSROOT=:local:`pwd`/cvs_repository
> cvs init
> 
> mkdir empty_dir
> cd empty_dir
> cvs import -mroot myprojects vtag rtag
> cd ..
> 
> mkdir work_dir
> cd work_dir
> cvs co myprojects
> cd myprojects
> 
> touch a b c
> cvs add a b c ; echo $?
> 
> cvs commit -mabc
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org



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



mvn site:deploy SCM: No such provider: 'cvs'

2018-01-23 Thread Basin Ilya
Hi list.
I'm trying to make work the deploy maven site example from 
http://maven.apache.org/wagon/wagon-providers/wagon-scm/usage.html

I have an empty java project. First I do `mvn site:site` and a site is created 
in target/
Then I do `mvn site:deploy` and it fails with "No such provider". It doesn't 
seem to reach the point where it calls the cvs binary.


Here's my pom.xml :


http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
4.0.0

foo
bar
0.1-SNAPSHOT
bar





org.apache.maven.wagon
wagon-scm
3.0.0


org.apache.maven.scm

maven-scm-manager-plexus
1.9.5


org.apache.maven.scm

maven-scm-provider-cvsexe
1.9.5






my.cvs.server

scm:cvs:local:/cygdrive/d/1/cvs_repository:myprojects




Here're the commands to create a local cvs repo:

mkdir cvs_repository
export CVSROOT=:local:`pwd`/cvs_repository
cvs init

mkdir empty_dir
    cd empty_dir
cvs import -mroot myprojects vtag rtag
cd ..

mkdir work_dir
cd work_dir
cvs co myprojects
cd myprojects

touch a b c
cvs add a b c ; echo $?

cvs commit -mabc


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



Re: question about release:branch with CVS

2013-02-27 Thread Robert Scholte

Hi,

you haven't specified the version of the maven-release-plugin you're  
using. If you haven't locked the version, it is probably 2.0, which is  
rather old. You should try 2.4.
If remote tagging is not supported CVS yet, please create an for the SCM  
project[1], patches are always very welcome.


Robert

[1] https://jira.codehaus.org/browse/SCM/component/11190



Op Tue, 26 Feb 2013 13:52:28 +0100 schreef Andras Nagy  
andras.istvan.n...@gmail.com:



Dear All,

I have a question regarding the release plugin's branch goal. What I am
trying to achieve (using CVS for scm) is this:
-I have a release on the HEAD, let's call this 1.1, with release tag
REL_1_1
-I have new changes committed to HEAD (in 1.1-SNAPSHOT)
-I have to fix a bug in 1.1 immediately, without introducing any of the
changes that have happened on HEAD into the bugfix release, so I need  to
start a branch from 1.1 (say FIX_1_1), fix the bug on the branch and
create the bugfix release (say 1.1.0) from this branch

My question: is the release:branch goal supposed to be supporting this  
use

case? I assumed yes, as I have found this example:

mvn release:branch -DbranchName=my-branch -DupdateBranchVersions=true
-DupdateWorkingCopyVersions=false

*Note:* This can be useful if you want to create a branch from a tag
But maybe I'm misinterpreting something, because I couldn't get it to  
work

with these steps:
-I check out release 1.1 from CVS, using the REL_1_1 release tag
-I want to preform release:branch on this working copy
what happens for me is that the release plugin modifies the pom before
creating the branch, and wants to commit it, which it naturally can't do,
because the working copy still corresponds to the starting point of the
branch (which is an immutable state, tagged with the REL_1_1 tag,  
being a

sticky tag in the working copy). I have to admit I don't understand this
logic, as I suppose that the branch would need to be created in the first
step to be able to perform any changes.

Would my scenario be supported with: -DsuppressCommitBeforeBranch=true
-DremoteTagging=true, supposed that remoteTagging were supported for  
CVS?

(As I read, it's not yet supported for CVS). If yes, are you planning on
supporting it? (Remote tagging is pretty straightforward with CVS).

Thank you,
Andras


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



question about release:branch with CVS

2013-02-26 Thread Andras Nagy
Dear All,

I have a question regarding the release plugin's branch goal. What I am
trying to achieve (using CVS for scm) is this:
-I have a release on the HEAD, let's call this 1.1, with release tag
REL_1_1
-I have new changes committed to HEAD (in 1.1-SNAPSHOT)
-I have to fix a bug in 1.1 immediately, without introducing any of the
changes that have happened on HEAD into the bugfix release, so I need  to
start a branch from 1.1 (say FIX_1_1), fix the bug on the branch and
create the bugfix release (say 1.1.0) from this branch

My question: is the release:branch goal supposed to be supporting this use
case? I assumed yes, as I have found this example:

mvn release:branch -DbranchName=my-branch -DupdateBranchVersions=true
-DupdateWorkingCopyVersions=false

*Note:* This can be useful if you want to create a branch from a tag
But maybe I'm misinterpreting something, because I couldn't get it to work
with these steps:
-I check out release 1.1 from CVS, using the REL_1_1 release tag
-I want to preform release:branch on this working copy
what happens for me is that the release plugin modifies the pom before
creating the branch, and wants to commit it, which it naturally can't do,
because the working copy still corresponds to the starting point of the
branch (which is an immutable state, tagged with the REL_1_1 tag, being a
sticky tag in the working copy). I have to admit I don't understand this
logic, as I suppose that the branch would need to be created in the first
step to be able to perform any changes.

Would my scenario be supported with: -DsuppressCommitBeforeBranch=true
-DremoteTagging=true, supposed that remoteTagging were supported for CVS?
(As I read, it's not yet supported for CVS). If yes, are you planning on
supporting it? (Remote tagging is pretty straightforward with CVS).

Thank you,
Andras


maven release plugin with CVS, alternative to CVSPRO for client?

2012-06-27 Thread Tim Dugan
Hi All,

I'd like to try out the maven release plugin and I have a CVS repository.

From a link off the Maven Wiki 
(http://docs.codehaus.org/display/MAVENUSER/Create+a+release+using+CVSNT)  and 
from a great write up here ( 
http://java.dzone.com/articles/automating-releases-maven-0 ) it looks like 
I'll need CVSNT (now CVSPRO ) as a CVS client.  Does anyone know if there is a 
free / non trial alternative?  My company has a policy against using trial 
versions of software.

Thanks!
Tim




Re: maven release plugin with CVS, alternative to CVSPRO for client?

2012-06-27 Thread Robert Scholte

There are 2 implementations for cvs[1]:
- java version, which is the default
- native version.

AFAIK both implementations should work together with the  
maven-release-plugin.


-Robert

[1] http://maven.apache.org/scm/cvs.html


Op Wed, 27 Jun 2012 21:24:06 +0200 schreef Tim Dugan tim.du...@sas.com:


Hi All,

I'd like to try out the maven release plugin and I have a CVS repository.

From a link off the Maven Wiki  
(http://docs.codehaus.org/display/MAVENUSER/Create+a+release+using+CVSNT)   
and from a great write up here (  
http://java.dzone.com/articles/automating-releases-maven-0 ) it looks  
like I'll need CVSNT (now CVSPRO ) as a CVS client.  Does anyone know if  
there is a free / non trial alternative?  My company has a policy  
against using trial versions of software.


Thanks!
Tim



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



How scm plugin encyrpts cvs password ?

2012-04-12 Thread public charly
Greetings,

I got a cvs authentification problem with the following items :

Used elements :

cvsnt
maven 3
scm 1.6
Windows 2003 Server

Procedure follows (No .cvspass in my USER_DIR) :

.

   1. I run a mvn --encrypt password password and copy paste the result in
   my scmconnection tags.
   2. I run scm:status - Authentification fails, .cvspass is created with
   a wrong password.
   3. I login to cvs with my cvsnt client and retrieve the password from
   the registry.
   4. I copy paste the password from the registry into the csvpass, in
   place of the one generated by the Maven plugin.
   5. I run scm:status - Authentification succeeds. .cvspass still
   contains the password (of course, since a mvn -X shows me that file
   creation was skipped)
   6. I change the user/password in the scm tag, putting invalid ones : I
   run scm:status - Authentification succeeds. .cvspass still contains the
   password : my credentials were ignored since contained in cvspass.



My questions :

Why is maven unable to generate a proper cvs encrypted password and store
it in the .cvspass ? What did I miss ?

I suppose the credentials contained in the pom only serve as fallback if no
.cvspass exist (given that the Source control used is CVS). Is it correct ?

Thank you for your help !


release:prepare scm and cvs..

2010-11-16 Thread jeb001

Hi,

I'm trying to build my first release using maven.. and I've got that error :
Missing required setting: scm connection or developerConnection must be
specified.

So, I had in my main pom.xml those lines :
scm

connectionscm:cvs:pserver:user:@cvsIP:/cvs:moduleName/connection

developerConnectionscm:cvs:pserver:user:@cvsIP:/cvs:moduleName/developerConnection
tagHEAD/tag
urlhttp://google.fr/url
/scm

.. and I'm still having the same probleme.. 

Also, in the setting.xml, i added those lines :
 server
idcvsIp:2401/id
username***/username
password***/password
/server

I miss something.. but what ??

Thx,

Jeremy

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/release-prepare-scm-and-cvs-tp3267083p3267083.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: release:prepare scm and cvs..

2010-11-16 Thread Antonio Petrelli
2010/11/16 jeb001 jeremy.jar...@gmail.com:
 I'm trying to build my first release using maven.. and I've got that error :
 Missing required setting: scm connection or developerConnection must be
 specified.

 So, I had in my main pom.xml those lines :
        scm
                
 connectionscm:cvs:pserver:user:@cvsIP:/cvs:moduleName/connection

 developerConnectionscm:cvs:pserver:user:@cvsIP:/cvs:moduleName/developerConnection
                tagHEAD/tag
                urlhttp://google.fr/url
        /scm

I don't see anything wrong with it. What do you mean with main pom?

Antonio

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



CVS : passing the prune empty directories flag to the checkout command

2010-09-28 Thread Jad SAMAHA

Hello everyone,

I'm trying to get maven to checkout projects using the -P flag, which 
stands for prune empty directories. This flag is quite useful since 
CVS does not really provide an option to remove directories and this 
flag is the only way (as far as I know) to extract a clean copy of a 
project.


I've been looking around and there doesn't seem to be a way to pass a 
flag to the checkout command (and not the cvs command). I might be 
totally wrong and I could use some help :)


To sum up, currently the command produced is :

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -d 
:pserver:login@url:/cvsroot -q checkout -d folderName myproject


And I'd like it to look like this :

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -d 
:pserver:login@url:/cvsroot -q checkout -P -d folderName 
myproject


Thanks in advance !

Jad


CVS checkout with maven is not working

2010-08-29 Thread monica

I am using maven-scm-plugin plugin and using developerconnection. which has
following values 
developerConnectionscm:cvs:pserver:USER:passwo...@idadress:PORT:/home/cvs:${checkout.module}/developerConnection
 

plugin 
groupIdorg.apache.maven.plugins/groupId 
artifactIdmaven-scm-plugin/artifactId 
version1.3/version 
executions 
execution 
configuration 
connectionTypedeveloperConnection/connectionType 
scmVersionType${cvsTrunkVersion}/scmVersionType 
scmVersion${cvsBranchTag}/scmVersion 
checkoutDirectory${checkout.destination.dir}/checkoutDirectory 
/configuration 
phaseprocess-resources/phase 
goals 
goalcheckout/goal 
/goals 
/execution 
/executions 
/plugin 

-- 
View this message in context: 
http://maven-users.828.n2.nabble.com/CVS-checkout-with-maven-is-not-working-tp5476841p5476841.html
Sent from the maven users mailing list archive at Nabble.com.

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



Maven release plugin + CVS

2010-07-07 Thread Cecchi Sandrone

I have a problem while performing a mvn release:prepare task when the project
is downloaded from CVS, because the files are read only (so pom.xml can't be
updated with new version).

Error writing POM: C:\Documents and
Settings\a.dionisi\Desktop\PLX\Source\AuditingWebService\pom.xml (Access is
denied)

I tried with useEditMode parameter for the plugin:

plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-release-plugin/artifactId
version2.0/version
configuration
preparationGoalsclean 
install/preparationGoals

autoVersionSubmodulestrue/autoVersionSubmodules
   
useEditModetrue/useEditMode
/configuration
/plugin

but I receive the warning: [WARNING] Provider cvs does not support edit
operation. 
I tried also with scm:edit...same story.

Is there a way to edit the project before release:prepare? Thank you for
help.

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-release-plugin-CVS-tp1033588p1033588.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Multi Module CVS Checkout

2010-06-15 Thread House, Thomas
Hi Everyone - I'm having a problem checking out the code from my multi
module project - it's very frustrating and I've been working on it for a
few days, so any help anyone can provide will be greatly appreciated.


Here's the background - I have a multi module project where the parent
project is just used for meta data- in other words there is no code
associated with the parent, it's just used to configure settings common
to all child projects.  It builds nothing and its packaging is set to
POM.

I'm trying to check out my code from CVS

--

1. If I put the SCM element in the child pom's and remove it from the
parent then run mvn scm:checkout from the parent directory, I get the
error:

Cannot run checkout command : 

Embedded error: Can't load the scm provider.

You need to define a connectionUrl parameter

I see no connectionUrl parameter within the SCM documentation.

--


2. If I put the SCM element in the parent pom and remove it from the
child pom's then run the mvn scm:checkout from the parent directory, I
get the error:

[ERROR] cvs server: cannot find module `reviewmanager' - ignored

cvs server: cannot find module `reviewmanager' - ignored

[ERROR] BUILD ERROR

Here it's trying to checkout the artifactId of reviewmanager, which is
the artifactId for the parent.  However since the packaging is set to
POM, I'd think Maven would skip the parent knowing that it's a project
for meta data only

My scm configuration for the top 2 tries is structured like this:

  scm

 
connectionscm:cvs:pserver:herestheuser:heresthepassw...@server.domain:
/ABC/DEF:${artifactId}/connection

 
developerConnectionscm:cvs:pserver:herestheuser:heresthepassw...@serve
r.domain:/ABC/DEF:${artifactId}/developerConnection

   tagHEAD/tag

  /scm

--

 

3. If I keep the configuration in the parent and remove the artifactId
from the connection / developerConnection and then run mvn scm:checkout
then I get the following error:

Cannot run checkout command

Embedded error: Exception while executing SCM command

Username isn't defined.

The scm config for this last attempt is like this:

  scm

 
connectionscm:cvs:pserver:herestheuser:heresthepassw...@server.domain:
/ABC/DEF/connection

 
developerConnectionscm:cvs:pserver:herestheuser:heresthepassw...@serve
r.domain:/ABC/DEF/developerConnection

   tagHEAD/tag

  /scm

--


4.  If I take the same configuration (as used in the top 2 examples With
the ${artifactId}) and put it in any of the child pom's and then run the
mvn scm:checkout from the Child Directory, then it works fine.

This seems like it would be a very common usecase so I'm surprised I
can't find more information about it on the web.  Maybe I'm doing a bad
job searching.



SCM for cvs version 1.12.12

2010-05-28 Thread Timothy Mcginnis
I am using CVS for my SCM.  I have one repository that is version 1.11.14 
and one that is 1.12.12.

When I try to do a release using the 1.12.12 CVS repository I get the 
error Received unknown response from server.
But when I use the 1.11.14 repository it works.

Is there a CVS plugin that will work with 1.12.12?  And how do I configure 
my pom to use it?

Tim McGinnis
717 720-1962
Web Development
AES/PHEAA
==
This message contains privileged and confidential information intended for the 
above addressees only.  If you
receive this message in error please delete or destroy this message and/or 
attachments.  

The sender of this message will fully cooperate in the civil and criminal 
prosecution of any individual engaging
in the unauthorized use of this message.
==


how to use maven-scm-plugin to checkout a CVS tag

2010-03-18 Thread Dan Tran
Hi every one,

I have a need to checkout a CVS tag at build time, and have no idea
how to configure the tag. Any advice is greatly appreciated

here is my configuration

 configuration
   connectionUrl${cvsroot}:mymodule/connectionUrl
 /configuration

Thanks

-Dan

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



Re: how to use maven-scm-plugin to checkout a CVS tag

2010-03-18 Thread Dan Tran
never mind,

The secret is in scmVersionType adn scmVervsion configuration

On Thu, Mar 18, 2010 at 1:02 AM, Dan Tran dant...@gmail.com wrote:
 Hi every one,

 I have a need to checkout a CVS tag at build time, and have no idea
 how to configure the tag. Any advice is greatly appreciated

 here is my configuration

  configuration
   connectionUrl${cvsroot}:mymodule/connectionUrl
  /configuration

 Thanks

 -Dan


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



RE: maven release from CVS tag

2010-02-03 Thread Ahmet Maruf Aytekin
Hi Roland

Thanks for your reply. I just found out that tag parameter of release plugin 
does what I need to do.


Many thanks
Maruf



-Original Message-
From: Roland Asmann [mailto:roland.asm...@adesso.at]
Sent: Tuesday, February 02, 2010 5:32 PM
To: Maven Users List
Subject: Re: maven release from CVS tag

I'm not 100% sure on this, but if you configure your SCM-portion of the
POM for the tag/branch, it *MIGHT* work. Only problem I see is that in
CVS a tag is read-only, because it is a specific point. This means that
maven might not be able to update the POMs and commit them.

Anyway, try adding the tag-tag in the SCM and just give it a try (I'd
advise using the dryRun-principle for testing!).


On 02/02/2010 01:10 PM, Maruf Aytekin wrote:
 Hi All

 How do I make maven release from a CVS tag with maven releas eplugin?
 I am aware that this is not a good practice but we are making releases
 from CVS tags instead of head. The company I work for has been
 following this method for their some unique resons which I am not
 agreed.

 I am trying to use maven release plugin to mak ethe releases but the
 code in a tag needs to be released. I am checking docs here:
 http://maven.apache.org/guides/mini/guide-releasing.html. The current
 location of the development is a tag. Can I set the current location
 of the development as the tag and set the tagbase another tag? If so
 can someone point me an example using CVS?




 Regards
 Maruf

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



--
Roland Asmann
Senior Software Engineer

adesso Austria Service GmbH
Bäckerstrasse 1/2/7 T +43 1 5138877-27
A-1010 Wien F +43 1 5138862
E roland.asm...@adesso.at
  www.adesso.at

-
 business. people. technology. 
-

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


Bu mesaj ve ekleri mesajda gönderildigi belirtilen kisi/kisilere özeldir ve 
gizlidir. Bu mesaj tarafiniza yanlislikla ulasmis olsa da mesaj içeriginin 
gizliligi ve bu gizlilik yükümlülügüne uyulmasi zorunlulugu tarafiniz için de 
söz konusudur. Böyle bir durumda, lütfen gönderen kisiyi bilgilendiriniz ve 
mesaji sisteminizden siliniz. Mesaj ve eklerinde yer alan bilgilerin dogrulugu 
ve güncelligi konusunda gönderenin ya da Merkezi Kayit Kurulusu A.S.'nin 
herhangi bir sorumlulugu bulunmamaktadir. Merkezi Kayit Kurulusu A.S. mesajin 
ve bilgilerinin size degisiklige ugrayarak veya geç ulasmasindan, bütünlügünün 
ve gizliliginin bozulmasindan, virus içermesinden ve bilgisayar sisteminize 
verebilecegi herhangi bir zarardan sorumlu tutulamaz.

This message and attachments are confidential and intended solely for the 
individual(s) stated in this message.If you received this message although you 
are not the addressee you are responsible to keep confidential the message. In 
that case please inform the sender and delete the message. The sender has no 
responsibility for the accuracy or correctness of the information in the 
message and its attachments. Merkezi Kayit Kurulusu A.S. shall have no 
liability for any changes or late receiving,loss of integrity and 
confidentiality, viruses and any damages caused in any way to your computer 
system.



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



maven release from CVS tag

2010-02-02 Thread Maruf Aytekin
Hi All

How do I make maven release from a CVS tag with maven releas eplugin?
I am aware that this is not a good practice but we are making releases
from CVS tags instead of head. The company I work for has been
following this method for their some unique resons which I am not
agreed.

I am trying to use maven release plugin to mak ethe releases but the
code in a tag needs to be released. I am checking docs here:
http://maven.apache.org/guides/mini/guide-releasing.html. The current
location of the development is a tag. Can I set the current location
of the development as the tag and set the tagbase another tag? If so
can someone point me an example using CVS?




Regards
Maruf

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



Re: maven release from CVS tag

2010-02-02 Thread Roland Asmann
I'm not 100% sure on this, but if you configure your SCM-portion of the
POM for the tag/branch, it *MIGHT* work. Only problem I see is that in
CVS a tag is read-only, because it is a specific point. This means that
maven might not be able to update the POMs and commit them.

Anyway, try adding the tag-tag in the SCM and just give it a try (I'd
advise using the dryRun-principle for testing!).


On 02/02/2010 01:10 PM, Maruf Aytekin wrote:
 Hi All
 
 How do I make maven release from a CVS tag with maven releas eplugin?
 I am aware that this is not a good practice but we are making releases
 from CVS tags instead of head. The company I work for has been
 following this method for their some unique resons which I am not
 agreed.
 
 I am trying to use maven release plugin to mak ethe releases but the
 code in a tag needs to be released. I am checking docs here:
 http://maven.apache.org/guides/mini/guide-releasing.html. The current
 location of the development is a tag. Can I set the current location
 of the development as the tag and set the tagbase another tag? If so
 can someone point me an example using CVS?
 
 
 
 
 Regards
 Maruf
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 

-- 
Roland Asmann
Senior Software Engineer

adesso Austria Service GmbH
Bäckerstrasse 1/2/7 T +43 1 5138877-27
A-1010 Wien F +43 1 5138862
E roland.asm...@adesso.at
  www.adesso.at

-
 business. people. technology. 
-

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



Where can I put CVS credentials outside my project?

2009-12-30 Thread laredotornado

Hi,

I'm using Maven 2.2.  Currently in my root pom.xml, I have

  scm
   
connectionscm:cvs:pserver:dalvar...@localhost:/usr/local/cvs/abc:myco/galc/capitol/tours/connection
tagmyco-galc-capitol-tours-1_0_5/tag
  /scm

This is needed when preparing and performing a release.  However, I would
like to move this out of my project and into a more global place on my local
system.  This also has the benefit that other developers will not have to
alter the project if they inherit it.  Where in my local system can I put
the CVS connection info and how do I tell Maven to read that info?

Thanks, - Dave

-- 
View this message in context: 
http://old.nabble.com/Where-can-I-put-CVS-credentials-outside-my-project--tp26968859p26968859.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How to checkout multiple projects from CVS using Maven

2009-10-27 Thread zainab . madawala
Hi All

I need to checkout all the projects under a specific branch in CVS using Maven.
In my POM.xml, I have the following
scm
connectionscm:cvs:pserver:[username]:@[server name][path to 
module]:[moduleName]/connection
tag[tag name]/tag
/scm

This is a single POM which I have for all my modules.
I want to pass a list of all the modules and want it to iterate one by one and 
checkout them as a project.

Currently if I give a module name in the scm url, it checks out that module but 
does not package it as a project.

Morever, I dont want to manually change the module name all the time.
I want to checkout all the available modules under a branch.

Please help!

Thanks
Zainab

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



Remove CVS credentials from pom.xml

2009-09-25 Thread Todor Boev

Hi,
I am using the release plugin with CVS. Is there a way to remove the CVS user 
name and password from the pom.xml? I am setting up a maven project for 20+ 
developers and it would be bad if every one of them needs to keep a modified 
pom.xml in their machine with their user name. I tried the 
maven-properties-plugin but the problem I does not run when I do 
release:prepare. I can't discover the proper lifecycle phase where to hook the 
 properties plugin so it runs both on normal build and on release.


Cheers,
Todor

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



Re: Remove CVS credentials from pom.xml

2009-09-25 Thread Todor Boev
That was my first idea. And I couldn't find a way to do it. All I find are 
discussions on how people want not to have this in their settings.xml but in an 
external properties file. How to put arbitrary properties in the settings.xml 
remains a mistery to me.


Anders Hammar wrote:

Why not have two pre-define properties for this, which everyone needs to set
up in their settings.xml?

/Anders

On Fri, Sep 25, 2009 at 10:48, Todor Boev t.b...@prosyst.bg wrote:


Hi,
I am using the release plugin with CVS. Is there a way to remove the CVS
user name and password from the pom.xml? I am setting up a maven project for
20+ developers and it would be bad if every one of them needs to keep a
modified pom.xml in their machine with their user name. I tried the
maven-properties-plugin but the problem I does not run when I do
release:prepare. I can't discover the proper lifecycle phase where to hook
the  properties plugin so it runs both on normal build and on release.

Cheers,
Todor

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






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



Re: Remove CVS credentials from pom.xml

2009-09-25 Thread Anders Hammar
Hmm, I pretty sure I've seen an example of this somewhere. I'll have a
look

/A

On Fri, Sep 25, 2009 at 11:06, Todor Boev t.b...@prosyst.bg wrote:

 That was my first idea. And I couldn't find a way to do it. All I find are
 discussions on how people want not to have this in their settings.xml but in
 an external properties file. How to put arbitrary properties in the
 settings.xml remains a mistery to me.


 Anders Hammar wrote:

 Why not have two pre-define properties for this, which everyone needs to
 set
 up in their settings.xml?

 /Anders

 On Fri, Sep 25, 2009 at 10:48, Todor Boev t.b...@prosyst.bg wrote:

  Hi,
 I am using the release plugin with CVS. Is there a way to remove the CVS
 user name and password from the pom.xml? I am setting up a maven project
 for
 20+ developers and it would be bad if every one of them needs to keep a
 modified pom.xml in their machine with their user name. I tried the
 maven-properties-plugin but the problem I does not run when I do
 release:prepare. I can't discover the proper lifecycle phase where to
 hook
 the  properties plugin so it runs both on normal build and on release.

 Cheers,
 Todor

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




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




Re: Remove CVS credentials from pom.xml

2009-09-25 Thread Anders Hammar
Ok. I think I found the example, and it uses environment properties. Should
work.
Or, define a profile in your settings.xml that defines these properties. The
benefit of this approach is that they can easily be defined (or overridden)
through the command line as well.

/Anders

On Fri, Sep 25, 2009 at 11:07, Anders Hammar and...@hammar.net wrote:

 Hmm, I pretty sure I've seen an example of this somewhere. I'll have a
 look

 /A


 On Fri, Sep 25, 2009 at 11:06, Todor Boev t.b...@prosyst.bg wrote:

 That was my first idea. And I couldn't find a way to do it. All I find are
 discussions on how people want not to have this in their settings.xml but in
 an external properties file. How to put arbitrary properties in the
 settings.xml remains a mistery to me.


 Anders Hammar wrote:

 Why not have two pre-define properties for this, which everyone needs to
 set
 up in their settings.xml?

 /Anders

 On Fri, Sep 25, 2009 at 10:48, Todor Boev t.b...@prosyst.bg wrote:

  Hi,
 I am using the release plugin with CVS. Is there a way to remove the CVS
 user name and password from the pom.xml? I am setting up a maven project
 for
 20+ developers and it would be bad if every one of them needs to keep a
 modified pom.xml in their machine with their user name. I tried the
 maven-properties-plugin but the problem I does not run when I do
 release:prepare. I can't discover the proper lifecycle phase where to
 hook
 the  properties plugin so it runs both on normal build and on release.

 Cheers,
 Todor

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




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





Re: Remove CVS credentials from pom.xml

2009-09-25 Thread Anders Hammar
Why not have two pre-define properties for this, which everyone needs to set
up in their settings.xml?

/Anders

On Fri, Sep 25, 2009 at 10:48, Todor Boev t.b...@prosyst.bg wrote:

 Hi,
 I am using the release plugin with CVS. Is there a way to remove the CVS
 user name and password from the pom.xml? I am setting up a maven project for
 20+ developers and it would be bad if every one of them needs to keep a
 modified pom.xml in their machine with their user name. I tried the
 maven-properties-plugin but the problem I does not run when I do
 release:prepare. I can't discover the proper lifecycle phase where to hook
 the  properties plugin so it runs both on normal build and on release.

 Cheers,
 Todor

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




Re: Remove CVS credentials from pom.xml

2009-09-25 Thread Todor Boev

Yup. This worked. Thanks :)

Anders Hammar wrote:

Ok. I think I found the example, and it uses environment properties. Should
work.
Or, define a profile in your settings.xml that defines these properties. The
benefit of this approach is that they can easily be defined (or overridden)
through the command line as well.

/Anders

On Fri, Sep 25, 2009 at 11:07, Anders Hammar and...@hammar.net wrote:


Hmm, I pretty sure I've seen an example of this somewhere. I'll have a
look

/A


On Fri, Sep 25, 2009 at 11:06, Todor Boev t.b...@prosyst.bg wrote:


That was my first idea. And I couldn't find a way to do it. All I find are
discussions on how people want not to have this in their settings.xml but in
an external properties file. How to put arbitrary properties in the
settings.xml remains a mistery to me.


Anders Hammar wrote:


Why not have two pre-define properties for this, which everyone needs to
set
up in their settings.xml?

/Anders

On Fri, Sep 25, 2009 at 10:48, Todor Boev t.b...@prosyst.bg wrote:

 Hi,

I am using the release plugin with CVS. Is there a way to remove the CVS
user name and password from the pom.xml? I am setting up a maven project
for
20+ developers and it would be bad if every one of them needs to keep a
modified pom.xml in their machine with their user name. I tried the
maven-properties-plugin but the problem I does not run when I do
release:prepare. I can't discover the proper lifecycle phase where to
hook
the  properties plugin so it runs both on normal build and on release.

Cheers,
Todor

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




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






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



Can't run the release plugin with CVS

2009-09-24 Thread Todor Boev

Hi,
I am trying to get the maven release plugin to work against our corporate CVS 
repository. For the death of me I can't figure out what to do to configure the 
CVS connection. What's worse is that I managed to get the SCM plugin to connect 
on itself. But when the release plugin uses SCM to connect it somehow mangles 
the connection string in from the scm section of my pom. Here is that 
connection string:


scm
connectionscm:cvs:pserver:devzone.psb:/cvsroot/bundlecloudpoc:genericosgi-maven/connection
/scm

Help! If I can't get the release plugin to work this will potentially thwart our 
migration to maven. And we are back to the dark depths of Ant :(


Cheers,
Todor

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



Re: Can't run the release plugin with CVS

2009-09-24 Thread Todor Boev
Okay...the problem was that I had a stale invalid configuration from a previous 
attempt. I had to run mvn release:clean and after that things worked out nicely.


Todor Boev wrote:

Hi,
I am trying to get the maven release plugin to work against our 
corporate CVS repository. For the death of me I can't figure out what to 
do to configure the CVS connection. What's worse is that I managed to 
get the SCM plugin to connect on itself. But when the release plugin 
uses SCM to connect it somehow mangles the connection string in from 
the scm section of my pom. Here is that connection string:


scm
connectionscm:cvs:pserver:devzone.psb:/cvsroot/bundlecloudpoc:genericosgi-maven/connection 


/scm

Help! If I can't get the release plugin to work this will potentially 
thwart our migration to maven. And we are back to the dark depths of Ant :(


Cheers,
Todor

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





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



RE: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Matt Brown
For anyone who runs into this problem in the future:

After downloading the scm plugin source, I discovered that the plugin is using 
an empty string for the passphrase when authenticating with a public key.

To tell the scm/CVS plugin the correct passphrase to use, you need to set a 
System property for the key maven.scm.cvs.java.ssh.passphrase, i.e.

mvn scm:status -Dmaven.scm.cvs.java.ssh.passphrase=my passphrase


A little disappointing that the system properties the CVS/SCM plugin uses 
aren't mentioned in the documentation for the plugin.


-Original Message-
From: Matt Brown [mailto:matt.br...@citrixonline.com] 
Sent: Thursday, June 11, 2009 1:11 PM
To: users@maven.apache.org
Subject: How to set up SCM/CVS/Maven integration with public key authentication?

I have a scm section in a POM that looks something like this:
 
scm

connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection
/scm


I typically use publickey auth to authentication against this cvs server, 
although it should accept my password as well.

When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
goal that involves connecting to this scm, I get the following failure:

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
[INFO] Working directory: C:\Documents and 
Settings\matt.brown\workspace\projectname
org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
authenticate. Reason: Publickey authentication failed.
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:136)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:166)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:498)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
at 
org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateCommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
at 
org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:63)
at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:750)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(AbstractCvsScmProvider.java:348)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:821)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:770)
at 
org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmManager.java:526)
at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
(lots more of the stacktrace)


And further down in the stacktrace:

Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
specify the correct password?
at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

Followed by:

[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:



I'm running this on a Windows machine, with no cvs executable on the PATH. I do 
have my public key available under $HOME/.ssh, but it doesn't seem as if 
cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

So, I have a few questions:

1. How do I properly tell maven when using scm where my public key resides? Do 
I need to do it explicitly?
2. From the stacktrace, does it look as if this is even the correct error - or 
is something else going on? I can see traffic exchanged between my machine and 
the CVS host when I run this command if I use wireshark, so I know some sort of 
communication is going on.

Thanks



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


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



RE: How to set up SCM/CVS/Maven integration with public key authentication (need help!)?

2009-06-15 Thread Matt Brown
For anyone who runs into this problem in the future:

After downloading the scm plugin source, I discovered that the plugin is using 
an empty string for the passphrase when authenticating with a public key.

To tell the scm/CVS plugin the correct passphrase to use, you need to set a 
System property for the key maven.scm.cvs.java.ssh.passphrase, i.e.

mvn scm:status -Dmaven.scm.cvs.java.ssh.passphrase=my passphrase


A little disappointing that the system properties the CVS/SCM plugin uses 
aren't mentioned in the documentation for the plugin.

 

-Original Message-
From: Matt Brown [mailto:matt.br...@citrixonline.com] 
Sent: Friday, June 12, 2009 12:14 PM
To: scm-us...@maven.apache.org
Subject: How to set up SCM/CVS/Maven integration with public key authentication 
(need help!)?

I have a scm section in a POM that looks something like this:
 
scm

connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection
/scm


I typically use publickey auth to authentication against this cvs server, 
although it should accept my password as well.

When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
goal that involves connecting to this scm, I get the following failure:

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
[INFO] Working directory: C:\Documents and 
Settings\matt.brown\workspace\projectname
org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
authenticate. Reason: Publickey authentication failed.
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:136)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:166)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:498)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
at 
org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateCommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
at 
org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:63)
at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:750)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(AbstractCvsScmProvider.java:348)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:821)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:770)
at 
org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmManager.java:526)
at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
(lots more of the stacktrace)


And further down in the stacktrace:

Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
specify the correct password?
at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

Followed by:

[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:



I'm running this on a Windows machine, with no cvs executable on the PATH. I do 
have my public key available under $HOME/.ssh, but it doesn't seem as if 
cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

So, I have a few questions:

1. How do I properly tell maven when using scm where my public key resides? Do 
I need to do it explicitly?
2. From the stacktrace, does it look as if this is even the correct error - or 
is something else going on? I can see traffic exchanged between my machine and 
the CVS host when I run this command if I use wireshark, so I know some sort of 
communication is going on.

Thanks

Re: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Anders Hammar
Hi,

Could you please file a jira regarding this so that it can be fixed?

/Anders

On Mon, Jun 15, 2009 at 20:16, Matt Brownmatt.br...@citrixonline.com wrote:
 For anyone who runs into this problem in the future:

 After downloading the scm plugin source, I discovered that the plugin is 
 using an empty string for the passphrase when authenticating with a public 
 key.

 To tell the scm/CVS plugin the correct passphrase to use, you need to set a 
 System property for the key maven.scm.cvs.java.ssh.passphrase, i.e.

    mvn scm:status -Dmaven.scm.cvs.java.ssh.passphrase=my passphrase


 A little disappointing that the system properties the CVS/SCM plugin uses 
 aren't mentioned in the documentation for the plugin.


 -Original Message-
 From: Matt Brown [mailto:matt.br...@citrixonline.com]
 Sent: Thursday, June 11, 2009 1:11 PM
 To: users@maven.apache.org
 Subject: How to set up SCM/CVS/Maven integration with public key 
 authentication?

 I have a scm section in a POM that looks something like this:

        scm
                
 connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection
        /scm


 I typically use publickey auth to authentication against this cvs server, 
 although it should accept my password as well.

 When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
 goal that involves connecting to this scm, I get the following failure:

 [INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
 [INFO] Working directory: C:\Documents and 
 Settings\matt.brown\workspace\projectname
 org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
 authenticate. Reason: Publickey authentication failed.
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:136)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:166)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:498)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
        at 
 org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateCommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
        at 
 org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:63)
        at 
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
        at 
 org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:750)
        at 
 org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(AbstractCvsScmProvider.java:348)
        at 
 org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:821)
        at 
 org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:770)
        at 
 org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmManager.java:526)
        at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
 (lots more of the stacktrace)


 And further down in the stacktrace:

 Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
 specify the correct password?
        at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
        at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
        at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

 Followed by:

 [ERROR] Provider message:
 [ERROR] The cvs command failed.
 [ERROR] Command output:



 I'm running this on a Windows machine, with no cvs executable on the PATH. I 
 do have my public key available under $HOME/.ssh, but it doesn't seem as if 
 cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

 So, I have a few questions:

 1. How do I properly tell maven when using scm where my public key resides? 
 Do I need to do it explicitly?
 2. From the stacktrace, does it look as if this is even the correct error - 
 or is something else going on? I can see traffic exchanged between my machine 
 and the CVS host when I run this command if I use wireshark, so I know some 
 sort of communication is going on.

 Thanks



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


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



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



RE: How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-15 Thread Matt Brown
Created: http://jira.codehaus.org/browse/SCM-477

Thanks.
 

-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of 
Anders Hammar
Sent: Monday, June 15, 2009 3:46 PM
To: Maven Users List
Subject: Re: How to set up SCM/CVS/Maven integration with public key 
authentication?

Hi,

Could you please file a jira regarding this so that it can be fixed?

/Anders

On Mon, Jun 15, 2009 at 20:16, Matt Brownmatt.br...@citrixonline.com wrote:
 For anyone who runs into this problem in the future:

 After downloading the scm plugin source, I discovered that the plugin is 
 using an empty string for the passphrase when authenticating with a public 
 key.

 To tell the scm/CVS plugin the correct passphrase to use, you need to set a 
 System property for the key maven.scm.cvs.java.ssh.passphrase, i.e.

    mvn scm:status -Dmaven.scm.cvs.java.ssh.passphrase=my passphrase


 A little disappointing that the system properties the CVS/SCM plugin uses 
 aren't mentioned in the documentation for the plugin.


 -Original Message-
 From: Matt Brown [mailto:matt.br...@citrixonline.com]
 Sent: Thursday, June 11, 2009 1:11 PM
 To: users@maven.apache.org
 Subject: How to set up SCM/CVS/Maven integration with public key 
 authentication?

 I have a scm section in a POM that looks something like this:

        scm
                
 connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connecti
 on
        /scm


 I typically use publickey auth to authentication against this cvs server, 
 although it should accept my password as well.

 When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
 goal that involves connecting to this scm, I get the following failure:

 [INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
 [INFO] Working directory: C:\Documents and 
 Settings\matt.brown\workspace\projectname
 org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
 authenticate. Reason: Publickey authentication failed.
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(E
 xtConnection.java:136)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connec
 t(CvsConnection.java:166)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.proces
 sCommand(CvsConnection.java:498)
        at 
 org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpd
 ateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
        at 
 org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateC
 ommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
        at 
 org.apache.maven.scm.command.update.AbstractUpdateCommand.executeComma
 nd(AbstractUpdateCommand.java:63)
        at 
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.j
 ava:59)
        at 
 org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCom
 mand(AbstractCvsScmProvider.java:750)
        at 
 org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(Abs
 tractCvsScmProvider.java:348)
        at 
 org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmPr
 ovider.java:821)
        at 
 org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmPr
 ovider.java:770)
        at 
 org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmMana
 ger.java:526)
        at 
 org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
 (lots more of the stacktrace)


 And further down in the stacktrace:

 Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
 specify the correct password?
        at 
 ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
        at 
 ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
        at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

 Followed by:

 [ERROR] Provider message:
 [ERROR] The cvs command failed.
 [ERROR] Command output:



 I'm running this on a Windows machine, with no cvs executable on the PATH. I 
 do have my public key available under $HOME/.ssh, but it doesn't seem as if 
 cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

 So, I have a few questions:

 1. How do I properly tell maven when using scm where my public key resides? 
 Do I need to do it explicitly?
 2. From the stacktrace, does it look as if this is even the correct error - 
 or is something else going on? I can see traffic exchanged between my machine 
 and the CVS host when I run this command if I use wireshark, so I know some 
 sort of communication is going on.

 Thanks



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


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

How to set up SCM/CVS/Maven integration with public key authentication (need help!)?

2009-06-12 Thread Matt Brown
I have a scm section in a POM that looks something like this:
 
scm

connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection
/scm


I typically use publickey auth to authentication against this cvs server, 
although it should accept my password as well.

When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
goal that involves connecting to this scm, I get the following failure:

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
[INFO] Working directory: C:\Documents and 
Settings\matt.brown\workspace\projectname
org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
authenticate. Reason: Publickey authentication failed.
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:136)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:166)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:498)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
at 
org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateCommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
at 
org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:63)
at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:750)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(AbstractCvsScmProvider.java:348)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:821)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:770)
at 
org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmManager.java:526)
at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
(lots more of the stacktrace)


And further down in the stacktrace:

Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
specify the correct password?
at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

Followed by:

[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:



I'm running this on a Windows machine, with no cvs executable on the PATH. I do 
have my public key available under $HOME/.ssh, but it doesn't seem as if 
cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

So, I have a few questions:

1. How do I properly tell maven when using scm where my public key resides? Do 
I need to do it explicitly?
2. From the stacktrace, does it look as if this is even the correct error - or 
is something else going on? I can see traffic exchanged between my machine and 
the CVS host when I run this command if I use wireshark, so I know some sort of 
communication is going on.

Thanks

How to set up SCM/CVS/Maven integration with public key authentication?

2009-06-11 Thread Matt Brown
I have a scm section in a POM that looks something like this:
 
scm

connectionscm:cvs:ext:myhostname:/cvsroot/repo:module_name/connection
/scm


I typically use publickey auth to authentication against this cvs server, 
although it should accept my password as well.

When I attempt to run 'mvn scm:update', 'mvn release:prepare', or any Maven 
goal that involves connecting to this scm, I get the following failure:

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -q update -d
[INFO] Working directory: C:\Documents and 
Settings\matt.brown\workspace\projectname
org.netbeans.lib.cvsclient.connection.AuthenticationException: Cannot 
authenticate. Reason: Publickey authentication failed.
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.ExtConnection.open(ExtConnection.java:136)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.connect(CvsConnection.java:166)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.util.CvsConnection.processCommand(CvsConnection.java:498)
at 
org.apache.maven.scm.provider.cvslib.cvsjava.command.update.CvsJavaUpdateCommand.executeCvsCommand(CvsJavaUpdateCommand.java:53)
at 
org.apache.maven.scm.provider.cvslib.command.update.AbstractCvsUpdateCommand.executeUpdateCommand(AbstractCvsUpdateCommand.java:78)
at 
org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:63)
at 
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.executeCommand(AbstractCvsScmProvider.java:750)
at 
org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider.update(AbstractCvsScmProvider.java:348)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:821)
at 
org.apache.maven.scm.provider.AbstractScmProvider.update(AbstractScmProvider.java:770)
at 
org.apache.maven.scm.manager.AbstractScmManager.update(AbstractScmManager.java:526)
at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:89)
(lots more of the stacktrace)


And further down in the stacktrace:

Caused by: java.io.IOException: Decrypted PEM has wrong padding, did you 
specify the correct password?
at ch.ethz.ssh2.crypto.PEMDecoder.removePadding(PEMDecoder.java:109)
at ch.ethz.ssh2.crypto.PEMDecoder.decryptPEM(PEMDecoder.java:286)
at ch.ethz.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:319)

Followed by:

[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:



I'm running this on a Windows machine, with no cvs executable on the PATH. I do 
have my public key available under $HOME/.ssh, but it doesn't seem as if 
cvs/maven/scm is loading it here - as I'm not asked for the keyphrase for it.

So, I have a few questions:

1. How do I properly tell maven when using scm where my public key resides? Do 
I need to do it explicitly?
2. From the stacktrace, does it look as if this is even the correct error - or 
is something else going on? I can see traffic exchanged between my machine and 
the CVS host when I run this command if I use wireshark, so I know some sort of 
communication is going on.

Thanks



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



mvn release:prepare with CVS extssh

2009-05-15 Thread Salomo Petrus

For some reason when using:
mvn release:prepare -Dmaven.scm.provider.cvs.implementation=cvs_native

Maven cannot commit the changed POM file

I get this:
Provider message:
The cvs command failed.
Command output:
Cannot access /web/cvs
/CVSROOT
No such file or directory

at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:135)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
... 16 more

I use this format in my SCM connection
scm:cvs:ext:usern...@server:/web/cvs/:module 

Our CVS server is setup with extssh. Before I had problems with
authentication but solved this by adding my public key to the
authorized_keys on the server.

Can anybody help me out?
-- 
View this message in context: 
http://www.nabble.com/mvn-release%3Aprepare-with-CVS-extssh-tp23557254p23557254.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Switch off CVS log messages

2009-04-24 Thread Berwanger, Christian
Hi,

 

I have a problem that I want to switch off the fetch of cvs log
messages. I found in the SCM API following function at the class
CvsLogListener:

 

/**

 * Called when the server wants to send a message to be displayed to
the

 * user. The message is only for information purposes and clients
can

 * choose to ignore these messages if they wish.

 *

 * {...@inheritdoc}

 */

public void messageSent( MessageEvent e )

{

String line = e.getMessage();

StringBuffer stream = e.isError() ? stderr : stdout;

 

if ( e.isTagged() )

{

String message = MessageEvent.parseTaggedMessage(
taggedLine, e.getMessage() );

if ( message != null )

{

//stream.println(message);

stream.append( message ).append( \n );

 

}

}

else

{

//stream.println(line);

stream.append( line ).append( \n );

 

}

}

 

 

How you see in the comment of the function the capture of that messages
could be switch off. But I didn't found anywhere a comment how this can
be achieved.

 

Thx for answering.

 

Christian



Please help Logica to respect the environment by not printing this email  / 
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie 
so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a 
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.



project exists in cvs; how to check whether there are updates and then build?

2009-03-13 Thread Chris Stoughton
I suspect this is a solved problem, but I can't find an example or
description.  I am starting to use Maven2.

I have a java project that is in cvs.  I want to use mvn to check whether
there are any change in the cvs repository and, if so, update, and build.

I managed to get the scm:bootstrap goal to get a local copy of the project,
in the targets directory.

Thanks.


Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-13 Thread Chris Stoughton
Thanks for the pointer.  I'll read the continuum docs and join that list if
necessary.


On Thu, Mar 12, 2009 at 10:47 PM, Wendy Smoak wsm...@gmail.com wrote:

 On Thu, Mar 12, 2009 at 8:30 PM, Chris Stoughton
 chris.stough...@gmail.com wrote:
  I have continuum installed, but I need to install a Maven2 build.
 
  1.  Does continuum detect that there is a change in cvs?
  2.  Given that there is a change, what phase of maven does the cvs
  checkout?

 Probably best to come join us on us...@continuum then, instead of the
 maven list. :)

 Generally you add the project to the CI server, and it does the
 initial checkout.  Then periodically it wakes up and updates the
 checkout.  If there are changes, it builds.  If not, it waits for the
 next scheduled build time.

 --
 Wendy

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




Property filtering using CVS branch tag name and date/time stamp

2009-03-12 Thread jkwuc89

During assembly creation inside my Maven project, I need to filter a resource
file named build.info that contains the following:

${cvs.branch.tag.name} ${time.stamp} GMT

During filtering, cvs.branch.tag.name needs to be replaced with the CVS
branch tag name from the file, CVS/Tag.  time.stamp needs to be replaced
with the build's date/time stamp in the format:  MMDD HH:MM.

I found information about how to get the date/time stamp at:
http://www.nabble.com/Can-I-get-a-timestamp--td8836362.html#a8836362.

However, I was unable to find information on how to get the CVS branch tag
name?

Is there a way to set a Maven property to the CVS branch tag name (like
reading it in from CVS/Tag for instance)?




-- 
View this message in context: 
http://www.nabble.com/Property-filtering-using-CVS-branch-tag-name-and-date-time-stamp-tp22480850p22480850.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Chris Stoughton
I suspect this is a solved problem, but I can't find an example or
description.  I am starting to use Maven2.

I have a java project that is in cvs.  I want to use mvn to check whether
there are any change in the cvs repository and, if so, update, and build.

I managed to get the scm:bootstrap goal to get a local copy of the project,
in the targets directory.

Thanks.


Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 7:32 PM, Chris Stoughton
chris.stough...@gmail.com wrote:

 I have a java project that is in cvs.  I want to use mvn to check whether
 there are any change in the cvs repository and, if so, update, and build.

The easiest way would be to install one of the many continuous
integration servers (Continuum, Hudson, etc.) which do exactly that.

-- 
Wendy

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



Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Chris Stoughton
I have continuum installed, but I need to install a Maven2 build.

1.  Does continuum detect that there is a change in cvs?
2.  Given that there is a change, what phase of maven does the cvs
checkout?

Sorry, this must be obvious once you see it -- thanks!




On Thu, Mar 12, 2009 at 9:35 PM, Wendy Smoak wsm...@gmail.com wrote:

 On Thu, Mar 12, 2009 at 7:32 PM, Chris Stoughton
 chris.stough...@gmail.com wrote:

  I have a java project that is in cvs.  I want to use mvn to check whether
  there are any change in the cvs repository and, if so, update, and build.

 The easiest way would be to install one of the many continuous
 integration servers (Continuum, Hudson, etc.) which do exactly that.

 --
 Wendy

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




Re: first use of Maven -- how to check cvs repository and build when something has changed

2009-03-12 Thread Wendy Smoak
On Thu, Mar 12, 2009 at 8:30 PM, Chris Stoughton
chris.stough...@gmail.com wrote:
 I have continuum installed, but I need to install a Maven2 build.

 1.  Does continuum detect that there is a change in cvs?
 2.  Given that there is a change, what phase of maven does the cvs
 checkout?

Probably best to come join us on us...@continuum then, instead of the
maven list. :)

Generally you add the project to the CI server, and it does the
initial checkout.  Then periodically it wakes up and updates the
checkout.  If there are changes, it builds.  If not, it waits for the
next scheduled build time.

-- 
Wendy

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



SCM and CVS Export

2009-03-06 Thread Hunt, Mary
I am new to Maven2, and but am an experienced Ant user.  I am trying to write a 
pom that will do the following:
1.  Export source from CVS repository based on a tag
2.  Compile and package the exported source.

I have 2 problems.
1.  When I export the source from CVS it creates a duplicate folder structure.  
See below...
  plugin
  artifactIdmaven-scm-plugin/artifactId
 !-- configuration
skipCheckoutIfExiststrue/skipCheckoutIfExists
  /configuration
--
  executions

execution
  idfetch-feature/id
  phasegenerate-sources/phase
  goals
goalexport/goal
  /goals
  configuration
connectionTypedeveloperConnection/connectionType
exportDirectorytarget\exported-sources/exportDirectory
scmVersion${exportTag}/scmVersion
scmVersionTypetag/scmVersionType
  /configuration
/execution

  /executions
/plugin

The exported source ends up in target\exported-sources\target\exported-sources. 
 I would expect that it would end up in target/exported-sources.
The working directory indicated at this time is:  Working directory: 
C:\Projects\Maven\cimp-app\target\exported-sources (which is now empty except 
for a new target directory.

2.  What I really want to happen at this point is for the remainder of the 
build to operate on the exported sources, but that is not happening.  I end up 
having to run my mvn package command separately on the pom in the 
target\exported-sources\target\exported-sources.  With ant, I did not have this 
issue, and I think I am stuck in some wrong-thinking about how to use maven2.

Any suggestions would be appreciated.

Mary Hunt
Technical Lead, Application Development
Enterprise Development Services
Information Technology Services, Yale University
25 Science Park - 4th Floor
New Haven, Connecticut 06511
voice: 203-436-3961
fax: 203-436-4064
web: http://www.yale.edu/its/web/



CVS export produces duplicate folder structures

2009-02-16 Thread Busch Paul
Hi there,

I'm trying to use scm to export an XML Schema from cvs to generate
source code from it. As of now I can export the file but there are some
weirdnesses that keep me from using it in a real world application.

I use the following plugin configuration to export via scm:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
version1.1/version
configuration
!--basedir./basedir--
connectionTypecustom/connectionType
!--workingDirectory./workingDirectory--

exportDirectorytarget\exported-sources\xsd/exportDirectory
connectionUrl
scm:cvs:pserver:user:passw...@host:/data/cvsroot/repository:my/schema/di
rectory/in/cvs
/connectionUrl
developerConnectionUrl
scm:cvs:pserver:user:passw...@host:/data/cvsroot/repository:my/schema/di
rectory/in/cvs
/developerConnectionUrl
scmVersionMY_BRANCH/scmVersion
scmVersionTypebranch/scmVersionType
includesschema.xsd/includes
/configuration
executions
execution
idExport schema files for generation/id
goals
goalexport/goal
/goals
phaseinitialize/phase
/execution
/executions
/plugin

The scm plugin is configured to execute its export goal automatically in
the initialize phase. I set both a connectionUrl and a
developerConnectionUrl because the repository I want to export from has
nothing to do with the repository used for my project. Therefore I also
set the connectionType to custom. Configuring the scmVersion and
scmVersionType seem to work well, too.

With the configuration above the build will succeed and the relevant
output from saying mvn initialize would be something like:

[INFO] Executing: cmd.exe /X /C cvs -z3 -f -d
:pserver:user:passw...@host:/dat
a/cvsroot/repository:my/schema/directory/in/cvs -q export -rMY_BRANCH -d
target
\exported-sources\xsd my/schema/directory/in/cvs
[INFO] Working directory: C:\checkout\myproj\target\exported-sources\xsd

The exported file will end up in
target/exported-sources/xsd/target/exported-sources/xsd instead of
target/exported-sources/xsd where I wanted them.

And this is where I don't understand the configuration any more:

(1) Whatever I do, when I use slashes instead of backslashes in
exportDirectory the build will fail. I'm on windows, so backslashes are
fine for me, but I thought to be cross platform compatible slashes would
be appropriate.
(2) Although basedir is not optional I can omit it with no problems.
Whatever value I set it to, it does not seem to get used anyway. Which
information should this parameter actually convey?
(3) The same for workingDirectory. It does not seem to get used either.
(4) The value from exportDirectory seems to get used twice, firstly as
the value -d parameter for the cvs command and secondly to chdir to the
working directory as can be seen from the second info message. This
might be the reason for the duplicated output directory structure.

Is there a bug in the cvs provider that causes the exportDirectory to be
used twice? Am I missing something? Or am I simply abusing the scm
plugin for things that I can't expect to work?
Any help will be highly appreciated.
Best Regards

Paul


CVS command line parameters

2008-10-13 Thread Jon Strayer
How can I pass command line parameters to CVS?  I want to do an update with
-C.

-- 
Esse Quam Videre
To Be, rather than to Seem


Re: CVS command line parameters

2008-10-13 Thread Brett Porter
in which plugin? SCM?

(one way outside of Maven is to use ~/.cvsrc if it will always be used).

- Brett

2008/10/14 Jon Strayer [EMAIL PROTECTED]:
 How can I pass command line parameters to CVS?  I want to do an update with
 -C.

 --
 Esse Quam Videre
 To Be, rather than to Seem




-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven SCM (CVS) usage

2008-10-08 Thread Emmanuel Venisse
Hi Velo,
By default, maven-scm use a pure java cvs client (a netbeans implementation)
and the auto-login feature doesn't work well with external tool.
By using the native cvs client, you use the command line, so if you already
log in to a cvs server, all works fine like a direct cvs client command.

Emmanuel

On Wed, Oct 8, 2008 at 2:11 AM, Marvin Froeder [EMAIL PROTECTED] wrote:

 Yes, and if I add

 -Dmaven.scm.provider.cvs.implementation=cvs_native


 It works.

 Any thoughts?


 VELO

 On Tue, Oct 7, 2008 at 8:50 PM, Brett Porter [EMAIL PROTECTED]
 wrote:

  Are you able to run other cvs commands from the command line? Is your
  home directory set consistently?
 
  2008/10/8 Marvin Froeder [EMAIL PROTECTED]:
   Hi folks,
  
   I'm using maven SCM to develop a maven plugin.
  
   And I got this exception:
   org.apache.maven.scm.ScmException: password is required. You must run a
  'cvs
   -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login'
 first
  or
   provide it in the connection url.
  at
  
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
  at
  
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
  at
  
 
 org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
  at
  
 
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
  ... 27 more
  
  
   So I install tortoise CVS (to get cvs.exe at windows) and run:
  
   D:\tempcvs -d :
 pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipselogin
   Logging in to :pserver:[EMAIL PROTECTED]:2401
 :/cvsroot/eclipse
   CVS Password:
  
   D:\temp
  
  
   So far so good.
  
   But, when I run maven again I got the same exception.  Does anyone know
  what
   is happening?
  
  
   VELO
  
 
 
 
  --
  Brett Porter
  Blog: http://blogs.exist.com/bporter/
 



Re: Maven SCM (CVS) usage

2008-10-08 Thread Marvin Froeder
Ok, I will use cvs_native.

Thanks guys.


VELO

On Wed, Oct 8, 2008 at 5:37 AM, Emmanuel Venisse [EMAIL PROTECTED]
 wrote:

 Hi Velo,
 By default, maven-scm use a pure java cvs client (a netbeans
 implementation) and the auto-login feature doesn't work well with external
 tool.
 By using the native cvs client, you use the command line, so if you already
 log in to a cvs server, all works fine like a direct cvs client command.

 Emmanuel


 On Wed, Oct 8, 2008 at 2:11 AM, Marvin Froeder [EMAIL PROTECTED] wrote:

 Yes, and if I add

 -Dmaven.scm.provider.cvs.implementation=cvs_native


 It works.

 Any thoughts?


 VELO

 On Tue, Oct 7, 2008 at 8:50 PM, Brett Porter [EMAIL PROTECTED]
 wrote:

  Are you able to run other cvs commands from the command line? Is your
  home directory set consistently?
 
  2008/10/8 Marvin Froeder [EMAIL PROTECTED]:
   Hi folks,
  
   I'm using maven SCM to develop a maven plugin.
  
   And I got this exception:
   org.apache.maven.scm.ScmException: password is required. You must run
 a
  'cvs
   -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login'
 first
  or
   provide it in the connection url.
  at
  
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
  at
  
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
  at
  
 
 org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
  at
  
 
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
  ... 27 more
  
  
   So I install tortoise CVS (to get cvs.exe at windows) and run:
  
   D:\tempcvs -d :
 pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipselogin
   Logging in to :pserver:[EMAIL PROTECTED]:2401
 :/cvsroot/eclipse
   CVS Password:
  
   D:\temp
  
  
   So far so good.
  
   But, when I run maven again I got the same exception.  Does anyone
 know
  what
   is happening?
  
  
   VELO
  
 
 
 
  --
  Brett Porter
  Blog: http://blogs.exist.com/bporter/
 





Maven SCM (CVS) usage

2008-10-07 Thread Marvin Froeder
Hi folks,

I'm using maven SCM to develop a maven plugin.

And I got this exception:
org.apache.maven.scm.ScmException: password is required. You must run a 'cvs
-d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login' first or
provide it in the connection url.
at
org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
at
org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
at
org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
at
org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
... 27 more


So I install tortoise CVS (to get cvs.exe at windows) and run:

D:\tempcvs -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login
 Logging in to :pserver:[EMAIL PROTECTED]:2401:/cvsroot/eclipse
 CVS Password:

 D:\temp


So far so good.

But, when I run maven again I got the same exception.  Does anyone know what
is happening?


VELO


Re: Maven SCM (CVS) usage

2008-10-07 Thread Brett Porter
Are you able to run other cvs commands from the command line? Is your
home directory set consistently?

2008/10/8 Marvin Froeder [EMAIL PROTECTED]:
 Hi folks,

 I'm using maven SCM to develop a maven plugin.

 And I got this exception:
 org.apache.maven.scm.ScmException: password is required. You must run a 'cvs
 -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login' first or
 provide it in the connection url.
at
 org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
at
 org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
at
 org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
at
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
... 27 more


 So I install tortoise CVS (to get cvs.exe at windows) and run:

 D:\tempcvs -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login
 Logging in to :pserver:[EMAIL PROTECTED]:2401:/cvsroot/eclipse
 CVS Password:

 D:\temp


 So far so good.

 But, when I run maven again I got the same exception.  Does anyone know what
 is happening?


 VELO




-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven SCM (CVS) usage

2008-10-07 Thread Marvin Froeder
Yes, and if I add

-Dmaven.scm.provider.cvs.implementation=cvs_native


It works.

Any thoughts?


VELO

On Tue, Oct 7, 2008 at 8:50 PM, Brett Porter [EMAIL PROTECTED] wrote:

 Are you able to run other cvs commands from the command line? Is your
 home directory set consistently?

 2008/10/8 Marvin Froeder [EMAIL PROTECTED]:
  Hi folks,
 
  I'm using maven SCM to develop a maven plugin.
 
  And I got this exception:
  org.apache.maven.scm.ScmException: password is required. You must run a
 'cvs
  -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login' first
 or
  provide it in the connection url.
 at
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsPass.execute(CvsPass.java:136)
 at
 
 org.apache.maven.scm.provider.cvslib.command.login.CvsLoginCommand.executeLoginCommand(CvsLoginCommand.java:66)
 at
 
 org.apache.maven.scm.command.login.AbstractLoginCommand.executeCommand(AbstractLoginCommand.java:47)
 at
 
 org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
 ... 27 more
 
 
  So I install tortoise CVS (to get cvs.exe at windows) and run:
 
  D:\tempcvs -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipselogin
  Logging in to :pserver:[EMAIL PROTECTED]:2401:/cvsroot/eclipse
  CVS Password:
 
  D:\temp
 
 
  So far so good.
 
  But, when I run maven again I got the same exception.  Does anyone know
 what
  is happening?
 
 
  VELO
 



 --
 Brett Porter
 Blog: http://blogs.exist.com/bporter/



RE: cvs with privateKey [Virus checked]

2008-07-17 Thread Jeudy, Guillaume
Hi,
 
It's funny you asked, I just went through this recently. Do you already have a 
private key setup with your ssh prog? maven will automatically search for your 
private key in known locations such as ~/.ssh/id_dsa, ~/.ssh/id_rsa.   

Then you may have to setup a passphrase in your ~/.m2/settings.xml. (in my case 
I did not need since there was no passphrase setup on the private key). export 
CVS_RSH and the scm connection url should look something like this:

export CVS_RSH=ssh

scm:cvs:ext:user@host:cvsroot:project

Bingo!
 
-Guillaume



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 17/07/2008 4:44 AM
To: users@maven.apache.org
Subject: scm:cvs with privateKey [Virus checked]




Hi guy,

how do I configure scm and/or the scm-plugin so it will use a private key
for authentication ?
Is their a cheat sheet somewhere ?

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

Der Inhalt eines Begriffs nimmt ab, wenn sein Umfang zunimmt; wird dieser
allumfassend, so muß der Inhalt ganz verloren gehen.
from G. Frege: Die Grundlagen der Arithmetik S. 40



 --
--

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:[EMAIL PROTECTED]
http://www.atosworldline.com http://www.atosworldline.com/ 

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417

--

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: [EMAIL PROTECTED]
http://www.atosworldline.com http://www.atosworldline.com/ 

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *





This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

How to checkout latest code from CVS?

2008-06-30 Thread Anand Kulkarni
Hi,
 
I want to check out latest code from CVS using Maven. I browsed the SCM
project and found the following URL:
 
http://maven.apache.org/scm/plugins/checkout-mojo.html
 
The link founds good but how to introduce it into my pom.xml file is not
discussed. Can you please throw some light on this?
 
regards,
 
Anand
 


CVS, maven2 release plugin, best practice

2008-06-25 Thread Jeudy, Guillaume
Hi all,
 
I have been playing with maven2 release plugin and wanted to get insight from 
the community. The following link was very useful in getting a setup going: 
http://jlorenzen.blogspot.com/2007/09/how-to-create-release-using-maven2.html.
 
However there is still a gray area into how branching/merging would fit in the 
picture. In my model I use release:branch plugin to create a branch whenever a 
release is ready for staging/production.
 
I do:

mvn release:branch -DupdateBranchVersions=true

when prompted I provide 1.0 version for the branch and 2.0-SNAPSHOT for next 
working version. The branch is getting created in CVS and pom files are updated 
appropriately.

Now let's say I need to apply a bugfix to my branch.
 
1. I checkout branch in a separate workspace. I apply fixes check them in to 
the branch. I create a tag say: 1_0_branch_fix1. At this point should I update 
the pom files in the branch to something like 1.0.fix1 ? Afaik there is no 
automated process for this in maven2.

2. Now I released 1_0_branch_fix1 with release:perform plugin using -Dtag and 
-DconnectionUrl option (no need for release.properties)

3. Merge back fix in the trunk. This process is not done through maven.

Let me know how you guys tackle this problem, I guess the only missing piece in 
my process is the update of the pom files in the branch when doing a bugfix 
release. Today I have to update this manually.

Regards,
-Guillaume






This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.


Use Maven2 to build from a CVS tag

2008-06-18 Thread Jeudy, Guillaume
Hi maven savvy developers,
 
Is there an automated way to trigger a maven build from a cvs tagged version ?
 
Basically I want to check out the source code for a given tag and trigger the 
maven build.
 
So far I need to do these steps separately (checkout with cvs then build with 
maven).

I use the maven release plugin to create a new CVS tag and handle the build and 
everything.

The trick is I have to rebuild with a different profile for every environment 
we have. This rebuild operation is done locally on the box where its going to 
be deployed using an environment properties file injected on the command-line. 
This rebuild needs to sync for a given tag in CVS automatically.
 
It would be great to know how others have tackled this.
 
Thanks,
-Guillaume



This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.


Re: Use Maven2 to build from a CVS tag

2008-06-18 Thread Mikel Cármenes Cavia
I'm developing a tool that among other things, allows for the user to pick a
CVS version and build it with maven (this is part of the process anyways).
While I have not got as far as you seem to be yet, I do not know of any
automated way to do this.

Could you elaborate on how you use the maven release plugin? Does it
generate a pom file by itself?

I have successfully mavenized the file system, so that dependencies reside
inside of the resources folder and the code is in its right place, however I
haven't yet figured out how to go about generating a pom file to feed maven
with all the correct dependencies in it, keeping in mind inter-dependence
and whatnot (such that things aren't listed multiple times..)


On Wed, Jun 18, 2008 at 10:38, Jeudy, Guillaume [EMAIL PROTECTED]
wrote:

 Hi maven savvy developers,

 Is there an automated way to trigger a maven build from a cvs tagged
 version ?

 Basically I want to check out the source code for a given tag and trigger
 the maven build.

 So far I need to do these steps separately (checkout with cvs then build
 with maven).

 I use the maven release plugin to create a new CVS tag and handle the build
 and everything.

 The trick is I have to rebuild with a different profile for every
 environment we have. This rebuild operation is done locally on the box where
 its going to be deployed using an environment properties file injected on
 the command-line. This rebuild needs to sync for a given tag in CVS
 automatically.

 It would be great to know how others have tackled this.

 Thanks,
 -Guillaume



 
 This electronic mail (including any attachments) may contain information
 that is privileged, confidential, and/or otherwise protected from disclosure
 to anyone other than its intended recipient(s). Any dissemination or use of
 this electronic email or its contents (including any attachments) by persons
 other than the intended recipient(s) is strictly prohibited. If you have
 received this message in error, please notify us immediately by reply email
 so that we may correct our internal records. Please then delete the original
 message (including any attachments) in its entirety. Thank you.



RE: Use Maven2 to build from a CVS tag

2008-06-18 Thread Jeudy, Guillaume
I suggest you read up on maven release plugin: 
http://maven.apache.org/plugins/maven-release-plugin/introduction.html
 
I don't use it any differently then the official usage. The plugin doesn't 
generate a pom file but rather modifies the existing pom file with a new 
version and checks in CVS with proper CVS tagging.

Im not sure I understand what you are trying to accomplish with your tool, it 
looks like you may try to replicate what maven already offers with their 
release plugin. Then why not find a way to leverage the plugin itself ?



From: Mikel Cármenes Cavia [mailto:[EMAIL PROTECTED]
Sent: Wed 18/06/2008 9:52 AM
To: Maven Users List
Subject: Re: Use Maven2 to build from a CVS tag



I'm developing a tool that among other things, allows for the user to pick a
CVS version and build it with maven (this is part of the process anyways).
While I have not got as far as you seem to be yet, I do not know of any
automated way to do this.

Could you elaborate on how you use the maven release plugin? Does it
generate a pom file by itself?

I have successfully mavenized the file system, so that dependencies reside
inside of the resources folder and the code is in its right place, however I
haven't yet figured out how to go about generating a pom file to feed maven
with all the correct dependencies in it, keeping in mind inter-dependence
and whatnot (such that things aren't listed multiple times..)


On Wed, Jun 18, 2008 at 10:38, Jeudy, Guillaume [EMAIL PROTECTED]
wrote:

 Hi maven savvy developers,

 Is there an automated way to trigger a maven build from a cvs tagged
 version ?

 Basically I want to check out the source code for a given tag and trigger
 the maven build.

 So far I need to do these steps separately (checkout with cvs then build
 with maven).

 I use the maven release plugin to create a new CVS tag and handle the build
 and everything.

 The trick is I have to rebuild with a different profile for every
 environment we have. This rebuild operation is done locally on the box where
 its going to be deployed using an environment properties file injected on
 the command-line. This rebuild needs to sync for a given tag in CVS
 automatically.

 It would be great to know how others have tackled this.

 Thanks,
 -Guillaume



 
 This electronic mail (including any attachments) may contain information
 that is privileged, confidential, and/or otherwise protected from disclosure
 to anyone other than its intended recipient(s). Any dissemination or use of
 this electronic email or its contents (including any attachments) by persons
 other than the intended recipient(s) is strictly prohibited. If you have
 received this message in error, please notify us immediately by reply email
 so that we may correct our internal records. Please then delete the original
 message (including any attachments) in its entirety. Thank you.






This electronic mail (including any attachments) may contain information that 
is privileged, confidential, and/or otherwise protected from disclosure to 
anyone other than its intended recipient(s). Any dissemination or use of this 
electronic email or its contents (including any attachments) by persons other 
than the intended recipient(s) is strictly prohibited. If you have received 
this message in error, please notify us immediately by reply email so that we 
may correct our internal records. Please then delete the original message 
(including any attachments) in its entirety. Thank you.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Maven 1.x Cruise control cvs update problem

2008-06-03 Thread maneo

Hi,

I'm using CruiseControl Maven (1.x) Plugin I have a problem with cvs
update of my project files. From that what i know maven scm plugin
updates project (maven scm:update-project) and when it's done, build
process starts. After recent update I found a lot of empty directories
in CC checkout directory, those were dirs removed from CVS. I wanted
to add -P parameter to cvs command to prune empty directories during
cvs update, but I don't know where to put this parameter. I checked
scm plugin site and search through mailing list without significant
result. What should I do to execute cvs update with this parameter?

Thanks in advance,
Adam

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven CVS checkout/comple examples

2008-05-29 Thread King, Leon C
Guys,

I'm a newbie to maven and I'm in the process of migrating
from ant.   Can anyone proved me an example of how to define a pom that
checks out code from a cvs repository, gathers all the dependencies, and
builds.???   I've yet to find one..

 

Thanks,

 

Leon



CVS checkout from tag using maven

2008-04-22 Thread Sowmya . R
Hi,
  I am checking out the project from CVS using maven only from HEAD.I
want to checkout using tag But I am not able to checkout through tag.
Please help me out from this issue

I am using like this

  scm
connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
//CVSHOME:aa/bb/${mybranch}/connection

 developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
//CVSHOME:aa/bb/${mybranch}/developerConnection
urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
/istcvs/CVSHOME:aa/bb/${mybranch}/url
tag${mytag_1}/tag
  /scm
-- 


and command   to checkout is - mvn -Dmyname=$NAME
-Dmypass=$PASS -Dmybranch=$Abranch -Dmytag_1=$mytag  scm:checkout


Regads,

Sowmya.R


Re: CVS checkout from tag using maven

2008-04-22 Thread Wayne Fay
Does it work if you put the tag etc directly in the pom rather than
using -D properties?

Unless and until this works successfully, it won't work from the
command line either. So make sure that works first.

Wayne

On 4/22/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi,
  I am checking out the project from CVS using maven only from HEAD.I
 want to checkout using tag But I am not able to checkout through tag.
 Please help me out from this issue

 I am using like this

  scm
connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
 //CVSHOME:aa/bb/${mybranch}/connection

  developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
 //CVSHOME:aa/bb/${mybranch}/developerConnection
urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]:
 /istcvs/CVSHOME:aa/bb/${mybranch}/url
tag${mytag_1}/tag
  /scm
 --


 and command   to checkout is - mvn -Dmyname=$NAME
 -Dmypass=$PASS -Dmybranch=$Abranch -Dmytag_1=$mytag  scm:checkout


 Regads,

 Sowmya.R


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CVS checkout from tag using maven

2008-04-22 Thread Sowmya . R
Hi,Can you please provide me full details to do tag checkout from CVS
using maven. I have to do checkout from command-line using

mvn scm:checkout.



On Tue, Apr 22, 2008 at 9:57 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 Does it work if you put the tag etc directly in the pom rather than
 using -D properties?

 Unless and until this works successfully, it won't work from the
 command line either. So make sure that works first.

 Wayne

 On 4/22/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi,
   I am checking out the project from CVS using maven only from HEAD.I
  want to checkout using tag But I am not able to checkout through tag.
  Please help me out from this issue
 
  I am using like this
 
   scm
 connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED][EMAIL 
  PROTECTED]
 :
  //CVSHOME:aa/bb/${mybranch}/connection
 
   developerConnectionscm:cvs:pserver:${myname}:${
 [EMAIL PROTECTED] [EMAIL PROTECTED]:
  //CVSHOME:aa/bb/${mybranch}/developerConnection
 urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED][EMAIL PROTECTED]
 :
  /istcvs/CVSHOME:aa/bb/${mybranch}/url
 tag${mytag_1}/tag
   /scm
  --
 
 
  and command   to checkout is - mvn -Dmyname=$NAME
  -Dmypass=$PASS -Dmybranch=$Abranch -Dmytag_1=$mytag  scm:checkout
 
 
  Regads,
 
  Sowmya.R
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Regads,

Sowmya.R


wrong status for removed file in cvs with scm

2008-04-06 Thread Benoit Decherf

scm status doesn't detect removed files in cvs :
It only says : [INFO] Unknown file status: 'R'.

I can see that for the status the problem comes from CvsStatusConsumer :
   else if ( statusString.equals( D ) )
   {  
   status = ScmFileStatus.DELETED;


For removed files, the status is 'R', not 'D'.


scm checkin also doesn't commit removed files. This is probably a bug in 
cvslib because it works using cvs_native


Benoit


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cvs ssh problem

2008-03-31 Thread Jon Strayer
I fixed this by performing the update via cvs on the command line.  After
that Maven worked fine.

It seems it was hanging on the prompt about host authentication.

On Mon, Mar 31, 2008 at 8:16 AM, Jon Strayer [EMAIL PROTECTED] wrote:

 On Sun, Mar 30, 2008 at 11:54 PM, Barrie Treloar [EMAIL PROTECTED]
 wrote:

  On Mon, Mar 31, 2008 at 12:31 PM, Jon Strayer [EMAIL PROTECTED] wrote:
   Given this scm entry from a pom:
   scm
   connection
   scm:cvs:ext:${cvs.user)@
freehost3270.org:/home/jstrayer/cvsroot:freehost3270
   /connection
   /scm
  
when I execute
mvn scm:update
  
It just hangs as if it's waiting for a password somewhere.
  
But when I execute
  
ssh [EMAIL PROTECTED]
  
I am connected without a password prompt.
  
I'm running in cygwin, so there might be a problem there.  But I also
  tried
in a Windows shell (/cygwin/bin/ssh [EMAIL PROTECTED]) and I
  was
able to log in then too.
  
What do I need to look at next?
 
  Have you tried
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-scm-plugin/artifactId
   configuration
 providerImplementations
   cvscvs_native/cvs
 /providerImplementations
   /configuration
 /plugin
 
  There is something I remember about mvn using an internal cvs tool
  until you set this value.
 
  Can't recall the exact details now.
 

 It's still hanging.




 --
 Esse Quam Videre
 To Be, rather than to Seem




-- 
Esse Quam Videre
To Be, rather than to Seem


Re: cvs ssh problem

2008-03-31 Thread Jon Strayer
On Mon, Mar 31, 2008 at 5:13 PM, Jon Strayer [EMAIL PROTECTED] wrote:

 I fixed this by performing the update via cvs on the command line.  After
 that Maven worked fine.

 It seems it was hanging on the prompt about host authentication.


I take that back.  mvn scm:checkout works,  but the changelog plugin seems
to hang at the same place.




 On Mon, Mar 31, 2008 at 8:16 AM, Jon Strayer [EMAIL PROTECTED] wrote:

  On Sun, Mar 30, 2008 at 11:54 PM, Barrie Treloar [EMAIL PROTECTED]
  wrote:
 
   On Mon, Mar 31, 2008 at 12:31 PM, Jon Strayer [EMAIL PROTECTED] wrote:
Given this scm entry from a pom:
scm
connection
scm:cvs:ext:${cvs.user)@
 freehost3270.org:/home/jstrayer/cvsroot:freehost3270
/connection
/scm
   
 when I execute
 mvn scm:update
   
 It just hangs as if it's waiting for a password somewhere.
   
 But when I execute
   
 ssh [EMAIL PROTECTED]
   
 I am connected without a password prompt.
   
 I'm running in cygwin, so there might be a problem there.  But I
   also tried
 in a Windows shell (/cygwin/bin/ssh [EMAIL PROTECTED]) and
   I was
 able to log in then too.
   
 What do I need to look at next?
  
   Have you tried
  
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
configuration
  providerImplementations
cvscvs_native/cvs
  /providerImplementations
/configuration
  /plugin
  
   There is something I remember about mvn using an internal cvs tool
   until you set this value.
  
   Can't recall the exact details now.
  
 
  It's still hanging.
 
 
 
 
  --
  Esse Quam Videre
  To Be, rather than to Seem
 



 --
 Esse Quam Videre
 To Be, rather than to Seem




-- 
Esse Quam Videre
To Be, rather than to Seem


cvs ssh problem

2008-03-30 Thread Jon Strayer
Given this scm entry from a pom:
scm
connection
scm:cvs:ext:${cvs.user)@
freehost3270.org:/home/jstrayer/cvsroot:freehost3270
/connection
/scm

when I execute
mvn scm:update

It just hangs as if it's waiting for a password somewhere.

But when I execute

ssh [EMAIL PROTECTED]

I am connected without a password prompt.

I'm running in cygwin, so there might be a problem there.  But I also tried
in a Windows shell (/cygwin/bin/ssh [EMAIL PROTECTED]) and I was
able to log in then too.

What do I need to look at next?

-- 
Esse Quam Videre
To Be, rather than to Seem


Re: cvs ssh problem

2008-03-30 Thread Barrie Treloar
On Mon, Mar 31, 2008 at 12:31 PM, Jon Strayer [EMAIL PROTECTED] wrote:
 Given this scm entry from a pom:
 scm
 connection
 scm:cvs:ext:${cvs.user)@
  freehost3270.org:/home/jstrayer/cvsroot:freehost3270
 /connection
 /scm

  when I execute
  mvn scm:update

  It just hangs as if it's waiting for a password somewhere.

  But when I execute

  ssh [EMAIL PROTECTED]

  I am connected without a password prompt.

  I'm running in cygwin, so there might be a problem there.  But I also tried
  in a Windows shell (/cygwin/bin/ssh [EMAIL PROTECTED]) and I was
  able to log in then too.

  What do I need to look at next?

Have you tried

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-scm-plugin/artifactId
  configuration
providerImplementations
  cvscvs_native/cvs
/providerImplementations
  /configuration
/plugin

There is something I remember about mvn using an internal cvs tool
until you set this value.

Can't recall the exact details now.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-28 Thread [EMAIL PROTECTED]

Thank you so much for your help.  I was working until very late last night
and I was executing the command that you sent me at the wrong directory
level! - so, now I have got the maven build checking the project out.  

I do have a question now, whats the correct maven model to build and ear
that has a war and jar and a web service? - I'd be very grateful if I could
get some pointers here!.


Sowmya.R wrote:
 
 Hi,  I am also new user of this maven.
 
 I will tell you one simple step to do this.
 
 checkout the project from cvs using eclipse.With in the project your going
 to get pom.xml.
 using that pom.xml just replace the values in SCM your having in username
 and password (what I have sent earlier) .
  You can use that pom.xml itself and give the directory with in
 build
 to checkout folder  and run command : mvn scm:checkout
 
  In my project I am using maven to checkout dynamically
 different projects.So I am giving branch name in command line.
 
 In your case may berepositories or pluginRepositories tags are
 missing.You have to give the proper values to variables in the command i.e
 .
 username ,password and branch name.
 
 
 
 
 
 
 
 
 
 On Fri, Mar 28, 2008 at 2:15 AM, [EMAIL PROTECTED] 
 [EMAIL PROTECTED] wrote:
 

 Hi Sowmya.R

 Thanks so much for your reply.  I have tried what the code that you sent
 me
 but I get an error.  Below is my pom.xml...

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
   modelVersion4.0.0/modelVersion
  groupIdwosi/groupId
  artifactIdwosi/artifactId
  packagingpom/packaging
  version1.0/version
  namewosi/name
  urlhttp://maven.apache.org/url

  scm

 connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/connection

 developerConnection
 scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/developerConnection

 urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/url
  scm

  build

plugins
   plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
reportSets
  reportSet
reports
  reportdependencies/report
  reportindex/report
  reportproject-team/report
  reportdependency-convergence/report
  !-- reportmailing-list/report --
  !-- reportcim/report --
  !-- reportissue-tracking/report --
  reportlicense/report
  reportsummary/report
  reportscm/report
/reports
  /reportSet
  /reportSets
  /plugin

 /plugins

  /build

  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  modules
modulewosi-domain/module
modulewosi-integration/module
modulewosi-services/module
modulewosi-utils/module
modulewosi-web/module
  /modules
 /project

 ..and I am using the command specified in your email but I am getting
 the following error

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'scm'.
 [INFO]
 --
 [INFO] Building Maven Default Project
 [INFO]task-segment: [scm:checkout] (aggregator-style)
 [INFO]
 --
 [INFO] [scm:checkout]
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Cannot run checkout command :

 Embedded error: Can't load the scm provider.
 You need to define a connectionUrl parameter
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 4 seconds
 [INFO] Finished at: Thu Mar 27 20:41:41 GMT 2008
 [INFO] Final Memory: 5M/10M
 [INFO]
 


 .I would be very grateful if you could give me some pointers here...

 Thanks in advance!.


 Sowmya.R wrote:
 
  Hi,
  To checkout the project you have to include scm tag
 
   scm
  connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/connection
  developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/developerConnection
  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/url
/scm
 
  give the respective folder information ti checkout.
 
  plugin

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-28 Thread Sowmya . R
Welcome :)
I am also don't know which build is correct. I am using build 2.0.7 to build
jar and war. I don't have idea about web service.


On Fri, Mar 28, 2008 at 12:46 PM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


 Thank you so much for your help.  I was working until very late last night
 and I was executing the command that you sent me at the wrong directory
 level! - so, now I have got the maven build checking the project out.

 I do have a question now, whats the correct maven model to build and ear
 that has a war and jar and a web service? - I'd be very grateful if I
 could
 get some pointers here!.


 Sowmya.R wrote:
 
  Hi,  I am also new user of this maven.
 
  I will tell you one simple step to do this.
 
  checkout the project from cvs using eclipse.With in the project your
 going
  to get pom.xml.
  using that pom.xml just replace the values in SCM your having in
 username
  and password (what I have sent earlier) .
   You can use that pom.xml itself and give the directory with in
  build
  to checkout folder  and run command : mvn scm:checkout
 
   In my project I am using maven to checkout dynamically
  different projects.So I am giving branch name in command line.
 
  In your case may berepositories or pluginRepositories tags are
  missing.You have to give the proper values to variables in the command
 i.e
  .
  username ,password and branch name.
 
 
 
 
 
 
 
 
 
  On Fri, Mar 28, 2008 at 2:15 AM, [EMAIL PROTECTED] 
  [EMAIL PROTECTED] wrote:
 
 
  Hi Sowmya.R
 
  Thanks so much for your reply.  I have tried what the code that you
 sent
  me
  but I get an error.  Below is my pom.xml...
 
  ?xml version=1.0 encoding=UTF-8?
  project xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
   groupIdwosi/groupId
   artifactIdwosi/artifactId
   packagingpom/packaging
   version1.0/version
   namewosi/name
   urlhttp://maven.apache.org/url
 
   scm
 
  connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  :/data/cvsroot/aspen-crm/${mybranch}/connection
 
  developerConnection
  scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  :/data/cvsroot/aspen-crm/${mybranch}/developerConnection
 
  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  :/data/cvsroot/aspen-crm/${mybranch}/url
   scm
 
   build
 
 plugins
plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-project-info-reports-plugin/artifactId
 reportSets
   reportSet
 reports
   reportdependencies/report
   reportindex/report
   reportproject-team/report
   reportdependency-convergence/report
   !-- reportmailing-list/report --
   !-- reportcim/report --
   !-- reportissue-tracking/report --
   reportlicense/report
   reportsummary/report
   reportscm/report
 /reports
   /reportSet
   /reportSets
   /plugin
 
  /plugins
 
   /build
 
   dependencies
 dependency
   groupIdjunit/groupId
   artifactIdjunit/artifactId
   version3.8.1/version
   scopetest/scope
 /dependency
   /dependencies
   modules
 modulewosi-domain/module
 modulewosi-integration/module
 modulewosi-services/module
 modulewosi-utils/module
 modulewosi-web/module
   /modules
  /project
 
  ..and I am using the command specified in your email but I am
 getting
  the following error
 
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'scm'.
  [INFO]
 
 --
  [INFO] Building Maven Default Project
  [INFO]task-segment: [scm:checkout] (aggregator-style)
  [INFO]
 
 --
  [INFO] [scm:checkout]
  [INFO]
 
 
  [ERROR] BUILD ERROR
  [INFO]
 
 
  [INFO] Cannot run checkout command :
 
  Embedded error: Can't load the scm provider.
  You need to define a connectionUrl parameter
  [INFO]
 
 
  [INFO] For more information, run Maven with the -e switch
  [INFO]
 
 
  [INFO] Total time: 4 seconds
  [INFO] Finished at: Thu Mar 27 20:41:41 GMT 2008
  [INFO] Final Memory: 5M/10M
  [INFO]
 
 
 
 
  .I would be very grateful if you could give me some pointers
 here...
 
  Thanks in advance!.
 
 
  Sowmya.R wrote:
  
   Hi,
   To checkout the project you have to include scm tag
  
scm

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-27 Thread [EMAIL PROTECTED]

Hello There

I am trying to use maven to check out my project from cvs but I haven't been
able to get the correct syntax in the pom.xml file in order to do this. 
Could anyone point me to the right direction!.  Thanks for your help.

Sowmya.R wrote:
 
 Hi Wayne ,
 I got where is that problem .
 When I am doing the direct checkout from the cvs it is creating
 Entries,Root,Repository and Tag documents within CVS folder and that
 particular tag is downloading.
 But when i am doing with maven it is only creating
 the Entries,Root,Repository in CVS folder and by default it is downloading
 the HEAD tag project.It is not creating that Tag document in CVS Folder.
 example I am having Branch and in that i want checkout september_release.
 
 I gave the as follows:
 
 scm
connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
 tagseptember_release/tag
  urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
  /scm
 
 And I tried for the different combinations. still it is not working.
 Please help me out of this issue...  :(
 
 
 Thanks,
 Sowmya.R
 
 
 On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R [EMAIL PROTECTED]
 wrote:
 
 Hi Wayne Fay,  How to checkout the project through tags name. I am giving
 the folder modules to checkout ,but i want to checkout the
 particular tag .example I am having tags like branch ,Version .In version
 I want to checkout the Regular tag.

 I am using
 scm
connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
  /scm

 Now I am giving like this -

  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:EAI/XT/${mybranch}/url

 But if i give the foldername it is working fine , but if i give
 the particular tag example : xtlients/xttest/Version/PROD_1.1 It is
 giving
 the error
 cvs checkout: cannot find module

 Please let me know what will be the solution for this issue.

 On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  You could use:
  mvn -Dmyname=abc -Dmypass=xyz
 
  And then in the pom:
  ...:pserver:${myname}:[EMAIL PROTECTED]
 
  But really, this is not how most people use Maven. Instead you should
  look at storing these values in settings.xml.
 
  Wayne
 
  On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
   Hi Wayne,
  
   I am trying to do for CVS not with the remote repository.
   I am using
scm
  connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
  developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
  urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
/scm
  
   To connect to cvs.But i want to pass username and password to connect
   cvs in command line .Please provide me the information .
  
   Thanks,
   Sowmya.R
  
   On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
Take a look at the SCM plugin:
   
 
 http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
   
 Wayne
   
   
 On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi,
 
  I am working on the maven tool for my project ,where I have
  to
  checkout from CVS and I want to ask for CVS user id and password
  from
  the user while checkingout the project.This process I want to do
  dynamically to checkout multiple projects.
 
  I am new  user of maven ,Pleases help me out to resove this
  issue.
 
 
 
  --
  Regads,
 
  Sowmya.R
 
   

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
   
   -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Regads,
  
   Sowmya.R
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Regads,

 Sowmya.R
 
 
 
 
 -- 
 Regads,
 
 Sowmya.R
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-checkout-the-Project-from-cvs-in-Maven2.0.7-without-using-eclipse.-tp16136871s177p16324815.html
Sent from the Maven - Users mailing list archive at Nabble.com

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-27 Thread Sowmya . R
Hi,
To checkout the project you have to include scm tag

 scm
connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
://folder/${mybranch}/connection
developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
://folder/${mybranch}/developerConnection
urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
://folder/${mybranch}/url
  /scm

give the respective folder information ti checkout.

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
reportSets
  reportSet
reports
  reportdependencies/report
  reportindex/report
  reportproject-team/report
  reportdependency-convergence/report
  !-- reportmailing-list/report --
  !-- reportcim/report --
  !-- reportissue-tracking/report --
  reportlicense/report
  reportsummary/report
  reportscm/report
/reports
  /reportSet
  /reportSets
  /plugin
include this plugin

run the maven using following command.

mvn -Dmyname=sss  -Dmypass=tt -Dmybranch=abcd/xyz  -Dmydir=test
scm:checkout



On Thu, Mar 27, 2008 at 6:11 PM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


 Hello There

 I am trying to use maven to check out my project from cvs but I haven't
 been
 able to get the correct syntax in the pom.xml file in order to do this.
 Could anyone point me to the right direction!.  Thanks for your help.

 Sowmya.R wrote:
 
  Hi Wayne ,
  I got where is that problem .
  When I am doing the direct checkout from the cvs it is creating
  Entries,Root,Repository and Tag documents within CVS folder and that
  particular tag is downloading.
  But when i am doing with maven it is only creating
  the Entries,Root,Repository in CVS folder and by default it is
 downloading
  the HEAD tag project.It is not creating that Tag document in CVS Folder.
  example I am having Branch and in that i want checkout
 september_release.
 
  I gave the as follows:
 
  scm
 connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
 developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
  tagseptember_release/tag
   urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
   /scm
 
  And I tried for the different combinations. still it is not working.
  Please help me out of this issue...  :(
 
 
  Thanks,
  Sowmya.R
 
 
  On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R [EMAIL PROTECTED]
  wrote:
 
  Hi Wayne Fay,  How to checkout the project through tags name. I am
 giving
  the folder modules to checkout ,but i want to checkout the
  particular tag .example I am having tags like branch ,Version .In
 version
  I want to checkout the Regular tag.
 
  I am using
  scm
 connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
 developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
   /scm
 
  Now I am giving like this -
 
   urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:EAI/XT/${mybranch}/url
 
  But if i give the foldername it is working fine , but if i give
  the particular tag example : xtlients/xttest/Version/PROD_1.1 It is
  giving
  the error
  cvs checkout: cannot find module
 
  Please let me know what will be the solution for this issue.
 
  On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:
 
   You could use:
   mvn -Dmyname=abc -Dmypass=xyz
  
   And then in the pom:
   ...:pserver:${myname}:[EMAIL PROTECTED]
  
   But really, this is not how most people use Maven. Instead you should
   look at storing these values in settings.xml.
  
   Wayne
  
   On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
Hi Wayne,
   
I am trying to do for CVS not with the remote repository.
I am using
 scm
   connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/connection
   developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
   urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/url
 /scm
   
To connect to cvs.But i want to pass username and password to
 connect
cvs in command line .Please provide me the information .
   
Thanks,
Sowmya.R
   
On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
 Take a look at the SCM plugin:

  
 
 http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html

  Wayne


  On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
   Hi,
  
   I am working on the maven tool for my project ,where I
 have
   to
   checkout from CVS and I want to ask for CVS user

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-27 Thread [EMAIL PROTECTED]

Hi Sowmya.R

Thanks so much for your reply.  I have tried what the code that you sent me
but I get an error.  Below is my pom.xml...

?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdwosi/groupId
  artifactIdwosi/artifactId
  packagingpom/packaging
  version1.0/version
  namewosi/name
  urlhttp://maven.apache.org/url 
  
  scm
   
connectionscm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}/connection
   
developerConnectionscm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}/developerConnection
   
urlscm:cvs:pserver:${myname}:[EMAIL 
PROTECTED]:/data/cvsroot/aspen-crm/${mybranch}/url
  scm
  
  build

plugins
  plugin 
groupIdorg.apache.maven.plugins/groupId 
artifactIdmaven-project-info-reports-plugin/artifactId 
reportSets 
  reportSet 
reports 
  reportdependencies/report 
  reportindex/report 
  reportproject-team/report 
  reportdependency-convergence/report 
  !-- reportmailing-list/report -- 
  !-- reportcim/report -- 
  !-- reportissue-tracking/report -- 
  reportlicense/report 
  reportsummary/report 
  reportscm/report 
/reports 
  /reportSet 
  /reportSets 
  /plugin 
  
/plugins

  /build

  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  modules
modulewosi-domain/module
modulewosi-integration/module
modulewosi-services/module
modulewosi-utils/module
modulewosi-web/module
  /modules  
/project

..and I am using the command specified in your email but I am getting
the following error

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'scm'.
[INFO]
--
[INFO] Building Maven Default Project
[INFO]task-segment: [scm:checkout] (aggregator-style)
[INFO]
--
[INFO] [scm:checkout]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot run checkout command :

Embedded error: Can't load the scm provider.
You need to define a connectionUrl parameter
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 4 seconds
[INFO] Finished at: Thu Mar 27 20:41:41 GMT 2008
[INFO] Final Memory: 5M/10M
[INFO]



.I would be very grateful if you could give me some pointers here...

Thanks in advance!.


Sowmya.R wrote:
 
 Hi,
 To checkout the project you have to include scm tag
 
  scm
 connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 ://folder/${mybranch}/connection
 developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 ://folder/${mybranch}/developerConnection
 urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 ://folder/${mybranch}/url
   /scm
 
 give the respective folder information ti checkout.
 
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-project-info-reports-plugin/artifactId
 reportSets
   reportSet
 reports
   reportdependencies/report
   reportindex/report
   reportproject-team/report
   reportdependency-convergence/report
   !-- reportmailing-list/report --
   !-- reportcim/report --
   !-- reportissue-tracking/report --
   reportlicense/report
   reportsummary/report
   reportscm/report
 /reports
   /reportSet
   /reportSets
   /plugin
 include this plugin
 
 run the maven using following command.
 
 mvn -Dmyname=sss  -Dmypass=tt -Dmybranch=abcd/xyz  -Dmydir=test
 scm:checkout
 
 
 
 On Thu, Mar 27, 2008 at 6:11 PM, [EMAIL PROTECTED] 
 [EMAIL PROTECTED] wrote:
 

 Hello There

 I am trying to use maven to check out my project from cvs but I haven't
 been
 able to get the correct syntax in the pom.xml file in order to do this.
 Could anyone point me to the right direction!.  Thanks for your help.

 Sowmya.R wrote:
 
  Hi Wayne ,
  I got where is that problem .
  When I am doing the direct checkout from the cvs it is creating
  Entries

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-27 Thread Sowmya . R
Hi,  I am also new user of this maven.

I will tell you one simple step to do this.

checkout the project from cvs using eclipse.With in the project your going
to get pom.xml.
using that pom.xml just replace the values in SCM your having in username
and password (what I have sent earlier) .
 You can use that pom.xml itself and give the directory with in build
to checkout folder  and run command : mvn scm:checkout

 In my project I am using maven to checkout dynamically
different projects.So I am giving branch name in command line.

In your case may berepositories or pluginRepositories tags are
missing.You have to give the proper values to variables in the command i.e .
username ,password and branch name.









On Fri, Mar 28, 2008 at 2:15 AM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


 Hi Sowmya.R

 Thanks so much for your reply.  I have tried what the code that you sent
 me
 but I get an error.  Below is my pom.xml...

 ?xml version=1.0 encoding=UTF-8?
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd;
   modelVersion4.0.0/modelVersion
  groupIdwosi/groupId
  artifactIdwosi/artifactId
  packagingpom/packaging
  version1.0/version
  namewosi/name
  urlhttp://maven.apache.org/url

  scm

 connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/connection

 developerConnection
 scm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/developerConnection

 urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/data/cvsroot/aspen-crm/${mybranch}/url
  scm

  build

plugins
   plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
reportSets
  reportSet
reports
  reportdependencies/report
  reportindex/report
  reportproject-team/report
  reportdependency-convergence/report
  !-- reportmailing-list/report --
  !-- reportcim/report --
  !-- reportissue-tracking/report --
  reportlicense/report
  reportsummary/report
  reportscm/report
/reports
  /reportSet
  /reportSets
  /plugin

 /plugins

  /build

  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
  modules
modulewosi-domain/module
modulewosi-integration/module
modulewosi-services/module
modulewosi-utils/module
modulewosi-web/module
  /modules
 /project

 ..and I am using the command specified in your email but I am getting
 the following error

 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'scm'.
 [INFO]
 --
 [INFO] Building Maven Default Project
 [INFO]task-segment: [scm:checkout] (aggregator-style)
 [INFO]
 --
 [INFO] [scm:checkout]
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Cannot run checkout command :

 Embedded error: Can't load the scm provider.
 You need to define a connectionUrl parameter
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 4 seconds
 [INFO] Finished at: Thu Mar 27 20:41:41 GMT 2008
 [INFO] Final Memory: 5M/10M
 [INFO]
 


 .I would be very grateful if you could give me some pointers here...

 Thanks in advance!.


 Sowmya.R wrote:
 
  Hi,
  To checkout the project you have to include scm tag
 
   scm
  connectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/connection
  developerConnectionscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/developerConnection
  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  ://folder/${mybranch}/url
/scm
 
  give the respective folder information ti checkout.
 
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-project-info-reports-plugin/artifactId
  reportSets
reportSet
  reports
reportdependencies/report
reportindex/report
reportproject-team/report
reportdependency-convergence/report
!-- reportmailing-list/report --
!-- reportcim/report

Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-24 Thread Sowmya . R
Hi Wayne Fay, How to checkout the project through tags name. I am giving the
folder modules to checkout ,but i want to checkout the
particular tag .example I am having tags like branch ,Version .In version I
want to checkout the Regular tag.

I am using
scm
   connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/connection
   developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
   urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/url
 /scm

Now I am giving like this -

 urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
:/istcvs/CVSHOME:EAI/XT/${mybranch}/url

But if i give the foldername it is working fine , but if i give
the particular tag example : xtlients/xttest/Version/PROD_1.1 It is giving
the error
cvs checkout: cannot find module

Please let me know what will be the solution for this issue.

On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 You could use:
 mvn -Dmyname=abc -Dmypass=xyz

 And then in the pom:
 ...:pserver:${myname}:[EMAIL PROTECTED]

 But really, this is not how most people use Maven. Instead you should
 look at storing these values in settings.xml.

 Wayne

 On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi Wayne,
 
  I am trying to do for CVS not with the remote repository.
  I am using
   scm
 connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
 developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
   /scm
 
  To connect to cvs.But i want to pass username and password to connect
  cvs in command line .Please provide me the information .
 
  Thanks,
  Sowmya.R
 
  On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
   Take a look at the SCM plugin:
  
 http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
  
Wayne
  
  
On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi,

 I am working on the maven tool for my project ,where I have to
 checkout from CVS and I want to ask for CVS user id and password
 from
 the user while checkingout the project.This process I want to do
 dynamically to checkout multiple projects.

 I am new  user of maven ,Pleases help me out to resove this issue.



 --
 Regads,

 Sowmya.R

  
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Regads,
 
  Sowmya.R
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Regads,

Sowmya.R


Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-24 Thread Sowmya . R
Hi Wayne ,
I got where is that problem .
When I am doing the direct checkout from the cvs it is creating
Entries,Root,Repository and Tag documents within CVS folder and that
particular tag is downloading.
But when i am doing with maven it is only creating
the Entries,Root,Repository in CVS folder and by default it is downloading
the HEAD tag project.It is not creating that Tag document in CVS Folder.
example I am having Branch and in that i want checkout september_release.

I gave the as follows:

scm
   connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/connection
   developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
tagseptember_release/tag
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/url
 /scm

And I tried for the different combinations. still it is not working.
Please help me out of this issue...  :(


Thanks,
Sowmya.R


On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R [EMAIL PROTECTED] wrote:

 Hi Wayne Fay,  How to checkout the project through tags name. I am giving
 the folder modules to checkout ,but i want to checkout the
 particular tag .example I am having tags like branch ,Version .In version
 I want to checkout the Regular tag.

 I am using
 scm
connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
  /scm

 Now I am giving like this -

  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:EAI/XT/${mybranch}/url

 But if i give the foldername it is working fine , but if i give
 the particular tag example : xtlients/xttest/Version/PROD_1.1 It is giving
 the error
 cvs checkout: cannot find module

 Please let me know what will be the solution for this issue.

 On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  You could use:
  mvn -Dmyname=abc -Dmypass=xyz
 
  And then in the pom:
  ...:pserver:${myname}:[EMAIL PROTECTED]
 
  But really, this is not how most people use Maven. Instead you should
  look at storing these values in settings.xml.
 
  Wayne
 
  On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
   Hi Wayne,
  
   I am trying to do for CVS not with the remote repository.
   I am using
scm
  connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
  developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
  urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
/scm
  
   To connect to cvs.But i want to pass username and password to connect
   cvs in command line .Please provide me the information .
  
   Thanks,
   Sowmya.R
  
   On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
Take a look at the SCM plugin:
   
  http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
   
 Wayne
   
   
 On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi,
 
  I am working on the maven tool for my project ,where I have
  to
  checkout from CVS and I want to ask for CVS user id and password
  from
  the user while checkingout the project.This process I want to do
  dynamically to checkout multiple projects.
 
  I am new  user of maven ,Pleases help me out to resove this
  issue.
 
 
 
  --
  Regads,
 
  Sowmya.R
 
   

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
   
   -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Regads,
  
   Sowmya.R
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Regads,

 Sowmya.R




-- 
Regads,

Sowmya.R


Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-24 Thread Wayne Fay
I am almost no help when it comes to CVS. We moved to Subversion years
ago and never looked back.

You may want to send a new email to this list with a new subject (SCM
checkout from CVS using tag or something) and see if someone has a
response. Or just search the list archives at Nabble and see if this
has already been answered by someone else in a previous thread.

Wayne

On 3/24/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi Wayne ,
 I got where is that problem .
 When I am doing the direct checkout from the cvs it is creating
 Entries,Root,Repository and Tag documents within CVS folder and that
 particular tag is downloading.
 But when i am doing with maven it is only creating
 the Entries,Root,Repository in CVS folder and by default it is downloading
 the HEAD tag project.It is not creating that Tag document in CVS Folder.
 example I am having Branch and in that i want checkout september_release.

 I gave the as follows:

 scm
 connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
 developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
 tagseptember_release/tag
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
 /scm

 And I tried for the different combinations. still it is not working.
 Please help me out of this issue... :(


 Thanks,
 Sowmya.R


 On Mon, Mar 24, 2008 at 12:07 PM, Sowmya. R [EMAIL PROTECTED] wrote:

  Hi Wayne Fay, How to checkout the project through tags name. I am giving
  the folder modules to checkout ,but i want to checkout the
  particular tag .example I am having tags like branch ,Version .In version
  I want to checkout the Regular tag.
 
  I am using
  scm
  connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
  developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
  urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
  /scm
 
  Now I am giving like this -
 
  urlscm:cvs:pserver:${myname}:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:EAI/XT/${mybranch}/url
 
  But if i give the foldername it is working fine , but if i give
  the particular tag example : xtlients/xttest/Version/PROD_1.1 It is giving
  the error
  cvs checkout: cannot find module
 
  Please let me know what will be the solution for this issue.
 
  On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:
 
   You could use:
   mvn -Dmyname=abc -Dmypass=xyz
  
   And then in the pom:
   ...:pserver:${myname}:[EMAIL PROTECTED]
  
   But really, this is not how most people use Maven. Instead you should
   look at storing these values in settings.xml.
  
   Wayne
  
   On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
Hi Wayne,
   
I am trying to do for CVS not with the remote repository.
I am using
scm
connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
   :/istcvs/CVSHOME:xtclients/xtTest/url
/scm
   
To connect to cvs.But i want to pass username and password to connect
cvs in command line .Please provide me the information .
   
Thanks,
Sowmya.R
   
On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
 Take a look at the SCM plugin:

   http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html

 Wayne


 On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi,
 
  I am working on the maven tool for my project ,where I have
   to
  checkout from CVS and I want to ask for CVS user id and password
   from
  the user while checkingout the project.This process I want to do
  dynamically to checkout multiple projects.
 
  I am new user of maven ,Pleases help me out to resove this
   issue.
 
 
 
  --
  Regads,
 
  Sowmya.R
 

 
   -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


   -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


   
   
--
Regads,
   
Sowmya.R
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Regads,
 
  Sowmya.R




 --
 Regads,

 Sowmya.R

SCM checkout from CVS using tag......

2008-03-24 Thread Sowmya . R
Hi,

When I am doing the direct checkout from the cvs it is creating
Entries,Root,Repository and Tag documents within CVS folder and that
particular tag is downloading.
But when i am doing with maven it is only creating
the Entries,Root,Repository in CVS folder and by default it is downloading
the HEAD tag project.It is not creating that Tag document in CVS Folder.
example I am having Branch and in that i want checkout september_release.

I gave the as follows:

scm
   connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/connection
   developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
tagseptember_release/tag
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/url
 /scm

And I tried for the different combinations. still it is not working.
Please help me out of this issue...  :(


Thanks,
Sowmya.R


How to checkout the particular tag from CVS using scm tags in maven 2.0.7

2008-03-24 Thread Sowmya . R
Hi,

When I am doing the direct checkout from the cvs it is creating
Entries,Root,Repository and Tag documents within CVS folder and that
particular tag is downloading.
But when i am doing with maven it is only creating
the Entries,Root,Repository in CVS folder and by default it is downloading
the HEAD tag project.It is not creating that Tag document in CVS Folder.
example I am having Branch and in that i want checkout september_release.

I gave the as follows:

scm
   connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/connection
   developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
tagseptember_release/tag
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
:/istcvs/CVSHOME:xtclients/xtTest/url
 /scm

And I tried for the different combinations. still it is not working.
Please help me out of this issue...


-- 
Regads,

Sowmya.R


Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-20 Thread Sowmya . R
Hi Wayne,

  Thanks for code you have given ,it is working fine .Can you let me
know how to use settings.xml for this.
Where can i get the DTD or XSD for pom.xml and settings.xml

Thanks,
Sowmya. :)

On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 You could use:
 mvn -Dmyname=abc -Dmypass=xyz

 And then in the pom:
 ...:pserver:${myname}:[EMAIL PROTECTED]

 But really, this is not how most people use Maven. Instead you should
 look at storing these values in settings.xml.

 Wayne

 On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi Wayne,
 
  I am trying to do for CVS not with the remote repository.
  I am using
   scm
 connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/connection
 developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
 urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
 :/istcvs/CVSHOME:xtclients/xtTest/url
   /scm
 
  To connect to cvs.But i want to pass username and password to connect
  cvs in command line .Please provide me the information .
 
  Thanks,
  Sowmya.R
 
  On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
   Take a look at the SCM plugin:
  
 http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
  
Wayne
  
  
On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi,

 I am working on the maven tool for my project ,where I have to
 checkout from CVS and I want to ask for CVS user id and password
 from
 the user while checkingout the project.This process I want to do
 dynamically to checkout multiple projects.

 I am new  user of maven ,Pleases help me out to resove this issue.



 --
 Regads,

 Sowmya.R

  
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


  
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Regads,
 
  Sowmya.R
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Regads,

Sowmya.R


Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-20 Thread Wayne Fay
This page has general details on Maven settings:
http://maven.apache.org/settings.html

This page has details for settings.xml including a link to the XSD:
http://maven.apache.org/ref/2.0.8/maven-settings/settings.html

The XSD for pom.xml is here:
http://maven.apache.org/maven-v4_0_0.xsd

Wayne

On 3/20/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi Wayne,

  Thanks for code you have given ,it is working fine .Can you let me
 know how to use settings.xml for this.
 Where can i get the DTD or XSD for pom.xml and settings.xml

 Thanks,
 Sowmya. :)

 On Wed, Mar 19, 2008 at 8:49 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  You could use:
  mvn -Dmyname=abc -Dmypass=xyz
 
  And then in the pom:
  ...:pserver:${myname}:[EMAIL PROTECTED]
 
  But really, this is not how most people use Maven. Instead you should
  look at storing these values in settings.xml.
 
  Wayne
 
  On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
   Hi Wayne,
  
   I am trying to do for CVS not with the remote repository.
   I am using
scm
  connectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/connection
  developerConnectionscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/developerConnection
  urlscm:cvs:pserver:xxx:[EMAIL PROTECTED]
  :/istcvs/CVSHOME:xtclients/xtTest/url
/scm
  
   To connect to cvs.But i want to pass username and password to connect
   cvs in command line .Please provide me the information .
  
   Thanks,
   Sowmya.R
  
   On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
Take a look at the SCM plugin:
   
  http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
   
 Wayne
   
   
 On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
  Hi,
 
  I am working on the maven tool for my project ,where I have to
  checkout from CVS and I want to ask for CVS user id and password
  from
  the user while checkingout the project.This process I want to do
  dynamically to checkout multiple projects.
 
  I am new  user of maven ,Pleases help me out to resove this issue.
 
 
 
  --
  Regads,
 
  Sowmya.R
 
   

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
   --
   Regads,
  
   Sowmya.R
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Regads,

 Sowmya.R


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-19 Thread Sowmya . R
Hi Wayne,

I am trying to do for CVS not with the remote repository.
I am using
 scm
connectionscm:cvs:pserver:xxx:[EMAIL 
PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL 
PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
urlscm:cvs:pserver:xxx:[EMAIL 
PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/url
  /scm

To connect to cvs.But i want to pass username and password to connect
cvs in command line .Please provide me the information .

Thanks,
Sowmya.R

On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
 Take a look at the SCM plugin:
  http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html

  Wayne


  On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
   Hi,
  
   I am working on the maven tool for my project ,where I have to
   checkout from CVS and I want to ask for CVS user id and password from
   the user while checkingout the project.This process I want to do
   dynamically to checkout multiple projects.
  
   I am new  user of maven ,Pleases help me out to resove this issue.
  
  
  
   --
   Regads,
  
   Sowmya.R
  

  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  

  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Regads,

Sowmya.R

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-19 Thread Wayne Fay
You could use:
mvn -Dmyname=abc -Dmypass=xyz

And then in the pom:
...:pserver:${myname}:[EMAIL PROTECTED]

But really, this is not how most people use Maven. Instead you should
look at storing these values in settings.xml.

Wayne

On 3/19/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi Wayne,

 I am trying to do for CVS not with the remote repository.
 I am using
  scm
connectionscm:cvs:pserver:xxx:[EMAIL 
 PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/connection
developerConnectionscm:cvs:pserver:xxx:[EMAIL 
 PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/developerConnection
urlscm:cvs:pserver:xxx:[EMAIL 
 PROTECTED]:/istcvs/CVSHOME:xtclients/xtTest/url
  /scm

 To connect to cvs.But i want to pass username and password to connect
 cvs in command line .Please provide me the information .

 Thanks,
 Sowmya.R

 On 3/19/08, Wayne Fay [EMAIL PROTECTED] wrote:
  Take a look at the SCM plugin:
   http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html
 
   Wayne
 
 
   On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
Hi,
   
I am working on the maven tool for my project ,where I have to
checkout from CVS and I want to ask for CVS user id and password from
the user while checkingout the project.This process I want to do
dynamically to checkout multiple projects.
   
I am new  user of maven ,Pleases help me out to resove this issue.
   
   
   
--
Regads,
   
Sowmya.R
   
 
   -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
 
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Regads,

 Sowmya.R

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to checkout the Project from cvs using Maven2.0.7

2008-03-18 Thread Sowmya . R
Hi,

I am using maven to checkout the project from cvs.I want to
checkout from CVS, for that i want  it should ask for CVS user id and
password from the user in command line to connect to cvs for checkout.
And I also want to do the checkout for the different projects module
that are present in cvs just by giving the name of the module. Provide
me the commands to do these tasks.

Please solve these issues and provide me the details for how to do this.

Thanks in advance :)


Regards,
sowmya

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-18 Thread Sowmya . R
Hi,

 I am working on the maven tool for my project ,where I have to
checkout from CVS and I want to ask for CVS user id and password from
the user while checkingout the project.This process I want to do
dynamically to checkout multiple projects.

I am new  user of maven ,Pleases help me out to resove this issue.



-- 
Regads,

Sowmya.R

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to checkout the Project from cvs in Maven2.0.7 without using eclipse.

2008-03-18 Thread Wayne Fay
Take a look at the SCM plugin:
http://maven.apache.org/scm/plugins/examples/bootstrapping-with-pom.html

Wayne

On 3/18/08, Sowmya. R [EMAIL PROTECTED] wrote:
 Hi,

 I am working on the maven tool for my project ,where I have to
 checkout from CVS and I want to ask for CVS user id and password from
 the user while checkingout the project.This process I want to do
 dynamically to checkout multiple projects.

 I am new  user of maven ,Pleases help me out to resove this issue.



 --
 Regads,

 Sowmya.R

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CVS and Branches

2008-01-14 Thread Guillaume Lederrey
I'm still trying to debug my connection problem. Maybe it doesnt have
anything to do with the CVS branch ...

I tried to use the SCM plugin directly to see if a more direct path to
the error could give me an idea. I get the following :

** scm:validate

[INFO] [scm:validate]
[INFO] connectionUrl scm connection string is valid.
[INFO] project.scm.connection scm connection string is valid.
[INFO] project.scm.developerConnection scm connection string is valid.

** scm:diff

[INFO] Cannot run diff command :
Embedded error: Can't load the scm provider.
The scm url is invalid.

Is there a way to have a more descriptive message ? I tried mvn -e
but it doesnt tell me much.

Is there a place where I could find some more documentation ?

Thanks for your help !

On 10/01/2008, Guillaume Lederrey [EMAIL PROTECTED] wrote:
 Hello !

 I have a really dumb question, but i cant seem to find the answer. I'm
 more used to SVN and I am a bit lost with branches in CVS ...

 How do you configure scm in a pom so that it points to a CVS branch
 ? I thought I should use tag, but it doesnt seem to work :

 connection
   scm:cvs:pserver:@server:/path/to/repo:Module
 /connection
 tagBRANCH_NAME/tag

 But when trying a release:prepare, I get

 [INFO] Cannot add release POM to SCM: Exception while executing SCM command.
 password is required. You must run a 'cvs -d
 :pserver:@server:2401/path/to/repo login' first or provide it in the
 connection url.

 Of course, I tried running that command, but no success. Passing
 -Dusername=... and -Dpassword=... doesnt help either.

 mvn -e release:prepare doesnt give more information. I have another
 project with almost the same kind of SCM config, but no branch. That
 project works fine.

 If I use mvn scm:validate, it tells me that my config is correct.

 Am I missing anything else ? Is there a way to get more logging infos
 (except -e) ?

   Thanks for your help !

 --
 Jabber : [EMAIL PROTECTED]
 Skype : Guillaume.Lederrey
 Projects :
 * http://rwanda.wordpress.com/
 * http://rwandatech.wordpress.com/



-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CVS and Branches

2008-01-14 Thread Guillaume Lederrey
I'm finally finding some things ...

I updated the maven-scm-plugin to version 1.0 (from version
1.0-beta-3) and added :
-Dmaven.scm.provider.cvs.implementation=cvs_native

I now run into the next problem, which will be in another thread ...

On 14/01/2008, Guillaume Lederrey [EMAIL PROTECTED] wrote:
 I'm still trying to debug my connection problem. Maybe it doesnt have
 anything to do with the CVS branch ...

 I tried to use the SCM plugin directly to see if a more direct path to
 the error could give me an idea. I get the following :

 ** scm:validate

 [INFO] [scm:validate]
 [INFO] connectionUrl scm connection string is valid.
 [INFO] project.scm.connection scm connection string is valid.
 [INFO] project.scm.developerConnection scm connection string is valid.

 ** scm:diff

 [INFO] Cannot run diff command :
 Embedded error: Can't load the scm provider.
 The scm url is invalid.

 Is there a way to have a more descriptive message ? I tried mvn -e
 but it doesnt tell me much.

 Is there a place where I could find some more documentation ?

 Thanks for your help !

 On 10/01/2008, Guillaume Lederrey [EMAIL PROTECTED] wrote:
  Hello !
 
  I have a really dumb question, but i cant seem to find the answer. I'm
  more used to SVN and I am a bit lost with branches in CVS ...
 
  How do you configure scm in a pom so that it points to a CVS branch
  ? I thought I should use tag, but it doesnt seem to work :
 
  connection
scm:cvs:pserver:@server:/path/to/repo:Module
  /connection
  tagBRANCH_NAME/tag
 
  But when trying a release:prepare, I get
 
  [INFO] Cannot add release POM to SCM: Exception while executing SCM command.
  password is required. You must run a 'cvs -d
  :pserver:@server:2401/path/to/repo login' first or provide it in the
  connection url.
 
  Of course, I tried running that command, but no success. Passing
  -Dusername=... and -Dpassword=... doesnt help either.
 
  mvn -e release:prepare doesnt give more information. I have another
  project with almost the same kind of SCM config, but no branch. That
  project works fine.
 
  If I use mvn scm:validate, it tells me that my config is correct.
 
  Am I missing anything else ? Is there a way to get more logging infos
  (except -e) ?
 
Thanks for your help !
 
  --
  Jabber : [EMAIL PROTECTED]
  Skype : Guillaume.Lederrey
  Projects :
  * http://rwanda.wordpress.com/
  * http://rwandatech.wordpress.com/
 


 --
 Jabber : [EMAIL PROTECTED]
 Skype : Guillaume.Lederrey
 Projects :
 * http://rwanda.wordpress.com/
 * http://rwandatech.wordpress.com/



-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



SCM not adding file to CVS before commit when doing a release

2008-01-14 Thread Guillaume Lederrey
I'm having problem with the maven-release-plugin. I'm trying to do a
release with mvn -e
-Dmaven.scm.provider.cvs.implementation=cvs_native release:prepare. I
have the following configuration for the release plugin :

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-release-plugin/artifactId
  version2.0-beta-7/version
  configuration
autoVersionSubmodulestrue/autoVersionSubmodules
generateReleasePomstrue/generateReleasePoms
/configuration
/plugin

When running, I get the following error. It seems to me that the
release plugin (or the SCM plugin) forgot to run a cvs add. How
can I tell them to do the add before the commit ? Or didnt I
understand the problem right ?

Caused by: org.apache.maven.plugin.MojoFailureException: Unable to commit files
Provider message:
The cvs command failed.
Command output:
cvs commit: use `cvs add' to create an entry for release-pom.xml
cvs [commit aborted]: correct above errors first!

-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: SCM not adding file to CVS before commit when doing a release

2008-01-14 Thread PARINI, MARY KAY [AG/1000]
I ran into this same problem (see my posting on 1/9/08).  It only occurs
when generateReleasePoms is true.  If you look at the debug output, it
does attempt to do a cvs add on release-pom.xml...however for some
reason the add doesn't happen.  It works okay when generateReleasePoms
is false.  



-Original Message-
From: Guillaume Lederrey [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 5:18 AM
To: Maven Users List
Subject: SCM not adding file to CVS before commit when doing a release


I'm having problem with the maven-release-plugin. I'm trying to do a
release with mvn -e -Dmaven.scm.provider.cvs.implementation=cvs_native
release:prepare. I have the following configuration for the release
plugin :

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-release-plugin/artifactId
  version2.0-beta-7/version
  configuration
autoVersionSubmodulestrue/autoVersionSubmodules
generateReleasePomstrue/generateReleasePoms
/configuration
/plugin

When running, I get the following error. It seems to me that the release
plugin (or the SCM plugin) forgot to run a cvs add. How can I tell
them to do the add before the commit ? Or didnt I understand the problem
right ?

Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
commit files Provider message: The cvs command failed. Command output:
cvs commit: use `cvs add' to create an entry for release-pom.xml cvs
[commit aborted]: correct above errors first!

-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto, including its subsidiaries. The recipient of 
this e-mail is solely responsible for checking for the presence of Viruses or 
other Malware. Monsanto, along with its subsidiaries, accepts no liability 
for any damage caused by any such code transmitted by or accompanying this 
e-mail or any attachment.
-


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SCM not adding file to CVS before commit when doing a release

2008-01-14 Thread Guillaume Lederrey
Thank you for your help ... I didnt see your post earlier. (too much
traffic for me on this mailing-list).

Did you find a clean solution to the problem ? Looking at your mail
(http://www.nabble.com/Release-plug-in-fails-to-add-remove-release-pom.xml-in-CVS-to14721158s177.html)
it seems that the only option you found is to manually add the file. I
need a cleaner solution ...

Oh, and btw, yes, I need to generate release poms.

I'll let you know if I find the root cause of that problem ...

On 14/01/2008, PARINI, MARY KAY [AG/1000] [EMAIL PROTECTED] wrote:
 I ran into this same problem (see my posting on 1/9/08).  It only occurs
 when generateReleasePoms is true.  If you look at the debug output, it
 does attempt to do a cvs add on release-pom.xml...however for some
 reason the add doesn't happen.  It works okay when generateReleasePoms
 is false.



 -Original Message-
 From: Guillaume Lederrey [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 14, 2008 5:18 AM
 To: Maven Users List
 Subject: SCM not adding file to CVS before commit when doing a release


 I'm having problem with the maven-release-plugin. I'm trying to do a
 release with mvn -e -Dmaven.scm.provider.cvs.implementation=cvs_native
 release:prepare. I have the following configuration for the release
 plugin :

 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-release-plugin/artifactId
   version2.0-beta-7/version
   configuration
 autoVersionSubmodulestrue/autoVersionSubmodules
 generateReleasePomstrue/generateReleasePoms
 /configuration
 /plugin

 When running, I get the following error. It seems to me that the release
 plugin (or the SCM plugin) forgot to run a cvs add. How can I tell
 them to do the add before the commit ? Or didnt I understand the problem
 right ?

 Caused by: org.apache.maven.plugin.MojoFailureException: Unable to
 commit files Provider message: The cvs command failed. Command output:
 cvs commit: use `cvs add' to create an entry for release-pom.xml cvs
 [commit aborted]: correct above errors first!

 --
 Jabber : [EMAIL PROTECTED]
 Skype : Guillaume.Lederrey
 Projects :
 * http://rwanda.wordpress.com/
 * http://rwandatech.wordpress.com/

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 This e-mail message may contain privileged and/or confidential information, 
 and is intended to be received only by persons entitled to receive such 
 information. If you have received this e-mail in error, please notify the 
 sender immediately. Please delete it and all attachments from any servers, 
 hard drives or any other media. Other use of this e-mail by you is strictly 
 prohibited.


 All e-mails and attachments sent and received are subject to monitoring, 
 reading and archival by Monsanto, including its subsidiaries. The recipient 
 of this e-mail is solely responsible for checking for the presence of 
 Viruses or other Malware. Monsanto, along with its subsidiaries, accepts 
 no liability for any damage caused by any such code transmitted by or 
 accompanying this e-mail or any attachment.
 -


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CVS and Branches

2008-01-10 Thread Guillaume Lederrey
Hello !

I have a really dumb question, but i cant seem to find the answer. I'm
more used to SVN and I am a bit lost with branches in CVS ...

How do you configure scm in a pom so that it points to a CVS branch
? I thought I should use tag, but it doesnt seem to work :

connection
  scm:cvs:pserver:@server:/path/to/repo:Module
/connection
tagBRANCH_NAME/tag

But when trying a release:prepare, I get

[INFO] Cannot add release POM to SCM: Exception while executing SCM command.
password is required. You must run a 'cvs -d
:pserver:@server:2401/path/to/repo login' first or provide it in the
connection url.

Of course, I tried running that command, but no success. Passing
-Dusername=... and -Dpassword=... doesnt help either.

mvn -e release:prepare doesnt give more information. I have another
project with almost the same kind of SCM config, but no branch. That
project works fine.

If I use mvn scm:validate, it tells me that my config is correct.

Am I missing anything else ? Is there a way to get more logging infos
(except -e) ?

  Thanks for your help !

-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Release plug-in fails to add/remove release-pom.xml in CVS

2008-01-09 Thread PARINI, MARY KAY [AG/1000]
I'm trying to use the release plug-in on a very simple multi-module
project but the plug-in seems to be having problems adding/removing the
release-pom.xml file for parent to CVS.

My project structure looks like this (minus the source files)...

  sample/
  pom.xml
  sample-shared/
  pom.xml
  sample-web/
  pom.xml

The top-level pom.xml is a multi-module POM that builds both
sample-shared and sample-web.

When I run mvn release:prepare from the sample directory, the build
fails.  It says that it cannot commit the top-level release-pom.xml
because it hasn't been added to CVS.  According to the output it is
included in the add command and there was no error on the add
command...but it doesn't successfully get added to CVS.  What's strange
is that it correctly adds the sample-web/release-pom.xml and
sample-shared/release-pom.xml.  Here are the cvs commands as displayed
in the output

[INFO] Executing: cvs -z3 -f -d cvs-root-info -q add
release-pom.xml sample-shared/release-pom.xml sample-web/release-pom.xml
[INFO] Executing: cvs -z3 -f -q commit -R -F temp-file pom.xml
release-pom.xml sample-shared/pom.xml sample-shared/release-pom.xml
sample-web/pom.xml sample-web/release-pom.xml

I don't receive an error on the add, but I do receive the error when
it gets to the commit:
The cvs command failed.
Command output:
cvs commit: use `cvs add' to create an entry for release-pom.xml

The only work around I found was to do the following:
1. Run mvn release:prepare.  An error is received on the commit
because the file wasn't added.
2. Manually add release-pom.xml to CVS.
3. Run mvn release:prepare again to resume where it left off.  It
succeeds in preparing the release.  However, the release-pom.xml does
not get successfully removed in CVS.
4. Manually remove release-pom.xml in CVS.

I'm using maven 2.0.8 with maven-release-plugin 2.0-beta-7 and
maven-scm-plugin 1.0.

Has anyone else run into this behavior?


Mary Kay Parini
Monsanto Company - Commercial Technical Services



-
This e-mail message may contain privileged and/or confidential information, and 
is intended to be received only by persons entitled to receive such 
information. If you have received this e-mail in error, please notify the 
sender immediately. Please delete it and all attachments from any servers, hard 
drives or any other media. Other use of this e-mail by you is strictly 
prohibited.


All e-mails and attachments sent and received are subject to monitoring, 
reading and archival by Monsanto, including its subsidiaries. The recipient of 
this e-mail is solely responsible for checking for the presence of Viruses or 
other Malware. Monsanto, along with its subsidiaries, accepts no liability 
for any damage caused by any such code transmitted by or accompanying this 
e-mail or any attachment.
-



Re: CVS files being packaged in WAR

2008-01-03 Thread Stephane Nicoll
Upgrade to 2.0.2. This bug is fixed for over a year.

Stéphane

On Jan 1, 2008 1:59 PM, amit kumar [EMAIL PROTECTED] wrote:
 Hi,
 I am facing this problem of getting CVS files packaged in the WAR build from
 maven. I am overriding the maven's default directory layout. Below is the
 part of my pom.xml

  build
   finalNamePortal/finalName
 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-war-plugin/artifactId
 version2.0/version
 configuration
 webappDirectory
 ${basedir}/webRoot
 /webappDirectory
 excludes
  exclude**/CVS/exclude
   /excludes
 /configuration
 /plugin
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-compiler-plugin/artifactId
 configuration
 source1.5/source
 target1.5/target
 optimizetrue/optimize
 /configuration
 /plugin
 /plugins
 sourceDirectory${basedir}/src/sourceDirectory
 directoryC:\finalbuilds\readioneportal/directory
 resources
 resource
  directory${basedir}/resources/directory
 /resource
 /resources
 /build

 How shall I avoid this? Any help?

 Regards,
 Amit




-- 
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck -- S.Yegge

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CVS files being packaged in WAR

2008-01-02 Thread amit kumar
Can I exclude a directory as such?

On Jan 1, 2008 6:29 PM, amit kumar [EMAIL PROTECTED] wrote:

 Hi,
 I am facing this problem of getting CVS files packaged in the WAR build
 from maven. I am overriding the maven's default directory layout. Below is
 the part of my pom.xml

  build
   finalNamePortal/finalName
 plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-war-plugin/artifactId
 version2.0/version
 configuration
 webappDirectory
 ${basedir}/webRoot
 /webappDirectory
 excludes
  exclude**/CVS/exclude
   /excludes
 /configuration
 /plugin
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-compiler-plugin/artifactId
 configuration
 source1.5/source
 target1.5/target
 optimizetrue/optimize
 /configuration
 /plugin
 /plugins
 sourceDirectory${basedir}/src/sourceDirectory
 directoryC:\finalbuilds\readioneportal/directory
 resources
 resource
  directory${basedir}/resources/directory
 /resource
 /resources
 /build

 How shall I avoid this? Any help?

 Regards,
 Amit



Re: CVS files being packaged in WAR

2008-01-02 Thread amit kumar
I want to exclude this CVS Folder present in every folder inside
webappDirectory.

On Jan 2, 2008 2:44 PM, amit kumar [EMAIL PROTECTED] wrote:

 Can I exclude a directory as such?


 On Jan 1, 2008 6:29 PM, amit kumar [EMAIL PROTECTED] wrote:

  Hi,
  I am facing this problem of getting CVS files packaged in the WAR build
  from maven. I am overriding the maven's default directory layout. Below is
  the part of my pom.xml
 
   build
finalNamePortal/finalName
  plugins
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-war-plugin/artifactId
  version2.0/version
  configuration
  webappDirectory
  ${basedir}/webRoot
  /webappDirectory
  excludes
   exclude**/CVS/exclude
/excludes
  /configuration
  /plugin
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-compiler-plugin/artifactId
  configuration
  source1.5/source
  target1.5/target
  optimizetrue/optimize
  /configuration
  /plugin
  /plugins
  sourceDirectory${basedir}/src/sourceDirectory
  directoryC:\finalbuilds\readioneportal/directory
  resources
  resource
   directory${basedir}/resources/directory
  /resource
  /resources
  /build
 
  How shall I avoid this? Any help?
 
  Regards,
  Amit
 




Re: CVS files being packaged in WAR

2008-01-02 Thread Lee Meador
Try **/CVS/**/*.* or some similar set of stars.

-- Lee

On Jan 2, 2008 3:45 AM, amit kumar [EMAIL PROTECTED] wrote:

 I want to exclude this CVS Folder present in every folder inside
 webappDirectory.

 On Jan 2, 2008 2:44 PM, amit kumar [EMAIL PROTECTED] wrote:

  Can I exclude a directory as such?
 
 
  On Jan 1, 2008 6:29 PM, amit kumar [EMAIL PROTECTED] wrote:
 
   Hi,
   I am facing this problem of getting CVS files packaged in the WAR
 build
   from maven. I am overriding the maven's default directory layout.
 Below is
   the part of my pom.xml
  
build
 finalNamePortal/finalName
   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   version2.0/version
   configuration
   webappDirectory
   ${basedir}/webRoot
   /webappDirectory
   excludes
exclude**/CVS/exclude
 /excludes
   /configuration
   /plugin
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.5/source
   target1.5/target
   optimizetrue/optimize
   /configuration
   /plugin
   /plugins
   sourceDirectory${basedir}/src/sourceDirectory
   directoryC:\finalbuilds\readioneportal/directory
   resources
   resource
directory${basedir}/resources/directory
   /resource
   /resources
   /build
  
   How shall I avoid this? Any help?
  
   Regards,
   Amit
  
 
 




-- 
-- Lee Meador
Sent from gmail. My real email address is lee AT leemeador.com


  1   2   3   4   5   6   7   8   9   10   >