You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Porter <br...@gmail.com> on 2005/02/14 13:09:48 UTC

Re: jar:deploy via ftp

Hi Chris,

Sorry for the long delay.

Did you get this resolved? 

If not, I have recently updated to a new set of code. If you are able
to build the latest plugin from subversion, I'd appreciate you testing
to see if it is resolved.

If you need help doing that or want a pre-rolled version of the
plugin, please let us know.

Cheers,
Brett

On Tue, 11 Jan 2005 15:08:52 -0700, Chris Huisman <ch...@taylor.com> wrote:
> yes it does.
> 
> if i simply open up an ftp client and type in  the exact same thing
> artifact:deploy is doing (with the exception of chgrp b/c ftp doesn't
> seem to have this functionality) it works fine.
> 
> c.
> 
> Eric Lapierre wrote:
> 
> >Does the userid you use to ftp has the proper permission to create
> >file/directory in the deployDirectory?
> >
> >-----Original Message-----
> >From: Chris Huisman [mailto:chuisman@taylor.com ]
> >Sent: Tuesday, January 11, 2005 4:34 PM
> >To: Maven Users List
> >Subject: Re: jar:deploy via ftp
> >
> >
> >Line 76 of  maven-artifact-plugin-1.4.1/plugin.jelly is:
> >
> >siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp
> >${maven.remote.group} ${pomFilename}"
> >
> >I have maven.remote.group set, but whenever I run jar:deploy it says it
> >is "null".
> >
> >Can anybody tell me if ftp actually allows chgrp?  I don't think it does
> >at least not on fedora core vsftp.
> >
> >Does anyone have deploy working using ftp?
> >
> >c.
> >
> >Chris Huisman wrote:
> >
> >
> >
> >>No, setting the maven.repo.x.group does not work either.  I get the
> >>following when trying that:
> >>
> >>200 Switching to Binary mode.
> >>CWD repository
> >>250 Directory successfully changed.
> >>Deploying:
> >>D:\chuisman\dev\hotdog\project.xml-->hotdog/poms/qsCommons-0.01.pom
> >>CWD hotdog
> >>550 Failed to change directory.
> >>MKD hotdog
> >>550 Create directory operation failed.
> >>Failed to deploy to: R3 Reason: Error executing FTP command
> >>
> >>BUILD FAILED
> >>File...... C:\Documents and
> >>Settings\chuisman\.maven\cache\maven-artifact-plugin
> >>-1.4.1\plugin.jelly
> >>Element... artifact:artifact-deploy
> >>Line...... 94
> >>Column.... 13
> >>Unable to deploy to any repositories
> >>Total time: 4 seconds
> >>Finished at: Tue Jan 11 13:15:38 MST 2005
> >>
> >>Does ftp even allow a chgrp command?  I am using the artifact 1.4.1
> >>plugin.  is ther a more recent one?
> >>
> >>c.
> >>
> >>Brett Porter wrote:
> >>
> >>
> >>
> >>>While maven.remote.group should be picked up, that's a legacy
> >>>setting. Does it work if you use maven.repo.X.group=...?
> >>>
> >>>(where X matches the other settings for that repo)
> >>>
> >>>- Brett
> >>>
> >>>
> >>>On Tue, 11 Jan 2005 11:45:09 -0700, Chris Huisman
> >>><chuisman@taylor.com > wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>I am trying to get my artifacts deployed to a central repository
> >>>>using jar:deploy and ftp.  The problem I am encountering is that I
> >>>>get the
> >>>>following:
> >>>>
> >>>>257 "/home/devel/repository/hotdog" created
> >>>>SITE CHGRP null hotdog
> >>>>500 Unknown SITE command.
> >>>>SITE CHMOD g+w hotdog
> >>>>200 SITE CHMOD command ok.
> >>>>CWD hotdog
> >>>>550 Failed to change directory.
> >>>>Failed to deploy to: R3 Reason: Error executing FTP command
> >>>>
> >>>>I looked into the artifact plugin and it attempts to change the
> >>>>group and then change the group permissions to write but the command
> >>>>does not seem to work.  What am I doing wrong?  I have a
> >>>>maven.remote.group parameter set, but artifact doesn't seem to be
> >>>>able to see it.
> >>>>
> >>>>thanks,
> >>>>
> >>>>c.
> >>>>
> >>>>--------------------------------------------------------------------
> >>>>-
> >>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> >>>>For additional commands, e-mail: users-help@maven.apache.org 
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> >>>For additional commands, e-mail: users-help@maven.apache.org 
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> >>For additional commands, e-mail: users-help@maven.apache.org 
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> >For additional commands, e-mail: users-help@maven.apache.org 
> >
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org 
> For additional commands, e-mail: users-help@maven.apache.org 
> 
>

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


