Repository directory

2004-01-12 Thread Freddy
How can I change the repository directory of maven?
I run the install_repo.bat, and it download the jars to the directory that I 
passed to the .bat, but maven continue to use his original repository (C:\Documents 
and Settings\{actual_user}\.maven\repository)
[]s
Freddy

Frederico Silva Guimarães
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]


Re: Repository directory

2004-01-12 Thread Emmanuel Venisse
Create a build.properties file in your home directory and add this to it :
maven.repo.local=

- Original Message - 
From: "Freddy" <[EMAIL PROTECTED]>
To: "maven" <[EMAIL PROTECTED]>
Sent: Tuesday, January 13, 2004 3:45 AM
Subject: Repository directory


How can I change the repository directory of maven?
I run the install_repo.bat, and it download the jars to the directory
that I passed to the .bat, but maven continue to use his original repository
(C:\Documents and Settings\{actual_user}\.maven\repository)
[]s
Freddy

Frederico Silva Guimarães
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]



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



Re: Repository directory

2004-01-13 Thread Matthieu RIOU
You have to define the property maven.repo.local. I recommend you do so by creating a 
new build.properties in your user home directory.

Freddy <[EMAIL PROTECTED]> wrote:How can I change the repository directory of maven?
I run the install_repo.bat, and it download the jars to the directory that I passed to 
the .bat, but maven continue to use his original repository (C:\Documents and 
Settings\{actual_user}\.maven\repository)
[]s
Freddy

Frederico Silva Guimarães
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]




-
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

Re: Repository directory

2004-01-13 Thread Freddy
And to change the pluggin directory?
It is the same way?? In this case what's the property name??
[]s
Freddy

Frederico Silva Guimarães
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]

- Original Message - 
From: "Emmanuel Venisse" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 3:02 PM
Subject: Re: Repository directory


