# Should we have an official openEHR maven repository? **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2015-05-05 07:57 UTC **Views:** 1 **Replies:** 10 **URL:** https://discourse.openehr.org/t/should-we-have-an-official-openehr-maven-repository/15361 --- ## Post #1 by @yampeku Hello all, I think currently there is no public available maven repository for the openEHR java\-libs and other related project libraries\. Do you think it would be interesting to have this kind of official public repository? Regards --- ## Post #2 by @Hans_Demski1 Hello, why do you think that we need a maven repo? A GitHub repository is already in place at https://github.com/openEHR brgds Hans > Hello all, > > I think currently there is no public available maven repository for > the openEHR java\-libs and other related project libraries\. Do you > think it would be interesting to have this kind of official public > repository? > > Regards > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > Ref\_impl\_java mailing list > Ref\_impl\_java@lists\.openehr\.org > http://lists.openehr.org/mailman/listinfo/ref_impl_java_lists.openehr.org > Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt \(GmbH\) Ingolstädter Landstr\. 1 85764 Neuherberg www\.helmholtz\-muenchen\.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme\-Bothe Geschäftsführer: Prof\. Dr\. Günther Wess, Dr\. Nikolaus Blum, Dr\. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt\-IdNr: DE 129521671 --- ## Post #3 by @Jose_Almeida Greetings, That would be very useful indeed. The easiest way would be to use [maven.org](http://maven.org) / [central.sonatype.org](http://central.sonatype.org) as it is the default for Maven. We would have to take into account [these](http://central.sonatype.org/pages/requirements.html) requirements for each artifact. --- ## Post #4 by @Seref People who use Java regularly use maven for development. (the Scala built tool SBT also uses maven repos). A maven repo would allow people using maven simply include openEHR libraries in their pom.xml I can't see how version control provide by git is related to this scenario --- ## Post #5 by @yampeku I'm aware that the github repo is public\. Using maven has quite some advantages over "traditional" java developing that really show off with bigger projects with lots of referenced libraries\. --- ## Post #6 by @Jose_Almeida Greetings, It makes for easier use of the openEHR libs, helping mainly in dependency management. Many open source java based projects use Maven it and has become an essential tool in java based development. Some quick stats: [http://search.maven.org/#stats](http://search.maven.org/#stats) --- ## Post #7 by @Hans_Demski1 Hi again, I am not involve in SW development regarding openEHR at the moment\. Sorry, if i made a stupid comment\. Nevertheless, in the Github repos there are already pom\.xml files present \(e\.g\. https://github.com/openEHR/java-libs/blob/master/pom.xml). brgds Hans > I'm aware that the github repo is public\. Using maven has quite some > advantages over "traditional" java developing that really show off > with bigger projects with lots of referenced libraries\. > >> Hello, >> >> why do you think that we need a maven repo? >> >> A GitHub repository is already in place at https://github.com/openEHR >> >> brgds >> Hans >> >>> Hello all, >>> >>> I think currently there is no public available maven repository for >>> the openEHR java\-libs and other related project libraries\. Do you >>> think it would be interesting to have this kind of official public >>> repository? >>> >>> Regards >>> >>> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ >>> Ref\_impl\_java mailing list >>> Ref\_impl\_java@lists\.openehr\.org >>> http://lists.openehr.org/mailman/listinfo/ref_impl_java_lists.openehr.org >>> >> Helmholtz Zentrum München >> Deutsches Forschungszentrum für Gesundheit und Umwelt \(GmbH\) >> Ingolstädter Landstr\. 1 >> 85764 Neuherberg >> www\.helmholtz\-muenchen\.de >> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme\-Bothe >> Geschäftsführer: Prof\. Dr\. Günther Wess, Dr\. Nikolaus Blum, Dr\. Alfons >> Enhsen >> Registergericht: Amtsgericht München HRB 6466 >> USt\-IdNr: DE 129521671 >> >> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ >> Ref\_impl\_java mailing list >> Ref\_impl\_java@lists\.openehr\.org >> http://lists.openehr.org/mailman/listinfo/ref_impl_java_lists.openehr.org > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ > Ref\_impl\_java mailing list > Ref\_impl\_java@lists\.openehr\.org > http://lists.openehr.org/mailman/listinfo/ref_impl_java_lists.openehr.org Helmholtz Zentrum München Deutsches Forschungszentrum für Gesundheit und Umwelt \(GmbH\) Ingolstädter Landstr\. 1 85764 Neuherberg www\.helmholtz\-muenchen\.de Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme\-Bothe Geschäftsführer: Prof\. Dr\. Günther Wess, Dr\. Nikolaus Blum, Dr\. Alfons Enhsen Registergericht: Amtsgericht München HRB 6466 USt\-IdNr: DE 129521671 --- ## Post #8 by @yampeku Yes, people from cambio are using their own local maven repository\. The java\-libs project is already a maven project, only completing the meta and generating all the different files would be needed\. --- ## Post #9 by @Jose_Almeida Greeting, As an example, when I plan to add a dependency that is not in the maven repos the fist thing I do is to download it and add it to my local repo. I have to do it again when a new release happens. When there are many artifacts as it is the case, updating your dependencies can be a pain. Maven makes this as easy as changing a few lines in you pom file. And when you have multiple projects that depend on the same artifacts/jars but on different versions of them, maven just works while doing it manually can be a pain. As the project already uses Maven and already has pom files for each module it is only the case of adapting them to meet the maven/sonatype requirements. To note that there are already references to what appears to be a Cambio maven repository and scm in the main pom as can be seen here: [https://github.com/openEHR/java-libs/blob/master/pom.xml](https://github.com/openEHR/java-libs/blob/master/pom.xml) . --- ## Post #10 by @yampeku So before this thread dies completely, do we agree to create an issue in the projects tracker? Probably it should be created under Infrastructure Issues https://openehr.atlassian.net/projects/INFRAISS --- ## Post #11 by @thomas.beale Diego, yes \- please do that\. \- thomas --- **Canonical:** https://discourse.openehr.org/t/should-we-have-an-official-openehr-maven-repository/15361 **Original content:** https://discourse.openehr.org/t/should-we-have-an-official-openehr-maven-repository/15361