You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2013/11/18 22:57:23 UTC

svn commit: r1543184 - /directory/studio/trunk/repository/README

Author: seelmann
Date: Mon Nov 18 21:57:23 2013
New Revision: 1543184

URL: http://svn.apache.org/r1543184
Log:
Add readme how to add new plugin dependencies

Added:
    directory/studio/trunk/repository/README

Added: directory/studio/trunk/repository/README
URL: http://svn.apache.org/viewvc/directory/studio/trunk/repository/README?rev=1543184&view=auto
==============================================================================
--- directory/studio/trunk/repository/README (added)
+++ directory/studio/trunk/repository/README Mon Nov 18 21:57:23 2013
@@ -0,0 +1,12 @@
+Howto add new plugin dependencies to internal maven repository
+* create directory "newplugins"
+* copy plugins jar from existing Eclipse (Juno 3.8) installation to "newplugins" directory (example: org.eclipse.core.databinding.beans_1.2.200.v20120523-1955.jar)
+* run the "deploy_new_plugins.sh" script
+* delete the "newplugins" directory
+* add the new dependency (including version) to the parent pom.xml "dependencyManagement" section
+* add the new dependency (excluding version) to the repository/pom.xml 
+* now you can add the new dependency (excluding version) to the plugin's pom.xml
+* run "mvn install" from the project root to see if all works
+
+The script splits the original filename (e.g. org.eclipse.core.databinding.beans_1.2.200.v20120523-1955.jar) and extracts groupId, artifactId, version, and packaging.
+