> Create a build.properties file in your home directory and add this to it :
> maven.repo.local=
>
> - Original Message - 
> From: "Freddy" <[EMAIL PROTECTED]>
> To: "maven" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 13, 2004 3:45 AM
> Subject: Repository directory
>
>
> How can I change the repository directory of maven?
> I run the install_repo.bat, and it download the jars to the directory
> that I passed to the .bat, but maven continue to use his original
repository
> (C:\Documents and Settings\{actual_user}\.maven\repository)
> []s
> Freddy
> 
> Frederico Silva Guimarães
> Tel: (21) 9952-1717
> ICQ: 127277403
> Email: [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: Repository directory

2004-01-13 Thread Matthieu RIOU
You need to redefine two properties maven.plugin.dir and maven.plugin.unpacked.dir. 
Btw all those properties are defined in Maven user's guide in "Behavioural Properties" 
chapter.

Freddy <[EMAIL PROTECTED]> wrote:And to change the pluggin directory?
It is the same way?? In this case what's the property name??
[]s
Freddy

Frederico Silva Guimarães
Tel: (21) 9952-1717
ICQ: 127277403
Email: [EMAIL PROTECTED]

- Original Message - 
From: "Emmanuel Venisse" 
To: "Maven Users List" 
Sent: Monday, January 12, 2004 3:02 PM
Subject: Re: Repository directory


> Create a build.properties file in your home directory and add this to it :
> maven.repo.local=
>
> - Original Message - 
> From: "Freddy" 
> To: "maven" 
> Sent: Tuesday, January 13, 2004 3:45 AM
> Subject: Repository directory
>
>
> How can I change the repository directory of maven?
> I run the install_repo.bat, and it download the jars to the directory
> that I passed to the .bat, but maven continue to use his original
repository
> (C:\Documents and Settings\{actual_user}\.maven\repository)
> []s
> Freddy
> 
> Frederico Silva Guimarães
> Tel: (21) 9952-1717
> ICQ: 127277403
> Email: [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]




-
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

Re: deployment repository directory, snapshots

2006-07-24 Thread Tamás Cservenák

Hi Jörg,

you are correct, but as far as i know, ALL Continuum created artifacts
(SNAPSHOTs and non-SNAPSHOTs) are "deployed" to this "deploment repository
directory".

Continuum uses it's own local repository for dependency resolution, i think
this "deployment repository directory" is on-way only, it is a target only
and is not used in dependency resolution.

The "deployment repository directory" IS a full fledged repository.
I actually use this kind of setup: Deployment repository directory points to
the
/srv/jds2/proximity/maven2-repo/inhouse
which is actually the root of the inhouse repo proxied by Proximity
(there is some NFS in between but it is not important).

Of course, these are all my experiences. Continuum crew should know better.

Have fun
~t~


On 7/24/06, Joerg Buchberger <[EMAIL PROTECTED]> wrote:


Hi.

In continuum's general configuration there's a so called "Deployment
Repository Directory".

From what I could find on the mailing list and elsewhere, this seems
to be a SNAPSHOT repository, i.e. all continuum triggered snapshots
will go in there (and only those).

Is this understanding/assumption correct?

If I got it right, this is designed to be used as an inhouse
repository for resolving internal snapshot dependencies outright from
the start. Is this really the intent behind?

If this is a full fledged repository, it probably should be also no
problem to have it proxied via proximity for instance. Correct?


Thanks for your attention.
--Jörg








Maven beta 10 repository directory

2003-08-06 Thread S. Radhakrishnan
Hi,

I have now installed Maven beta 10 version and trying to generate
maven site. But some how the repository jar files are not created
under the maven beta 10 directory. its created in $userhome/.maven
directory. Means, it is looking for the repositories from $userhome/.maven
directory instead of $mavenbeta10dir/repository

How to get rid of this.


RK.

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



Re: Maven beta 10 repository directory

2003-08-06 Thread Rafal Krzewski
S. Radhakrishnan wrote:

> Now, building the checkstyle report using Maven 10, it gives me the
> following exception.
> 
> com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse
> /home/intranet/cvs/metapa/adr/my-checkstyle.properties - Premature end of
> file.:-1:-1
> 
> however,it was working fine with Maven 9. Is there any other special
> consideration for Maven 10??

Beta 10 uses newer version of checkstyle, 1.2 if my memory suits me.
You need to convert your rules file into new xml format. See checkstyle
documentation for details.

R.


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



Re: Maven beta 10 repository directory

2003-08-06 Thread S. Radhakrishnan

Hi,

that works fine for repository. But for checkstyle plugins
.. its looking at the directory .maven in the $userhome directory.
what are all the additional properties do i need to set for Maven
beta 10 upgradation.??.. I have checked the ur reference site too
and set the same values as,

maven.repo.local = ${maven.home}/repository
maven.local.home = /opt/maven

is that enough??..



RK.


-Original Message-
From: Fabrice Depoux [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:14 PM
To: S. Radhakrishnan
Subject: Re: Maven beta 10 repository directory


As it is explained in the wiki
(http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to set
the properties mavan.local.home

Fabrice.


On Wed, 6 Aug 2003 14:03:54 +0530
"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have now installed Maven beta 10 version and trying to generate
> maven site. But some how the repository jar files are not created
> under the maven beta 10 directory. its created in $userhome/.maven
> directory. Means, it is looking for the repositories from $userhome/.maven
> directory instead of $mavenbeta10dir/repository
>
> How to get rid of this.
>
>
> RK.
>
> -
> 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: Maven beta 10 repository directory

2003-08-07 Thread dion
"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 06:33:54 
PM:

> Hi,
> 
> I have now installed Maven beta 10 version and trying to generate
> maven site. But some how the repository jar files are not created
> under the maven beta 10 directory. its created in $userhome/.maven
> directory. Means, it is looking for the repositories from 
$userhome/.maven
> directory instead of $mavenbeta10dir/repository
> 
> How to get rid of this.
Please read the documentation, specifically:

http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

And the entry on maven.repo.local.

Please set that property in your ${user.home}/build.properties file to 
whereever you want your repo to be.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




RE: Maven beta 10 repository directory

2003-08-07 Thread S. Radhakrishnan
Thanks a lot dIon.. its working fine now.

RK.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 7:45 AM
To: Maven Users List
Subject: Re: Maven beta 10 repository directory


Please see the maven documentation, particularly 
http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

for a full list of properties that affect it's behaviour.

Please note, you've mistyped maven.home.local below, you have it as 
maven.local.home.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 09:50:04 
PM:

> 
> Hi,
> 
> that works fine for repository. But for checkstyle plugins
> .. its looking at the directory .maven in the $userhome directory.
> what are all the additional properties do i need to set for Maven
> beta 10 upgradation.??.. I have checked the ur reference site too
> and set the same values as,
> 
> maven.repo.local = ${maven.home}/repository
> maven.local.home = /opt/maven
> 
> is that enough??..
> 
> 
> 
> RK.
> 
> 
> -Original Message-
> From: Fabrice Depoux [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 2:14 PM
> To: S. Radhakrishnan
> Subject: Re: Maven beta 10 repository directory
> 
> 
> As it is explained in the wiki
> (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to 
set
> the properties mavan.local.home
> 
> Fabrice.
> 
> 
> On Wed, 6 Aug 2003 14:03:54 +0530
> "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> >
> > I have now installed Maven beta 10 version and trying to generate
> > maven site. But some how the repository jar files are not created
> > under the maven beta 10 directory. its created in $userhome/.maven
> > directory. Means, it is looking for the repositories from 
$userhome/.maven
> > directory instead of $mavenbeta10dir/repository
> >
> > How to get rid of this.
> >
> >
> > RK.
> >
> > -
> > 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]
> 


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



Re: Maven beta 10 repository directory

2003-08-10 Thread Andy Jefferson
On Wednesday 06 Aug 2003 13:33, S. Radhakrishnan wrote:
> Hi,
>
> thanks for your solution.. that works fine.. now i am facing with a
> different problem.
> I am having custom checkstyle properties which will look like,
>
> checkstyle.lcurly.type = nl
> checkstyle.lcurly.method = nl
> checkstyle.lcurly.other = nl
> checkstyle.rcurly = alone
> checkstyle.allow.tabs = false
> checkstyle.allow.protected = false
> checkstyle.allow.package = false
> checkstyle.allow.no.author = false
> checkstyle.max.line.len = 80
>
> Now, building the checkstyle report using Maven 10, it gives me the
> following exception.

Checkstyle has changed in Maven beta10 ... it now uses a new XML based config 
file. See http://checkstyle.sourceforge.net/ for details. I've attached a 
sample file (if it gets through to the mailing list).

-- 
Andy
http://www.puppycrawl.com/dtds/configuration_1_1.dtd";>


	
	

	
		

		
		
		
		

		
		
			
		
		
			
			
		

		
		
			
		

		
		
			
		

		
		
			
		
		
			
		
		
			
		
		
		
			
		

		
		
		
			
		
		
			
		
		
			
		
		
			
		

		
		
			
		
		
			
		
		
			
		
	


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

RE: Maven beta 10 repository directory

2003-08-14 Thread S. Radhakrishnan
Hi,

thanks for your solution.. that works fine.. now i am facing with a
different problem.
I am having custom checkstyle properties which will look like,

checkstyle.lcurly.type = nl
checkstyle.lcurly.method = nl
checkstyle.lcurly.other = nl
checkstyle.rcurly = alone
checkstyle.allow.tabs = false
checkstyle.allow.protected = false
checkstyle.allow.package = false
checkstyle.allow.no.author = false
checkstyle.max.line.len = 80

Now, building the checkstyle report using Maven 10, it gives me the
following exception.

com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse
/home/intranet/cvs/metapa/adr/my-checkstyle.properties - Premature end of
file.:-1:-1

however,it was working fine with Maven 9. Is there any other special
consideration for Maven 10??

RK.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 2:16 PM
To: Maven Users List
Subject: Re: Maven beta 10 repository directory


"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 06:33:54
PM:

> Hi,
>
> I have now installed Maven beta 10 version and trying to generate
> maven site. But some how the repository jar files are not created
> under the maven beta 10 directory. its created in $userhome/.maven
> directory. Means, it is looking for the repositories from
$userhome/.maven
> directory instead of $mavenbeta10dir/repository
>
> How to get rid of this.
Please read the documentation, specifically:

http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

And the entry on maven.repo.local.

Please set that property in your ${user.home}/build.properties file to
whereever you want your repo to be.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




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



Re: Maven beta 10 repository directory

2003-08-14 Thread dion
Please see the maven documentation, particularly 
http://maven.apache.org/reference/user-guide.html#Behavioural%20Properties

for a full list of properties that affect it's behaviour.

Please note, you've mistyped maven.home.local below, you have it as 
maven.local.home.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"S. Radhakrishnan" <[EMAIL PROTECTED]> wrote on 06/08/2003 09:50:04 
PM:

> 
> Hi,
> 
> that works fine for repository. But for checkstyle plugins
> .. its looking at the directory .maven in the $userhome directory.
> what are all the additional properties do i need to set for Maven
> beta 10 upgradation.??.. I have checked the ur reference site too
> and set the same values as,
> 
> maven.repo.local = ${maven.home}/repository
> maven.local.home = /opt/maven
> 
> is that enough??..
> 
> 
> 
> RK.
> 
> 
> -Original Message-
> From: Fabrice Depoux [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 2:14 PM
> To: S. Radhakrishnan
> Subject: Re: Maven beta 10 repository directory
> 
> 
> As it is explained in the wiki
> (http://wiki.codehaus.org/maven/MigratingFromBeta9ToBeta10), you have to 
set
> the properties mavan.local.home
> 
> Fabrice.
> 
> 
> On Wed, 6 Aug 2003 14:03:54 +0530
> "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> >
> > I have now installed Maven beta 10 version and trying to generate
> > maven site. But some how the repository jar files are not created
> > under the maven beta 10 directory. its created in $userhome/.maven
> > directory. Means, it is looking for the repositories from 
$userhome/.maven
> > directory instead of $mavenbeta10dir/repository
> >
> > How to get rid of this.
> >
> >
> > RK.
> >
> > -
> > 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 get the local repository directory

2008-10-15 Thread Miroslav Nachev

Hi,

I am trying to get the local repository directory with "localRepository" 
parameter but the result is not the expected:

   [local] -> file://C:\Documents and Settings\miroslav\.m2\repository
The problem is that before the directory there is a prefix "[local] -> 
file://" which is the problem.

Any ideas and help? Thank you in advance.

I need of the local repository directory because I would like to start 
one ant script where I am using "" condition and for that condition 
I need of third party library "ant-contrib" which I must declare in 
 tag. To do that in "maven-antrun-plugin" I am using 
dependencies like that:

   
   ant-contrib
   ant-contrib
   20020829
   
This guarantee that the library will be in the local repository. Then I 
have to use the local repository and taskdef to put on the class path 
this library to be able to use  condition.


Is there another way for that? Can I replace "if" condition with 
something else?



Regards,
Miro.

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



Re: "Deployment Repository Directory" in case of artifactory ?

2007-10-30 Thread Raffaele

Hi all,
I reply to this thread because I'm also using artifactory and I have a
similar problem, this one:

I have a multi module project:

toolkit-parent   -> pom with packaging pom NOT VERSIONED ON SVN
|-- common -> pom with packaging jar VERSIONED ON SVN
|-- domain   -> pom with packaging jar VERSIONED ON SVN

I would like to add toolkit-parent pom to Continuum so as triggering hte
build of all its modules.
The problem is that I don't know how specify a pom url of a pom stored ONLY
on Artifactory and not in SVN.

Have you any ideas?

I could upload toolkit-parent pom from file system, but in Continuum UI is
(as you know) specified this:
Enter the local filename of the Maven 2 POM to upload (works only for a
single project without modules).

Thanks, best regards.
Raffaele


mfs wrote:
> 
> cool..thanks for the assistance man!
> 
> Brett Porter wrote:
>> 
>> As far as I know, yes.
>> 
>> On 01/09/07, mfs <[EMAIL PROTECTED]> wrote:
>>>
>>> Thanks Brett, will do so..but do you think thats the only option for
>>> atifactory users ?
>>>
>>> Farhan
>>>
>>> Brett Porter wrote:
>>> >
>>> > You should change the Maven goals to be "deploy" instead of "install",
>>> > and configuration the distributionManagement appropriately. It's best
>>> > to just let Maven handle it :)
>>> >
>>> > Cheers,
>>> > Brett
>>> >
>>> > On 31/08/2007, mfs <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >> Hello Guys,
>>> >>
>>> >> I am using artifactory as the repository manager and would want to
>>> >> configure
>>> >> continuum such that the build(s) done by it (for m2 projects) are
>>> >> deployed
>>> >> on the artifactory m2 repository. Now as you would know artifactory
>>> uses
>>> >> the
>>> >> derby db to store the artifacts (rather than in the file-system) and
>>> >> hence i
>>> >> cant give a directory path to the artifactory repository ... anyone
>>> has
>>> >> any
>>> >> idea as to how to make it work...gave a try though to give the http
>>> url
>>> >> to
>>> >> artifactory repo but that rather was appended in the form
>>> >> "c:\appl\..\http://localhost/svn/repos"..so that obviously isnt
>>> the
>>> >> way
>>> >> to go about it...?
>>> >>
>>> >> Thanks in advance and Regards,
>>> >>
>>> >> Farhan.
>>> >>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a12417891
>>> >> Sent from the Continuum - Users mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >
>>> >
>>> > --
>>> > Brett Porter
>>> > Blog: http://www.devzuz.org/blogs/bporter/
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a12435461
>>> Sent from the Continuum - Users mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Brett Porter
>> Blog: http://www.devzuz.org/blogs/bporter/
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a13485326
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: "Deployment Repository Directory" in case of artifactory ?

2007-10-30 Thread Emmanuel Venisse



Raffaele a écrit :

Hi all,
I reply to this thread because I'm also using artifactory and I have a
similar problem, this one:

I have a multi module project:

toolkit-parent   -> pom with packaging pom NOT VERSIONED ON SVN
|-- common -> pom with packaging jar VERSIONED ON SVN
|-- domain   -> pom with packaging jar VERSIONED ON SVN

I would like to add toolkit-parent pom to Continuum so as triggering hte
build of all its modules.
The problem is that I don't know how specify a pom url of a pom stored ONLY
on Artifactory and not in SVN.

Have you any ideas?


You can't, Continuous integration tools works only on projects stored in a SCM 
tool, so you must add it in svn if you want to build it in Continuum.

An other solution would be to use the scm file protocol, but I don't think it 
is a good idea.



I could upload toolkit-parent pom from file system, but in Continuum UI is
(as you know) specified this:
Enter the local filename of the Maven 2 POM to upload (works only for a
single project without modules).


In latest betas, you can choose to not load sub modules, but for upload, only project without modules are supported. In this case, the file protocol must be activated and use in the URL field the file 
url.


Emmanuel


Thanks, best regards.
Raffaele


mfs wrote:

cool..thanks for the assistance man!

Brett Porter wrote:

As far as I know, yes.

On 01/09/07, mfs <[EMAIL PROTECTED]> wrote:

Thanks Brett, will do so..but do you think thats the only option for
atifactory users ?

Farhan

Brett Porter wrote:

You should change the Maven goals to be "deploy" instead of "install",
and configuration the distributionManagement appropriately. It's best
to just let Maven handle it :)

Cheers,
Brett

On 31/08/2007, mfs <[EMAIL PROTECTED]> wrote:

Hello Guys,

I am using artifactory as the repository manager and would want to
configure
continuum such that the build(s) done by it (for m2 projects) are
deployed
on the artifactory m2 repository. Now as you would know artifactory

uses

the
derby db to store the artifacts (rather than in the file-system) and
hence i
cant give a directory path to the artifactory repository ... anyone

has

any
idea as to how to make it work...gave a try though to give the http

url

to
artifactory repo but that rather was appended in the form
"c:\appl\..\http://localhost/svn/repos"..so that obviously isnt

the

way
to go about it...?

Thanks in advance and Regards,

Farhan.


--
View this message in context:


http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a12417891

Sent from the Continuum - Users mailing list archive at Nabble.com.




--
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/



--
View this message in context:
http://www.nabble.com/%22Deployment-Repository-Directory%22-in-case-of-artifactory---tf4357403.html#a12435461
Sent from the Continuum - Users mailing list archive at Nabble.com.




--
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/










Re: How to get the local repository directory

2008-10-16 Thread Brett Porter

Try ${settings.localRepository} instead.

- Brett

On 16/10/2008, at 5:57 PM, Miroslav Nachev wrote:


Hi,

I am trying to get the local repository directory with  
"localRepository" parameter but the result is not the expected:

  [local] -> file://C:\Documents and Settings\miroslav\.m2\repository
The problem is that before the directory there is a prefix "[local] - 
> file://" which is the problem.

Any ideas and help? Thank you in advance.

I need of the local repository directory because I would like to  
start one ant script where I am using "" condition and for that  
condition I need of third party library "ant-contrib" which I must  
declare in  tag. To do that in "maven-antrun-plugin" I am  
using dependencies like that:

  
  ant-contrib
  ant-contrib
  20020829
  
This guarantee that the library will be in the local repository.  
Then I have to use the local repository and taskdef to put on the  
class path this library to be able to use  condition.


Is there another way for that? Can I replace "if" condition with  
something else?



Regards,
Miro.

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



--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


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



How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-18 Thread Claudio Ranieri
How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Someone?
Please help me

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 18 de abril de 2008 14:25
Para: users@maven.apache.org
Assunto: How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

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



RE: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread nicklist
Looking at the dependencies of the maven deploy plugin [1] I think you have to 
write your own plugin to do this. You could take a look at the 
maven-deploy-plugin code to see how they accomplish it.

Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
[3].

Hth,

Nick S.


[1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/
[3] http://mojo.codehaus.org/exec-maven-plugin/


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 16:32
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?
 
Someone?
Please help me

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 18 de abril de 2008 14:25
Para: users@maven.apache.org
Assunto: How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

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




RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Thanks for answering, but I would like to use maven2 deploy plugin with config 
in pom.xml.
Create a own plugin is impracticable for me.
I don´t want use antrun or maven exec  I would like use maven plugin.
The plugin makes scp and create the directory structure in remote machine.
I need only make scp to single file (is a part of process of deploy plugin)
How can I do this?


-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 12:10
Para: Maven Users List
Assunto: RE: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Looking at the dependencies of the maven deploy plugin [1] I think you have to 
write your own plugin to do this. You could take a look at the 
maven-deploy-plugin code to see how they accomplish it.

Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
[3].

Hth,

Nick S.


[1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/
[3] http://mojo.codehaus.org/exec-maven-plugin/


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 16:32
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Someone?
Please help me

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 18 de abril de 2008 14:25
Para: users@maven.apache.org
Assunto: How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

-
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: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread nicklist
It is not a part of the deploy plugin. The deploy plugin is used only to put 
artifacts into a remote repository. Nothing else. To accomplish this, it uses 
the different wagon artifacts. If you want to accomplish your task, you will 
have to use one of the three options I gave you.

1) Create your own plugin, using the functionality the wagon implementations 
give you.
2) Write a little ant script and run it with the antrun plugin
3) Execute scp with the maven-exec-plugin.

I hope I made it somewhat clearer.

With regards,

Nick S.


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 19:09
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?
 
Thanks for answering, but I would like to use maven2 deploy plugin with config 
in pom.xml.
Create a own plugin is impracticable for me.
I don´t want use antrun or maven exec  I would like use maven plugin.
The plugin makes scp and create the directory structure in remote machine.
I need only make scp to single file (is a part of process of deploy plugin)
How can I do this?


-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 12:10
Para: Maven Users List
Assunto: RE: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Looking at the dependencies of the maven deploy plugin [1] I think you have to 
write your own plugin to do this. You could take a look at the 
maven-deploy-plugin code to see how they accomplish it.

Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
[3].

Hth,

Nick S.


[1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/
[3] http://mojo.codehaus.org/exec-maven-plugin/


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 16:32
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Someone?
Please help me

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 18 de abril de 2008 14:25
Para: users@maven.apache.org
Assunto: How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

-
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: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Wayne Fay
As Nick stated, "deploy" has a very specific context within Maven. It
does not mean "deploy a WAR/EAR to a J2EE server" nor does it mean
"copy a file to a path of my choosing".

Deploy in the context of Maven means "deploy this artifact to a remote
Maven repository," and as you've discovered, Maven repos have a very
specific layout.

If you want the file copied similar to how the deploy plugin works,
but without the extra directories, then you will need to investigate
one of the 3 options Nick suggested. Easiest would probably be to
simply grab the deploy plugin code, modify some things, change the
groupId and artifactId, compile and install/deploy it locally, and
then start using it.

Wayne

On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> It is not a part of the deploy plugin. The deploy plugin is used only to put 
> artifacts into a remote repository. Nothing else. To accomplish this, it uses 
> the different wagon artifacts. If you want to accomplish your task, you will 
> have to use one of the three options I gave you.
>
> 1) Create your own plugin, using the functionality the wagon implementations 
> give you.
> 2) Write a little ant script and run it with the antrun plugin
> 3) Execute scp with the maven-exec-plugin.
>
> I hope I made it somewhat clearer.
>
> With regards,
>
> Nick S.
>
>
> -Original Message-
> From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Sent: Wed 4/23/2008 19:09
> To: Maven Users List
> Subject: RES: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Thanks for answering, but I would like to use maven2 deploy plugin with 
> config in pom.xml.
> Create a own plugin is impracticable for me.
> I don´t want use antrun or maven exec  I would like use maven plugin.
> The plugin makes scp and create the directory structure in remote machine.
> I need only make scp to single file (is a part of process of deploy plugin)
> How can I do this?
>
>
> -Mensagem original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Enviada em: quarta-feira, 23 de abril de 2008 12:10
> Para: Maven Users List
> Assunto: RE: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Looking at the dependencies of the maven deploy plugin [1] I think you have 
> to write your own plugin to do this. You could take a look at the 
> maven-deploy-plugin code to see how they accomplish it.
>
> Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
> [3].
>
> Hth,
>
> Nick S.
>
>
> [1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
> [2] http://maven.apache.org/plugins/maven-antrun-plugin/
> [3] http://mojo.codehaus.org/exec-maven-plugin/
>
>
> -----Original Message-
> From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Sent: Wed 4/23/2008 16:32
> To: Maven Users List
> Subject: RES: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Someone?
> Please help me
>
> -Mensagem original-
> De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 18 de abril de 2008 14:25
> Para: users@maven.apache.org
> Assunto: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> How can I send a single file by scp without generate maven2 repository 
> directory structure in remote machine?
>
> When I use the goal deploy:deploy, the maven2 creates in remote machine:
>
> groupId\artifactoryId\version\name-of-artifactory
>
> But I would like to:
>
> finalName (defined in tag myname...)
>
> How can I do this?
>
> Thanks
>
> -
> 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]
>
>
>

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



RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Claudio Ranieri
Ok, I understood, but I never created a maven plugin.
I think a complex task. There are another maven plugin to do scp (single file)? 
(native way)
Someone can modify the deploy plugin code or show a sample?
Thanks.


-Mensagem original-
De: Wayne Fay [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 15:02
Para: Maven Users List
Assunto: Re: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

As Nick stated, "deploy" has a very specific context within Maven. It
does not mean "deploy a WAR/EAR to a J2EE server" nor does it mean
"copy a file to a path of my choosing".

Deploy in the context of Maven means "deploy this artifact to a remote
Maven repository," and as you've discovered, Maven repos have a very
specific layout.

If you want the file copied similar to how the deploy plugin works,
but without the extra directories, then you will need to investigate
one of the 3 options Nick suggested. Easiest would probably be to
simply grab the deploy plugin code, modify some things, change the
groupId and artifactId, compile and install/deploy it locally, and
then start using it.

Wayne

On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> It is not a part of the deploy plugin. The deploy plugin is used only to put 
> artifacts into a remote repository. Nothing else. To accomplish this, it uses 
> the different wagon artifacts. If you want to accomplish your task, you will 
> have to use one of the three options I gave you.
>
> 1) Create your own plugin, using the functionality the wagon implementations 
> give you.
> 2) Write a little ant script and run it with the antrun plugin
> 3) Execute scp with the maven-exec-plugin.
>
> I hope I made it somewhat clearer.
>
> With regards,
>
> Nick S.
>
>
> -Original Message-
> From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Sent: Wed 4/23/2008 19:09
> To: Maven Users List
> Subject: RES: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Thanks for answering, but I would like to use maven2 deploy plugin with 
> config in pom.xml.
> Create a own plugin is impracticable for me.
> I don´t want use antrun or maven exec  I would like use maven plugin.
> The plugin makes scp and create the directory structure in remote machine.
> I need only make scp to single file (is a part of process of deploy plugin)
> How can I do this?
>
>
> -Mensagem original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Enviada em: quarta-feira, 23 de abril de 2008 12:10
> Para: Maven Users List
> Assunto: RE: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Looking at the dependencies of the maven deploy plugin [1] I think you have 
> to write your own plugin to do this. You could take a look at the 
> maven-deploy-plugin code to see how they accomplish it.
>
> Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
> [3].
>
> Hth,
>
> Nick S.
>
>
> [1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
> [2] http://maven.apache.org/plugins/maven-antrun-plugin/
> [3] http://mojo.codehaus.org/exec-maven-plugin/
>
>
> -----Original Message-
> From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Sent: Wed 4/23/2008 16:32
> To: Maven Users List
> Subject: RES: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> Someone?
> Please help me
>
> -Mensagem original-
> De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
> Enviada em: sexta-feira, 18 de abril de 2008 14:25
> Para: users@maven.apache.org
> Assunto: How can I send a single file by scp without generate maven2 
> repository directory structure in remote machine?
>
> How can I send a single file by scp without generate maven2 repository 
> directory structure in remote machine?
>
> When I use the goal deploy:deploy, the maven2 creates in remote machine:
>
> groupId\artifactoryId\version\name-of-artifactory
>
> But I would like to:
>
> finalName (defined in tag myname...)
>
> How can I do this?
>
> Thanks
>
> -
> 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]
>
>
>

