directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <>
Subject Re: [Studio] Eclipse 3.3.1 dependencies + "Mavenization" of the trunk
Date Thu, 03 Jan 2008 13:49:31 GMT
Pierre-Arnaud Marcelot schrieb:
> On Jan 3, 2008 12:16 PM, Felix Knecht <
> <>> wrote:
>     I neither don't now. I can test at home if it could work. But I'm not
>     sure if it's a good idea to misuse svn for this.
> That's also the reason why I was wondering if we were able to do
> this... That's not really the purpose of the svn server.
>     Thinking about resources and performance I can imagine it's better to
>     put it somewhere in http://p.a.o/~.../maven2
>     <http://p.a.o/%7E.../maven2>.
>     I can put it to http://p.a.o/~/felix/studio-eclipse-m2
>     <http://p.a.o/%7E/felix/studio-eclipse-m2> e.g.
> Yes, that's a better idea. We could test with this location and move
> the repo to another location under
> once we switch the build system.

I'll try (hopefully this evening).

>     It makes definitely more sense to use my sandbox than creating you own
>     branch. It's open to everyone working on the mavenization of
>     studio and
>     the easiest way to share code when working on the same problems :-)
> Cool. :)
> I was wondering how you (prepared and) installed the eclipse
> dependencies in the m2 repo.

Just unzipped all the eclipse stuff in the {mysandox}/tools and run the
last command from tools/shell-commands.txt.

But please don't even if it sounds easy - I had to do some weird
patching  in the maven-eclipse-plugin to get it working because of
(don't know if this is a bug in maven itself or in the
maven-eclipse-plugin ...)

> I have a few new dependencies to add to it.
> I added the Studio launchers zip archives to the repo using the 'mvn
> instal:install-file' command but it does not generate the associated
> *.sha1 files.
> Here's what I have done to install one of the packages :
> mvn install:install-file
> -DartifactId=launcher-linux
> -Dversion=1.1.0 -Dpackaging=zip
> Should I use another command ?

Yes. you can do like this and sha/md5 are generate (see also at the

felix@lapfelix ~/svn/apache/directory/maven-studio/tools $ touch sample.jar
felix@lapfelix ~/svn/apache/directory/maven-studio/tools $ mvn
deploy:deploy-file -Durl=file:../local-repository -Dfile=sample.jar
-Dpackaging=jar -DgroupId=myGroup -DartifactId=sample -Dversion=1.0.0
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO] Building Maven Default Project
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO] [deploy:deploy-file]
Uploading: file:../local-repository/myGroup/sample/1.0.0/sample-1.0.0.jar
0b uploaded
[INFO] Retrieving previous metadata from remote-repository
[INFO] Uploading repository metadata for: 'artifact myGroup:sample'
[INFO] Retrieving previous metadata from remote-repository
[INFO] Uploading project information for sample 1.0.0
[INFO] Total time: 1 second
[INFO] Finished at: Thu Jan 03 14:40:11 CET 2008
[INFO] Final Memory: 2M/5M


View raw message