Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Trouble with Hudson, git clone

> Say by the way, I noticed under the "Invoke Maven 3" section, that there
> is a Settings menu with an option "Deploy to repo.eclipse.org
> <http://repo.eclipse.org>".  Can someone comment what that's about? 

That option switches your Maven settings.xml to one containing the
password necessary for deploying to repo.eclipse.org. You would still
need to configure your <distributionManagement> section and run the
"deploy:deploy" goal (typically as part of the deploy phase, i.e. using
"mvn deploy") during your Hudson build.

FWIW, here's what we use as <distributionManagement> at Code
Recommenders [1].

> Ultimately I want to deploy my jar's onto Maven Central; would that
> option help in some way?

I don't know, but AFAIK the JGit guys deploy first to repo.eclipse.org
from Hudson and then have a script that copies from there to Maven central.

BTW, there's a thread on eclipse.org-committers about exactly this topic
ATM.

Hope this helps,

Andreas

[1]
<https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/tree/pom.xml?h=v2.3.0#n52>

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top