-
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: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Wendy Smoak
On Thu, Apr 24, 2008 at 1:30 AM,  <[EMAIL PROTECTED]> wrote:
> It is not a part of the deploy plugin. The deploy plugin is used only to put 
> artifacts into a remote repository. Nothing else. To accomplish this, it uses 
> the different wagon artifacts. If you want to accomplish your task, you will 
> have to use one of the three options I gave you.
>
>  1) Create your own plugin, using the functionality the wagon implementations 
> give you.

I don't know much about it, but the MyFaces project already has a
wagon plugin that does scp...

http://myfaces.apache.org/wagon-maven-plugin/usage.html

-- 
Wendy

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



Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Luke Daley

Also,

http://docs.atlassian.com/maven-upload-plugin/1.1/

LD.

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



RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-24 Thread Claudio Ranieri
Hi,

Very good!
Now, I have two options to do scp:

http://myfaces.apache.org/wagon-maven-plugin/usage.html

and

http://docs.atlassian.com/maven-upload-plugin/1.1/

I will test both.
Thank you very much!
Thanks Nick to your hint. I will try to do a plugin to wsconsume of jbossws

-Mensagem original-
De: Luke Daley [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 19:46
Para: Maven Users List
Assunto: Re: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Also,

http://docs.atlassian.com/maven-upload-plugin/1.1/

LD.

-
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]



RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-24 Thread Claudio Ranieri
Hi Wendy,

I tested your plugin and worked!
I think that other people need of this plugin, but don´t find in web.
You can talk with maven developer to add the url 
http://myfaces.apache.org/wagon-maven-plugin/index.html
in http://maven.apache.org/plugins/index.html

Thank you very much!

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 24 de abril de 2008 09:27
Para: Maven Users List
Assunto: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Hi,

Very good!
Now, I have two options to do scp:

http://myfaces.apache.org/wagon-maven-plugin/usage.html

and

http://docs.atlassian.com/maven-upload-plugin/1.1/

I will test both.
Thank you very much!
Thanks Nick to your hint. I will try to do a plugin to wsconsume of jbossws

-Mensagem original-
De: Luke Daley [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 19:46
Para: Maven Users List
Assunto: Re: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Also,

http://docs.atlassian.com/maven-upload-plugin/1.1/

LD.

-
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]


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



Re: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?

2008-04-23 Thread Nick Stolwijk
Writing a plugin isn't that hard and it is very good documented [1]. 
Just take a good look at the deploy plugin code [2] and use the wagon 
artifacts.


Hth,

Nick S.


[1] http://maven.apache.org/plugin-developers/index.html
[2] 
https://svn.apache.org/repos/asf/maven/plugins/tags/maven-deploy-plugin-2.3


