Hi Dmitry,

On 21 April 2011 15:46, Dmitry Katsubo <dmitry.kats...@gmail.com> wrote:

> Hi Nina,
>
> Thanks for reply.
>
> On 16.04.2011 7:45, Nina Jeliazkova wrote:
> > Egon,
> >
> > On 16 April 2011 08:19, Egon Willighagen <egon.willigha...@gmail.com>
> wrote:
> >
> >> The single big jar is a much requested feature by
> >> users, but the build system starts with a modularized approach.
> >>
> >> ant clean dist-all test-dist-all
> >>
> >> and check the output in dist/jar.
> >>
> >> Dependencies are defined in src/META-INF/*.*depends
> >
> > Deploying and configuring all separate jars into a maven dependencies /
> > repository is quite a work though.
> >
> > I would like to suggest the following.  The project that is used to
> > deploy jars into the maven repository in my previous mail is this one
> > (the URL has already been sent to this list):
> >
> > https://ambit.svn.sourceforge.net/svnroot/ambit/trunk/cdk-maven
> >
> > It doesn't build the CDK, just imposes maven structure of the modules
> > and deploys the binary jars into a repository.  It should be trivial to
> > extend CDK build file to copy the jars into the mavenized structure of
> > this project. The proposal is to have the mavenized structure above
> > into the CDK source tree, just next to the current one, and use it to
> > deploy the jars into a maven repository. (I know some prefer to keep the
> > ant build system as it is :)
>
> Have you just started this project, or you have already successfully
> build and deployed jars as maven artifacts? In later case perhaps you
> could share the URL for maven repo (in case it is available "for the
> world")?
>
>
We've been are using cdk jars as maven artifacts since almost 3 years, but
this particular project with separate jars is since few months, and only
since CDK 1.3.8. Jars are already deployed and we are using the repository
on daily basis. It is a public one, anybody is welcome to use it as well.

I believe I've already sent the link to this list, but in case I've missed
it, here it is.

http://ambit.uni-plovdiv.bg:8083/nexus<http://ambit.uni-plovdiv.bg:8083/nexus/index.html#welcome>


Maven configuration:

   <repository>
        <id>ambit-plovdiv</id>
        <url>
http://ambit.uni-plovdiv.bg:8083/nexus/content/repositories/thirdparty</url>
    </repository>

The cdk package names follow the names of the CDK modules.  Dependency
configurations look like :

  <dependency>
     <groupId>org.openscience.cdk</groupId>
     <artifactId>cdk-core</artifactId>
     <version>${cdk.version}</version>
    </dependency>
    <dependency>
     <groupId>org.openscience.cdk</groupId>
     <artifactId>cdk-isomorphism</artifactId>
     <version>${cdk.version}</version>
    </dependency>
    <dependency>
     <groupId>org.openscience.cdk</groupId>
     <artifactId>cdk-atomtype</artifactId>
     <version>${cdk.version}</version>
    </dependency>

(etc.)

Direct link to the artifacts
http://ambit.uni-plovdiv.bg:8083/nexus/content/repositories/thirdparty/org/openscience/cdk/

The cdk-all is a parent pom project, jars are configured as modules.




> > CDK jars not being registered in a public maven repository is a major
> > show stopper of making derivative projects available via maven
> > infrastructure, hope this could help move things in that direction.
>
> True. Until that happens, I will also need to deploy CDK to local Maven
> repo, but I would love to use something which is publicly available.
>
>
You are welcome.

Best regards,
Nina


> --
> With best regards,
> Dmitry
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Cdk-user mailing list
> Cdk-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to