directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject Re: [Studio] Eclipse 3.3.1 dependencies + "Mavenization" of the trunk
Date Thu, 03 Jan 2008 15:48:16 GMT
On Jan 3, 2008 2:49 PM, Felix Knecht <felixk@apache.org> wrote:

> 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
> http://www.nabble.com/OverConstrainedVersionException-td14289478s177.html
> (don't know if this is a bug in maven itself or in the
> maven-eclipse-plugin ...)
>

I have 3 new dependencies to add. They are not packaged as jar or zip files
but as simple folders.
How should I do ?

I tried what you explained above but I got a failure:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Required goal not found: eclipse:to-maven
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Jan 03 16:43:02 CET 2008
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------



> Yes. you can do like this and sha/md5 are generate (see also
> http://maven.apache.org/plugins/maven-deploy-plugin/usage.html at the
> bottom):
>
> 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
> -DgeneratePom=true
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'deploy'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [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]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Jan 03 14:40:11 CET 2008
> [INFO] Final Memory: 2M/5M


Thanks for the hint. It worked well.

Pierre-Arnaud

Mime
View raw message