Claudio Ranieri wrote:

Ok, I understood, but I never created a maven plugin.
I think a complex task. There are another maven plugin to do scp (single file)? 
(native way)
Someone can modify the deploy plugin code or show a sample?
Thanks.


-Mensagem original-
De: Wayne Fay [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 15:02
Para: Maven Users List
Assunto: Re: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

As Nick stated, "deploy" has a very specific context within Maven. It
does not mean "deploy a WAR/EAR to a J2EE server" nor does it mean
"copy a file to a path of my choosing".

Deploy in the context of Maven means "deploy this artifact to a remote
Maven repository," and as you've discovered, Maven repos have a very
specific layout.

If you want the file copied similar to how the deploy plugin works,
but without the extra directories, then you will need to investigate
one of the 3 options Nick suggested. Easiest would probably be to
simply grab the deploy plugin code, modify some things, change the
groupId and artifactId, compile and install/deploy it locally, and
then start using it.

Wayne

On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
  

It is not a part of the deploy plugin. The deploy plugin is used only to put 
artifacts into a remote repository. Nothing else. To accomplish this, it uses 
the different wagon artifacts. If you want to accomplish your task, you will 
have to use one of the three options I gave you.

1) Create your own plugin, using the functionality the wagon implementations 
give you.
2) Write a little ant script and run it with the antrun plugin
3) Execute scp with the maven-exec-plugin.

