chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurizio Pillitu <>
Subject Re: OpenCMIS Server Archetype
Date Tue, 27 Jul 2010 08:39:50 GMT
Hi Jens,
sure, I can provide you with more details, but in general the archetype aims
to simplify the maven approach, therefore the first part of the

1.The documentation guides the user through the creation of a webapp using a
specific archetype; this archetype contains spring, struts and many other
dependencies that are not necessary for building an OpenCMIS server and
makes the pom.xml heavier.

2. The final pom is posted as code, but copy/pasting it on top of the
previously created archetype breaks, since none of the spring/struts
dependencies are there anymore

3. the POM overlay on org.opencmis.opencmis-server-impl is wrong, should be
org.apache.chemistry.opencmis.chemistry-server-bindings; you don't need to
specify an overlay, maven does it automatically if the POM packaging=WAR and
there's only one WAR dependency

4. All org.apache.chemistry.opencmis.opencmis-* dependencies should
be org.apache.chemistry.opencmis.chemistry-opencmis-* ; the build cannot
find the dependencies

5. org.apache.chemistry.opencmis.chemistry-opencmis-server-support is of
type POM; if not specified the build fails

6. Missing Maven repository to fetch the last SNAPSHOT versions:

7. In order to get the WAR to work, you need to manually uncompress the
opencmis-server-bindings-XXXX.war and copy the WEB-INF/web.xml in

8. Instead of asking the user to deploy the WAR, why not using the Maven
Jetty Plugin?

This is the pom.xml[1] that is generated by the archetype, containing all
the fixes I just mentioned you.

I think that the new documentation of the Maven approach should just

> mvn archetype:generate -DarchetypeArtifactId=my-cmis-server-archetype -DarchetypeGroupId=org.apache.chemistry.opencmis.server

> cd ${artifactId}

> mvn jetty:run

so that the user can better focus on the server implementation details,
rather then the development environment.



[1] -

On Tue, Jul 27, 2010 at 10:15 AM, Jens Hübel <> wrote:

> Hi Maurizio,
> thanks for providing feedback. Could you perhaps provide some more details
> in what kind of issues you ran?
> I would be happy to update the documentation in case that there are errors.
> Thanks Jens
> -----Original Message-----
> From: Maurizio Pillitu []
> Sent: Montag, 26. Juli 2010 19:59
> To:
> Subject: OpenCMIS Server Archetype
> Hi everyone,
> I was following the "How to create a CMIS server using OpenCMIS"[1]
> documentation page, but I got stuck on several issues, so I decided to
> build
> and contribute a Maven Archetype; I've filed an issue[2] on Jira.
> I think it would be a good idea to contribute it to the OpenCMIS project.
> Looking forward to your feedback.
> Regards,
>  Maurizio
> [1] -
> [2] -
> --
> Maurizio Pillitu - 0031 (0)615655668
> Opensource Software Engineer
> Scrum Certified Master -
> Sourcesense - making sense of Open Source:


Met vriendelijke groet,
Maurizio Pillitu - 0031 (0)615655668
Opensource Software Engineer
Scrum Certified Master -
Sourcesense - making sense of Open Source:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message