[opencms-dev] We have setup a public OpenCms Maven2 Repository
Brabenetz, Harald
harald.brabenetz at bearingpointconsulting.com
Thu Aug 26 13:07:06 CEST 2010
Hi Martin,
> Not necessarily. But they would have to at least upload their artifacts to
> maven central. Maybe via Sonatype's OSS repo [0].
A Patch for the Build-Scripts which uploads the artifacts to a repository after running the ANT build is available:
http://bp-cms-commons.sourceforge.net/m2site/opencms/opencms-basic/7.5.3/patches.html
distributionManagement Node must be changed (maybe to Sonatype's OSS repo):
/modules/pom-template.xml
/pom-opencms-core.xml
/pom-opencms-webapp.xml
/pom-opencms-setup.xml
run maven-deploy-with-new-modules.bat ("NEW" means the same version as opencms-core)
hth,
Harald
-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Martin Höller
Sent: Donnerstag, 26. August 2010 12:39
To: The OpenCms mailing list
Subject: Re: [opencms-dev] We have setup a public OpenCms Maven2 Repository
Hi Harald!
Am Donnerstag 26 August 2010, 11:52:05 schrieb Brabenetz, Harald:
> Hi Martin,
>
> You are right, but at least the four-digits (patched) Versions are unique
> :)
>
> I don't believe that Alkacon will create Maven Artifacts for OpnCms 7.x
> (Maybe for 8.x?) There would be some Problems:
> At least the OpenCms Module "org.opencms.workplace.administration" Version
> 7.5.1 is not unique. There are two difference versions of this Module
> released with OpenCms 7.5.1 and 7.5.2 which are not compatible to each
> other but have the same Version number.
>
> Also http://www.comundus.com/ creates there own Maven Repo:
> http://opencms-wiki.org/Fully_automated_builds_with_the_OpenCms-Maven-Plugi
> n
>
> It's mess that there are so many separated Maven Repository with different
> opencms-Artifacts.
Agreed.
> This could only end if Alkacon change their build-process to Maven.
Not necessarily. But they would have to at least upload their artifacts to
maven central. Maybe via Sonatype's OSS repo [0].
> But this changes costs time and money and nobody want to pay it...
Unfortunately this is the point :-(
However, I just wanted to point out, that there might be some problems with
the current approach.
hth,
- martin
[0] https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
INFONOVA GmbH
Sitz: Unterpremstätten bei Graz
Firmenbuchgericht: Landesgericht für ZRS Graz
Firmenbuchnummer: FN 44354b
The information in this email is confidential and may be legally privileged. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
More information about the opencms-dev
mailing list