Marshall Schor wrote:
I took a look at the dependencies for the uimaj-as-activemq project,
using the tools: mvn dependency:analyze and mvn dependency:tree and
here's what I found.

1) uimaj-examples is a testing dependency - I'll change the <scope>.
2) There are some dependencies coded in what appears to be a strange
way.  Here's an example:

        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-optional</artifactId>
            <version>4.1.1</version>
            <exclusions>
                    <exclusion>
                        <groupId>org.apache.activemq</groupId>
                        <artifactId>activemq-optional</artifactId>
                    </exclusion>
           </exclusions>
        </dependency>

This says include
  org.apache.activemq:activemq-optional:jar:4.1.1:compile, but exclude
  org.apache.activemq:activemq-optional

I think what this was attempting to do was to exclude activemq-optional,
which was being brought in as a transitive dependency.  This doesn't
work, as evidenced by using mvn dependency:tree, so I'm removing it.

The xstream dependency turns out to be just a testcase dependency, so
I'm changing that scope to test.

I ran mvn dependency:tree -Dverbose and got a complete listing of the
dependencies, and after review the only one I think I can safely exclude
is the activemq-web-demo.
I'll make a jira for this.

-Marshall

Thanks Marshall good job.

The ActiveMQ guys say that in a minimal configuration
you only need these jars:

   * activemq-core.jar
   * commons-logging.jar
   * geronimo-spec-jms.jar
   * geronimo-spec-jta.jar
   * geronimo-spec-j2ee-management.jar

Optional the spring.jar is needed for xml based configuration
and the persistence jar for persistence.

The required jars are combined in an activemq.jar
file. Do you think we can just take this activemq.jar file
and combine it with the uima jars for a client ?

If so we might want to say that in our documentation, because
it makes it easier to get started with UIMA-AS.

Jörn

http://activemq.apache.org/version-5-initial-configuration.html

Reply via email to