Re: Trying to build latest SCM plugin for trunk (was RE: jar:deploy via ftp)

Posted by Brett Porter <br...@gmail.com>.
I'm starting to get the feeling that when the repositories where
shuffled recently, some of the SNAPSHOT dependencies used for m2 got
replaced with older versions.

I've uploaded a new cvs provider also. Please try again - they are all
up to date now.

I'll do some more cleaning up of the repositories.

- Brett


On Mon, 14 Feb 2005 16:34:22 +0100, Vincent Massol <vm...@pivolis.com> wrote:
> Hi Brett,
> 
> Just tried it. I got the following exception (which I didn't get with the
> beta 3 version):

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


RE: Trying to build latest SCM plugin for trunk (was RE: jar:deploy via ftp)

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Brett,

Just tried it. I got the following exception (which I didn't get with the
beta 3 version):

C:\dev\maven\maven-1\plugins\clover>maven scm:prepare-release

[snip]

scm:find-connection:
    [echo] Using connection:
scm:svn:https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/clover/

scm:parse-connection:
    [echo] Using SCM method: svn
    [echo] Using SVN repository:
https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/clover/
    [echo] Using module:

scm:check-deprecated-cvs-vars:

scm:prepare-release:
    [echo] Verifying no modifications are present
-----------------------------------------------------
this realm = plexus.core
Number of imports: 0
-----------------------------------------------------
[ERROR] Cannot create component for
org.apache.maven.scm.provider.cvslib.command.CvsCommandchange-log.
org.codehaus.plexus.component.factory.ComponentInstantiationException: Could
not instanciate component: role: 'org.apache.maven.sc
m.provider.cvslib.command.CvsCommand', implementation:
'org.apache.maven.scm.provider.cvslib.command.changelog.CvsChangeLogCommand
', role hint: 'change-log'
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeExceptio
n(JavaComponentFactory.java:78)

[snip]

Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/scm/command/changelog/ChangeLogConsumer
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getConstructor0(Class.java:1930)
        at java.lang.Class.newInstance0(Class.java:278)
        at java.lang.Class.newInstance(Class.java:261)
        at
org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(
JavaComponentFactory.java:46)
        ... 52 more
[ERROR] Cannot create component for
org.apache.maven.scm.provider.ScmProvidercvs.
org.codehaus.plexus.component.composition.CompositionException: Composition
failed of field commands in object of type org.apache.
maven.scm.provider.cvslib.CvsScmProvider:Cannot create component for
org.apache.maven.scm.provider.cvslib.command.CvsCommandchange
-log.
        at
org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequi
rementToField(FieldComponentComposer.java:1
46)

[snip]

BUILD FAILED
File...... C:\Documents and Settings\Vincent
Massol\.maven\cache\maven-scm-plugin-1.5-beta-4-SNAPSHOT\plugin.jelly
Element... scm:status
Line...... 196
Column.... 92
Cannot create component for org.apache.maven.scm.manager.ScmManager.
Total time: 4 seconds
Finished at: Mon Feb 14 15:44:38 CET 2005

Thanks
-Vincent

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: lundi 14 février 2005 13:52
> To: Maven Users List
> Subject: Re: Trying to build latest SCM plugin for trunk (was RE:
> jar:deploy via ftp)
> 
> My mistake - missed a deployment. All should now be on
> cvs.apache.org/repository.
> 
> You can also build it from CVS, it is under the maven-scm module.
> 
> On Mon, 14 Feb 2005 13:37:42 +0100, Vincent Massol <vm...@pivolis.com>
> wrote:
> > Hi Brett,
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org




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


Re: Trying to build latest SCM plugin for trunk (was RE: jar:deploy via ftp)

Posted by Brett Porter <br...@gmail.com>.
My mistake - missed a deployment. All should now be on
cvs.apache.org/repository.

You can also build it from CVS, it is under the maven-scm module.

On Mon, 14 Feb 2005 13:37:42 +0100, Vincent Massol <vm...@pivolis.com> wrote:
> Hi Brett,
>

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


Re: jar:deploy via ftp

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Brett,

It's not resolved (for me at least) and I can't build the new artifact
plugin (because of missing dependencies).

Arnaud


On Mon, 14 Feb 2005 23:09:48 +1100, Brett Porter <br...@gmail.com> wrote:
> Hi Chris,
> 
> Sorry for the long delay.
> 
> Did you get this resolved?
> 
> If not, I have recently updated to a new set of code. If you are able
> to build the latest plugin from subversion, I'd appreciate you testing
> to see if it is resolved.
> 
> If you need help doing that or want a pre-rolled version of the
> plugin, please let us know.
> 
> Cheers,
> Brett
> 
> On Tue, 11 Jan 2005 15:08:52 -0700, Chris Huisman <ch...@taylor.com> wrote:
> > yes it does.
> >
> > if i simply open up an ftp client and type in  the exact same thing
> > artifact:deploy is doing (with the exception of chgrp b/c ftp doesn't
> > seem to have this functionality) it works fine.
> >
> > c.
> >
> > Eric Lapierre wrote:
> >
> > >Does the userid you use to ftp has the proper permission to create
> > >file/directory in the deployDirectory?
> > >
> > >-----Original Message-----
> > >From: Chris Huisman [mailto:chuisman@taylor.com ]
> > >Sent: Tuesday, January 11, 2005 4:34 PM
> > >To: Maven Users List
> > >Subject: Re: jar:deploy via ftp
> > >
> > >
> > >Line 76 of  maven-artifact-plugin-1.4.1/plugin.jelly is:
> > >
> > >siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp
> > >${maven.remote.group} ${pomFilename}"
> > >
> > >I have maven.remote.group set, but whenever I run jar:deploy it says it
> > >is "null".
> > >
> > >Can anybody tell me if ftp actually allows chgrp?  I don't think it does
> > >at least not on fedora core vsftp.
> > >
> > >Does anyone have deploy working using ftp?
> > >
> > >c.
> > >
> > >Chris Huisman wrote:
> > >
> > >
> > >
> > >>No, setting the maven.repo.x.group does not work either.  I get the
> > >>following when trying that:
> > >>
> > >>200 Switching to Binary mode.
> > >>CWD repository
> > >>250 Directory successfully changed.
> > >>Deploying:
> > >>D:\chuisman\dev\hotdog\project.xml-->hotdog/poms/qsCommons-0.01.pom
> > >>CWD hotdog
> > >>550 Failed to change directory.
> > >>MKD hotdog
> > >>550 Create directory operation failed.
> > >>Failed to deploy to: R3 Reason: Error executing FTP command
> > >>
> > >>BUILD FAILED
> > >>File...... C:\Documents and
> > >>Settings\chuisman\.maven\cache\maven-artifact-plugin
> > >>-1.4.1\plugin.jelly
> > >>Element... artifact:artifact-deploy
> > >>Line...... 94
> > >>Column.... 13
> > >>Unable to deploy to any repositories
> > >>Total time: 4 seconds
> > >>Finished at: Tue Jan 11 13:15:38 MST 2005
> > >>
> > >>Does ftp even allow a chgrp command?  I am using the artifact 1.4.1
> > >>plugin.  is ther a more recent one?
> > >>
> > >>c.
> > >>
> > >>Brett Porter wrote:
> > >>
> > >>
> > >>
> > >>>While maven.remote.group should be picked up, that's a legacy
> > >>>setting. Does it work if you use maven.repo.X.group=...?
> > >>>
> > >>>(where X matches the other settings for that repo)
> > >>>
> > >>>- Brett
> > >>>
> > >>>
> > >>>On Tue, 11 Jan 2005 11:45:09 -0700, Chris Huisman
> > >>><chuisman@taylor.com > wrote:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>Hello,
> > >>>>
> > >>>>I am trying to get my artifacts deployed to a central repository
> > >>>>using jar:deploy and ftp.  The problem I am encountering is that I
> > >>>>get the
> > >>>>following:
> > >>>>
> > >>>>257 "/home/devel/repository/hotdog" created
> > >>>>SITE CHGRP null hotdog
> > >>>>500 Unknown SITE command.
> > >>>>SITE CHMOD g+w hotdog
> > >>>>200 SITE CHMOD command ok.
> > >>>>CWD hotdog
> > >>>>550 Failed to change directory.
> > >>>>Failed to deploy to: R3 Reason: Error executing FTP command
> > >>>>
> > >>>>I looked into the artifact plugin and it attempts to change the
> > >>>>group and then change the group permissions to write but the command
> > >>>>does not seem to work.  What am I doing wrong?  I have a
> > >>>>maven.remote.group parameter set, but artifact doesn't seem to be
> > >>>>able to see it.
> > >>>>
> > >>>>thanks,
> > >>>>
> > >>>>c.
> > >>>>
> > >>>>--------------------------------------------------------------------
> > >>>>-
> > >>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>>>For additional commands, e-mail: users-help@maven.apache.org
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>>For additional commands, e-mail: users-help@maven.apache.org
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>---------------------------------------------------------------------
> > >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >>For additional commands, e-mail: users-help@maven.apache.org
> > >>
> > >>
> > >>
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > >For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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