I hope I made it somewhat clearer.

With regards,

Nick S.


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 19:09
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Thanks for answering, but I would like to use maven2 deploy plugin with config 
in pom.xml.
Create a own plugin is impracticable for me.
I don´t want use antrun or maven exec  I would like use maven plugin.
The plugin makes scp and create the directory structure in remote machine.
I need only make scp to single file (is a part of process of deploy plugin)
How can I do this?


-Mensagem original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 23 de abril de 2008 12:10
Para: Maven Users List
Assunto: RE: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Looking at the dependencies of the maven deploy plugin [1] I think you have to 
write your own plugin to do this. You could take a look at the 
maven-deploy-plugin code to see how they accomplish it.

Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin 
[3].

Hth,

Nick S.


[1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/
[3] http://mojo.codehaus.org/exec-maven-plugin/


-Original Message-
From: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Sent: Wed 4/23/2008 16:32
To: Maven Users List
Subject: RES: How can I send a single file by scp without generate maven2 
repository directory structure in remote machine?

Someone?
Please help me

-Mensagem original-
De: Claudio Ranieri [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 18 de abril de 2008 14:25
Para: users@maven.apache.org
Assunto: How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

How can I send a single file by scp without generate maven2 repository 
directory structure in remote machine?

When I use the goal deploy:deploy, the maven2 creates in remote machine:

groupId\artifactoryId\version\name-of-artifactory

But I would like to:

finalName (defined in tag myname...)

How can I do this?

Thanks

-
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]






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