You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Niklas Gustavsson <ni...@protocol7.com> on 2009/04/26 22:49:46 UTC

[Vysper] Maven build

Hi

I've committed a first draft of a pom.xml for Vysper. So far, it
manages to compile and run the tests with Maven. However, there are
several issues that needs fixing:
* General review of the dependencies (scope, versions, exclusions)
* Nekopull not available in Maven repositories. For now, I've uploaded
it to people.a.o and sent an email to andyc to see if he knows if it
is available in an existing repo. If not, I will have it uploaded to
central.
* APT report not working. Should be integrated with the apt plugin for
Maven, haven't started on this
* Release (e.g. licensing, uploading) stuff not at all tested

We currently depend on jackrabbit-standalone which dependencies pulls
down the entire internet:
[INFO] +- org.apache.jackrabbit:jackrabbit-standalone:jar:1.5.3:compile
[INFO] |  +- javax.jcr:jcr:jar:1.0:compile
[INFO] |  +- org.apache.jackrabbit:jackrabbit-webapp:war:1.5.3:compile
[INFO] |  +- org.apache.jackrabbit:jackrabbit-webapp:jar:1.5.3:compile
[INFO] |  |  +- org.apache.jackrabbit:jackrabbit-core:jar:1.5.3:compile
[INFO] |  |  |  +- concurrent:concurrent:jar:1.3.4:compile
[INFO] |  |  |  +- commons-collections:commons-collections:jar:3.1:compile
[INFO] |  |  |  +- commons-io:commons-io:jar:1.4:compile
[INFO] |  |  |  +- org.apache.jackrabbit:jackrabbit-api:jar:1.5.0:compile
[INFO] |  |  |  +-
org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.3:compile
[INFO] |  |  |  +-
org.apache.jackrabbit:jackrabbit-spi-commons:jar:1.5.0:compile
[INFO] |  |  |  +- org.apache.jackrabbit:jackrabbit-spi:jar:1.5.0:compile
[INFO] |  |  |  +-
org.apache.jackrabbit:jackrabbit-text-extractors:jar:1.5.0:compile
[INFO] |  |  |  |  +- org.apache.poi:poi:jar:3.0.2-FINAL:compile
[INFO] |  |  |  |  +- org.apache.poi:poi-scratchpad:jar:3.0.2-FINAL:compile
[INFO] |  |  |  |  +- pdfbox:pdfbox:jar:0.7.3:compile
[INFO] |  |  |  |  |  +- org.fontbox:fontbox:jar:0.1.0:compile
[INFO] |  |  |  |  |  \- org.jempbox:jempbox:jar:0.2.0:compile
[INFO] |  |  |  |  \- net.sourceforge.nekohtml:nekohtml:jar:1.9.7:compile
[INFO] |  |  |  +- org.apache.lucene:lucene-core:jar:2.3.2:compile
[INFO] |  |  |  \- org.apache.derby:derby:jar:10.2.1.6:compile
[INFO] |  |  +- org.apache.jackrabbit:jackrabbit-jcr-server:jar:1.5.2:compile
[INFO] |  |  |  \- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.2:compile
[INFO] |  |  |     \- commons-httpclient:commons-httpclient:jar:3.0:compile
[INFO] |  |  +- org.apache.jackrabbit:jackrabbit-jcr-servlet:jar:1.5.2:compile
[INFO] |  |  \- org.apache.jackrabbit:jackrabbit-jcr-rmi:jar:1.5.0:compile
[INFO] |  +- org.mortbay.jetty:jetty:jar:6.1.14:compile
[INFO] |  +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
[INFO] |  |  +- org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] |  |  \- ant:ant:jar:1.6.5:compile
[INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.14:compile
[INFO] |  +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] |  +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
[INFO] |  \- commons-cli:commons-cli:jar:1.1:compile

What do we really need here?

/niklas

Re: [Vysper] Maven build

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Mon, Apr 27, 2009 at 9:08 AM, Bernd Fondermann <bf...@brainlounge.de> wrote:
> Maybe we can just go with -core.jar, and maybe we need -jcr-server.jar, too

I got it down to core (with some deps) and the JCR spec JAR. Seems to
compile and test successfully.

In general, the Maven build is now pretty useful. The piece missing
the creating a release assembly, but I think we can work on this
later. For now, it would be great if others can try out the Maven
build and see how it works for you. Let me know any problems! If it
seems to work for others, I would propose dropping the Ant build and
using Maven from now on.

I haven't yet ported the run-server target from the Ant build file. Do
we want this in the Maven build?

/niklas

Re: [Vysper] Maven build

Posted by Bernd Fondermann <bf...@brainlounge.de>.
Niklas Gustavsson wrote:
> Hi
> 
> I've committed a first draft of a pom.xml for Vysper. So far, it
> manages to compile and run the tests with Maven. However, there are
> several issues that needs fixing:
> * General review of the dependencies (scope, versions, exclusions)
> * Nekopull not available in Maven repositories. For now, I've uploaded
> it to people.a.o and sent an email to andyc to see if he knows if it
> is available in an existing repo. If not, I will have it uploaded to
> central.
> * APT report not working. Should be integrated with the apt plugin for
> Maven, haven't started on this
> * Release (e.g. licensing, uploading) stuff not at all tested
> 
> We currently depend on jackrabbit-standalone which dependencies pulls
> down the entire internet:
> [INFO] +- org.apache.jackrabbit:jackrabbit-standalone:jar:1.5.3:compile
> [INFO] |  +- javax.jcr:jcr:jar:1.0:compile
> [INFO] |  +- org.apache.jackrabbit:jackrabbit-webapp:jar:1.5.3:compile
> [INFO] |  |  +- org.apache.jackrabbit:jackrabbit-core:jar:1.5.3:compile
> [INFO] |  |  |  +- concurrent:concurrent:jar:1.3.4:compile
> [INFO] |  |  |  +- commons-collections:commons-collections:jar:3.1:compile
> [INFO] |  |  |  +- commons-io:commons-io:jar:1.4:compile
> [INFO] |  |  |  +- org.apache.jackrabbit:jackrabbit-api:jar:1.5.0:compile
> [INFO] |  |  |  +-
> org.apache.jackrabbit:jackrabbit-jcr-commons:jar:1.5.3:compile
> [INFO] |  |  |  +-
> org.apache.jackrabbit:jackrabbit-spi-commons:jar:1.5.0:compile
> [INFO] |  |  |  +- org.apache.jackrabbit:jackrabbit-spi:jar:1.5.0:compile
> [INFO] |  |  |  +- org.apache.lucene:lucene-core:jar:2.3.2:compile
> [INFO] |  |  |  \- org.apache.derby:derby:jar:10.2.1.6:compile
> [INFO] |  |  +- org.apache.jackrabbit:jackrabbit-jcr-server:jar:1.5.2:compile
> [INFO] |  |  |  \- org.apache.jackrabbit:jackrabbit-webdav:jar:1.5.2:compile
> [INFO] |  |  |     \- commons-httpclient:commons-httpclient:jar:3.0:compile
> [INFO] |  |  \- org.apache.jackrabbit:jackrabbit-jcr-rmi:jar:1.5.0:compile
> [INFO] |  \- commons-cli:commons-cli:jar:1.1:compile
> 
> What do we really need here?

I refrained from pulling single jars in, so I don't know. But I removed
the stuff we probably don't need ATM.

Maybe we can just go with -core.jar, and maybe we need -jcr-server.jar, too

  Bernd