#164 Apache Maven support

closed
None
5
2012-10-08
2010-08-10
No

Support for Maven project management tool (http://maven.apache.org/ ). This could be on several levels:
1) maven repository and pom.xml files, allowing to deploy cdk jars into repository
2) maven build file (instead or in addition to the existing ant)
3) using maven plugins to generate various reports from the sources

I would like to propose our new installation of Nexus maven repository at http://ambit.uni-plovdiv.bg:8083/nexus/index.html to host a repository.
The attached example pom.xml file was used to deploy cdk-1.3.5.jar into http://ambit.uni-plovdiv.bg:8083/nexus/content/repositories/thirdparty/org/openscience/cdk/cdk/1.3.5/. The artifacts and group id are for the sake of this example only.

Steps 2) and 3) will most probably require more efforts to accommodate the non-standard cdk source tree.

Discussion

  • Nina Jeliazkova

    Nina Jeliazkova - 2010-08-10

    maven build file, allowing to deploy existing jars to maven repository

     
  • Egon Willighagen

    Is that pom.xml all that is needed?

     
  • Nina Jeliazkova

    Nina Jeliazkova - 2010-08-10

    to deploy to the repository, you would need
    1)maven installed
    2) a valid user in the repository
    3) configure the user in your {home}/.m2/settings.xml

    <settings xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 &lt;a href=" http:="" maven.apache.org="" xsd="" settings-1.0.0.xsd"="">http://maven.apache.org/xsd/settings-1.0.0.xsd">

    <servers>
    <server>
    <id>ambit-plovdiv</id>
    <username>theuser</username>
    <password>thepassword</password>
    <configuration/>
    <filePermissions>775</filePermissions>
    <directoryPermissions>775</directoryPermissions>
    </server>
    </servers>

    4)place pom.xml in the same folder as build.xml file
    5)run mvn deploy

     
  • Egon Willighagen

    But CDK repository-wise, I would only need to add the pom.xml to cdk/ ?

     
  • Nina Jeliazkova

    Nina Jeliazkova - 2010-08-10

    Yes

     
  • Egon Willighagen

    Added to the master branch.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks