Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] How to change install location of my plugin under local repository?

Hello Ramesh,

AFAIK what you want is not possible. The proposal http://docs.codehaus.org/display/MAVEN/Local+repository+separation would provide what you need but unfortunately it seems the proposal didn't make in Maven.

Maybe classifiers could help you alleviate the problem you have during parallel build (http://docs.codehaus.org/display/MAVEN/Local+repository+separation).
Another option is to use a repository manager (f.e. Nexus OSS) instead of the common shared location and let every machine have it's own local repository.

Regards,
Davy

P.S: As Jeff pointed out: this is maven related and not tycho-specific so you might ask your question on the Maven Mailing List (users@xxxxxxxxxxxxxxxx)


Date: Fri, 3 Feb 2012 16:21:34 +0530
From: rameshg282@xxxxxxxxx
To: jeffmaury@xxxxxxxxxxxxx; tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] How to change install location of my plugin under local repository?

Jeff,
 
Thanks for prompt reply. I think changing groupId/artifactID will change my output directory structure too; that I dont want.
 
I am blocking on this issue. It will be really appreciated if anyone knows some workaround.
 
--
God bless you,
Ramesh
From: Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
To: ramesh gunjal <rameshg282@xxxxxxxxx>; Tycho user list <tycho-user@xxxxxxxxxxx>
Sent: Friday, 3 February 2012 2:41 PM
Subject: Re: [tycho-user] How to change install location of my plugin under local repository?

This is a Maven related stuff.
The only to do it is to change the groupId/artifactID so that it matches the location you want. But it is a very bad pratice to change the Maven coordinates of a component during its lifetime

Jeff MAURY

On Fri, Feb 3, 2012 at 7:41 AM, ramesh gunjal <rameshg282@xxxxxxxxx> wrote:
 
Hello,
 
How can I change install location of my plugin under local repository? For example when I run
 
> mvn -Dmaven.repo.local=C:/src/repository -o clean install
 
It installs my plugins under local repository at C:/src/repository/com/xxx/myapp/. Can I change this location dynamically? something like C:/src/repository/win32/com/xxx/myapp/. If yes how can I do that?
 
The problem is - I have my local repository at some common shared location. I build myapp and run tests from different machines Windows 32 and 64-bit. When my builds run parallely it mess up C:/src/repository/com/xxx/myapp directory and my tests failed.
 
Please help me.
 
--
God bless you,
Ramesh



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY

"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury



_______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top