Re: password for CVS pserver ?

2003-11-02 Thread Carl
Eric Pugh wrote:

Okay,

I looked into the code again and rightnow, if you have .cvspass file then it
will log in using that.  However, what I am wondering is the order of
checks.  It seems to me that if you have a maven.changelog.password value
that you should use that.  Otherwise check for a .cvspass file and read it
in from there.
Now, I am wondering about the value.  My gut feeling is that if you are
using maven.changelog.password then you don't care that it is unencrypted.
And, apparently the .cvspass encryption is very weak, so security isn't
important.  So, if people want, I think I am going to tweak the plugin so
that if you have a maven.changelog.password it will use that.  Otherwise it
will check the .cvspass file.
That would be very nice and usefull. Thanks a lot to take time to do this.

Let us know,

Carl

Eric


-Original Message-
From: Eric Pugh [mailto:[EMAIL PROTECTED]
Sent: Friday, October 31, 2003 11:12 AM
To: 'Maven Users List'
Subject: RE: password for CVS pserver ?
Okay, I agree that maven.cvs.password is needlessly specific.
Since we
aren't trying to boil the waters with some sort of crazy sophisticated
scheme, but just get the login to work, then we'll go with
maven.changelog.password.
Your trick that you use, would you like to create the faq.fml
file in /xdocs
and submit it for changelog?  Neat idea...  Straightforward
concept once you
actually look at it!
Eric


-Original Message-
From: Jim Crossley [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 11:42 PM
To: Maven Users List
Subject: Re: password for CVS pserver ?
I'm not crazy about a CVS-specific property.  I may be in the
minority, but I've been using Maven a long time and never with CVS
(mostly Perforce and StarTeam).  Typically, I put the passwords in
~/build.properties, with owner-only rw privileges if I'm concerned.
My repository connection then looks like this:
 repository
   connection
scm:starteam:${starteam.username}:[EMAIL PROTECTED]

   /connection
 /repository
So I guess I prefer maven.changelog.password if you want a standard,
but you really don't need one.
Jim

Eric Pugh [EMAIL PROTECTED] writes:


What do you think of a maven.cvs.password or
maven.changlog.password

property?

Eric


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 10:06 PM
To: Maven Users List
Subject: RE: password for CVS pserver ?
Lets not allow passwords in project.xml.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc
Eric Pugh [EMAIL PROTECTED] wrote on 31/10/2003 06:00:24 AM:


Hi guys...

I (trying to get logins to work) added in the code to use
the cvslib
instead
of cvs command line.  However, the cvslib doesn't support
things like
extssh
or ext, so if it fails, then it tries via the command line
interface to

work.

Not sure about your stepping issue, I didn't have that
problem..  Make
sure
you have the latest and greatest..  also, look at the
command line

client in

the cvslib code, that is what i modeled CvsConnection on.
It does have
a
pserver login method.  What we could do is add that logic into
CvsConnection.
Maybe change the format

connectionscm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroo
t:javaproject
/connection to something like this:

connectionscm:cvs:pserver:carl:[EMAIL PROTECTED]:/us
r/local/cvsroo
t:javaproject/connection

so we could get the password?  Or look up the properties,
that might be

better so it sin't in plaintext everywhere...

Patches are welcome..

Eric


-Original Message-
From: Carl [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 7:54 PM
To: Maven Users List
Subject: Re: password for CVS pserver ?


Sri Sankaran wrote:


snip/

b) Users must *know* to run the 'cvs login' command
first.  I have

 tried to preGoal with a call to the ant:cvspass
task.  Even

 though this task executes correctly and a
.cvspass file is

 created, changelog merrily ignores it.
There is the problem. After a look in the soucre of chanlog
plugin, it

appears that it use org.netbeans.lib.cvsclient to manage
cvs connection.

All requiered methodes to log with a password seems
to be present,

however I don't see how to modify the maven plugin to take
a password

parameter.


For some reason, when you step through the execution in a
debugger, the AbstractChangeLogGenerator's getEntries()
method is getting invoked and not the overridden version in
CvsChangeLogGenerator.  Puzzling.  Anyway I haven't fussed
with it too much.
That's strange !


Do you know a way in java to access the
maven.cvs.password value

define in project.properties ?


Don't know.  What is it used for?  Can you not just set it
on the command line?

It seems that many maven plugins use the contents of
project.properties,
so my idea was to add a new variable in this file, and
modify the

changelog plugin to use it. But I don't know how to access
the variable.

Re: Latest CVS Hibernate Plugin (Nov 1) fails with NoClassDefFound net/sf/hibernate/UserType

2003-11-02 Thread Konstantin Priblouda

--- Chris Pettitt [EMAIL PROTECTED]
wrote:
 One thing I am still not clear on is why maven tries
 to download the 
 maven-hibernate-plugin-1.0-SNAPSHOT during each
 build when it is already 
 in the local repository (and it in fact uses it
 later during the same 
 build).


SNAPSHOT dependencies are always checked against
remote repositories - just in case somebody compiled
and installed fresh version...


regards,


=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

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



newbie question: trying to get mailing lists to work

2003-11-02 Thread Tim Mansfield
Does anyone have a suggestion as to how to troubleshoot the mailing list
generated by Maven?

A pair of subscribe / unsubscribe links appear in the proper place, but
sending a subscribe email fails; it just bounces back.

thanks--
--tim


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



MockStrutsTestCase/Maven

2003-11-02 Thread David Chelimsky
I'm trying to run a MockStrutsTestCase on the client side using Maven.
MockStrutsTestCase requires that the directory that contains WEB-INF be on
the classpath (per http://strutstestcase.sourceforge.net/). This is so it
can find your config files in WEB-INF. In my ant build.xml I was able to
accomplish this by setting up the classpath and including this directory as
a pathelement. How can I accomplish the equivalent using Maven?


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



RE: Taglibs project

2003-11-02 Thread Michal Maczka


 -Original Message-
 From: Janne Kario [mailto:[EMAIL PROTECTED]
 Sent: Saturday, November 01, 2003 2:15 PM
 To: [EMAIL PROTECTED]
 Subject: Taglibs project


 Hi,

 I'm about to start a taglib-project which produces 2 artifacts (jar +
 tld). The pure maven way would be to set up 2 subprojects - one for
 each artifact. However, it seems a bit overkill to have a separate
 subproject for a single file (tld).

Is there any way that this
 (producing and deploying multiple artifacts to repository) can be
 accomplished using only one project. Perhaps some project specific goal
 in maven.xml that uses the artifact plugin?


I find it quite normal that one project can emit two or more artifacts
(e.g tag lib jar, tld files, javadoc, pom )
Take a look at POM plugin as a reference how to use artifact plugin (you can
use this taglib in your maven.xml file)


Michal




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



Re: Extending A Project Variables

2003-11-02 Thread Konstantin Shaposhnikov
This technique works fine for my projects.

On 20:05 Sat 01 Nov , Alain Javier Guarnieri del Gesu wrote:
 Is it possible to define a property in an extended project using the
 same value in the master project?
 
 !-- In master. --
 project
   siteDirectory/www/ajgdg.com/codearea/siteDirectory
 /project 
 
 !-- In extension. --
 project
   extendsmaster.xml/extends
   siteDirectory${pom.siteDirectory}/project1/siteDirectory
 /project 
 
 It seems that my subproject values are all just a string prepended
 to a common prefix. How have other folks handled this?
 
 -- 
 Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED]
 
 -
 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: project.properties inheritance

2003-11-02 Thread Brett Porter
No, but its coming soon (hopefully before 1.0 final, but no promises :)

Cheers,
Brett

 -Original Message-
 From: Eric Berenguier [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 31 October 2003 9:44 PM
 To: Maven Users List
 Subject: project.properties inheritance
 
 
 Hello,
 
 Does current maven version supports project.properties 
 inheritance when 
 using extend tag ?
 
 
 Eric
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Extending A Project Variables

2003-11-02 Thread Alain Javier Guarnieri del Gesu
* Konstantin Shaposhnikov [EMAIL PROTECTED] [2003-11-02 17:33]:
 On 20:05 Sat 01 Nov , Alain Javier Guarnieri del Gesu wrote:
  Is it possible to define a property in an extended project using the
  same value in the master project?
  
  !-- In master. --
  project
siteDirectory/www/ajgdg.com/codearea/siteDirectory
  /project 
  
  !-- In extension. --
  project
extendsmaster.xml/extends
siteDirectory${pom.siteDirectory}/project1/siteDirectory
  /project 
  
  It seems that my subproject values are all just a string prepended
  to a common prefix. How have other folks handled this?

 This technique works fine for my projects.

I'm running out of memory when I do this. Is it possible to set
arbitrary variables in a pom? Could I have a pom.siteBaseDirectory
variable? (Runs off to check.) Nope.

-- 
Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED]

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