Trying to build latest SCM plugin for trunk (was RE: jar:deploy via ftp)

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Brett,

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: lundi 14 février 2005 13:10
> To: Maven Users List
> Cc: chuisman@taylor.com
> Subject: Re: jar:deploy via ftp
> 
> Hi Chris,
> 
> Sorry for the long delay.
> 
> Did you get this resolved?
> 
> If not, I have recently updated to a new set of code. If you are able
> to build the latest plugin from subversion, I'd appreciate you testing
> to see if it is resolved.

I'd also like to use the latest SCM plugin version (from 1.5 branch) but it
seems to be missing some dependency:

C:\dev\maven\maven-1\plugins\scm-1.5-branch>maven clean plugin:install
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Tentative de tΘlΘchargement de maven-scm-api-1.0-alpha-1-SNAPSHOT.jar.
Tentative de tΘlΘchargement de
maven-scm-provider-cvs-1.0-alpha-1-SNAPSHOT.jar.
Tentative de tΘlΘchargement de
maven-scm-provider-svn-1.0-alpha-1-SNAPSHOT.jar.
ATTENTION: Impossible de tΘlΘcharger
maven-scm-provider-svn-1.0-alpha-1-SNAPSHOT.jar.
Le processus ne peut continuer α cause de la dΘpendance manquante
suivante:

maven-scm-provider-svn-1.0-alpha-1-SNAPSHOT.jar

Total time: 35 seconds
Finished at: Mon Feb 14 13:17:25 CET 2005

C:\dev\maven\maven-1\plugins\scm-1.5-branch>

Running it with -X gave:

[...]
Getting URL:
http://cvs.apache.org/repository/maven/jars/maven-scm-provider-svn-1.0-alpha
-1-SNAPSHOT.jar
Received status code: 404
File not found on one of the repos
java.io.FileNotFoundException:
http://cvs.apache.org/repository/maven/jars/maven-scm-provider-svn-1.0-alpha
-1-SNAPSHOT.jar
        at
org.apache.maven.util.HttpUtils.retrieveArtifact(HttpUtils.java:590)

Thanks
-Vincent



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