How to install custom plugins

757 views
Skip to first unread message

dmitri

unread,
Aug 24, 2012, 5:20:03 AM8/24/12
to scmma...@googlegroups.com
Hey!

Can someone tell me how to install custom plugins on scm manager? I see how the pre-made plugins can be installed from the submenu, but nothing about custom ones.

Kind regards,
Dmitri

Sebastian Sdorra

unread,
Aug 24, 2012, 5:38:48 AM8/24/12
to scmma...@googlegroups.com
Hi,
There is no easy method at the moment. If you only want to test your
plugin, you could use the maven goal scmp:run, to start a scm-manager
with your plugin installed. If you like to install your plugin to a
production instance you have to do the following steps:

- create a temporary folder on your development machine
- goto your plugin development directory
- execute "mvn scmp:install -DscmHome=/path/to/temp/directory"
- copy the temporary folder to your productive machine
- copy all files from your temporary folder to the scm-manager home
directory expect the classpath.xml
- add all entries from your temporary classpath.xml to your productive one

I hope this helps.

Sebastian

2012/8/24 dmitri <gr.d...@gmail.com>:

dmitri

unread,
Aug 24, 2012, 6:39:07 AM8/24/12
to scmma...@googlegroups.com
Hi Sebastian,

Thanks for the quick reply! I've tried the instructions to install the plugin on my production instance, but since it's installed from an executable there is no classpath.xml(atleast none that i have found). I suppose just copying the maven installed folder to the ~/.scm/ directory won't work. Is there a way to install it on an executable installed instance?

Kind regards,
Dmitri

Sebastian Sdorra

unread,
Aug 24, 2012, 7:45:19 AM8/24/12
to scmma...@googlegroups.com
The scm-webapp.war and the scm-server are using the same home
directory (https://bitbucket.org/sdorra/scm-manager/wiki/faq "Where
does SCM-Manager store its configuration and the repositories?"). In
this home directory should be a plugins folder. If there is no plugin
directory you can just copy the plugin directory from your development
machine into this home directory.

Sebastian

2012/8/24 dmitri <gr.d...@gmail.com>:

Alejandro Santana

unread,
Sep 9, 2012, 2:13:42 PM9/9/12
to scmma...@googlegroups.com
Hi Sebastian. I am trying to install some plugins but the plugins tab only shows me Git, Mercurial, Subversion. I have already configured my proxy settings but nothing. May be my proxy is blocking apps conections. I have obtained the plugins source code from the repository but I don't know how can I add the plugins to scm-manager locally. I am not very experienced in Java that's why i am asking you to explain how to do this. Thank you very much.

Sebastian Sdorra

unread,
Sep 11, 2012, 9:54:23 AM9/11/12
to scmma...@googlegroups.com
Hi,
It is very difficult to install plugins without a connection to the
plugin center. The simplest way, is to use a machine with access to
the plugin center. With this machine you install scm-manager in the
same version as the productive server, then you install all plugins
you need in productive environment. After installing the plugins you
copy the plugins folder (in your scm home directory) to the productive
system and restart the productive server.

I will try to simplify this process in one of the next versions.

Sebastian

2012/9/9 Alejandro Santana <alejan...@gmail.com>:

Alejandro Santana

unread,
Sep 16, 2012, 2:15:12 PM9/16/12
to scmma...@googlegroups.com
Thank you very much. Finally i used cntlm to conect the plugin center
and it worked.I have to tell you have done a great work.
Congratulations

2012/9/11, Sebastian Sdorra <s.sd...@gmail.com>:

Yeukhon Wong

unread,
Jan 28, 2013, 1:02:13 PM1/28/13
to scmma...@googlegroups.com
Hopefully at some point this could be done via a command in scm-cli.
Imagine for a guy provisioning development, staging and production setup. 
It's okay to cache these plugins and have the scrip to untar them into proper places.

Just a thought. Not the msot important ticket.
:P
Reply all
Reply to author
Forward
0 new messages