In looking over the license / notice files for the bin distr of uima-as (very clear and nicely formatted, I think, by the way), it seems these contain things not in the distribution.
Were the content of these files generated in some way? An example: there's a license and notice for JmDNS. If I grep the binary distribution for that, I see references to that only in lib/activemq-client-5.13.2.jar: META-INF/DEPENDENCIES:From: 'JmDNS' (http://jmdns.sourceforge.net/) META-INF/DEPENDENCIES: - JmDNS (http://sourceforge.net/projects/jmdns/) javax.jmdns:jmdns:jar:3.4.1 Binary file org/apache/activemq/transport/discovery/zeroconf/JmDNSFactory$UsageTracker.class matches Binary file org/apache/activemq/transport/discovery/zeroconf/JmDNSFactory.class matches Binary file org/apache/activemq/transport/discovery/zeroconf/ZeroconfDiscoveryAgent$1.class matches Binary file org/apache/activemq/transport/discovery/zeroconf/ZeroconfDiscoveryAgent.class matches I don't see the jmdns.jar itself in the distribution; so it seems to me that the license/notice entries for this should not be included in the uima-as license/notice collection. I'll look around a bit see if there are other cases of this. -Marshall On 4/18/2016 12:23 PM, Jaroslaw Cwiklik wrote: > The are more dependencies as this is a totally new AMQ which has changed in > many ways since 5.7.0. > > I ran mvn dependency:tree on uima-as and yes there a quite a few jars that > are now being downloaded as part of the uima-as build. > Some of the dependencies you see are transitive. Finding which are used and > which are not used can be tricky. Exclusion may lead to runtime errors. > The AMQ distribution has been redone and there are new dependencies which > did not exist in older versions. > > I think I've got the main AMQ dependencies right for UIMA-AS > <artifactId>activemq-client</artifactId> > <artifactId>activemq-broker</artifactId> > <artifactId>activemq-jaas</artifactId> > <artifactId>activemq-web</artifactId> > <artifactId>activemq-spring</artifactId> > <artifactId>activemq-console</artifactId> > <artifactId>activemq-http</artifactId> > <artifactId>activemq-camel</artifactId> > <artifactId>activemq-jms-pool</artifactId> > <artifactId>activemq-leveldb-store</artifactId> > <artifactId>activemq-log4j-appender</artifactId> > <artifactId>activemq-amqp</artifactId> > <artifactId>activemq-pool</artifactId> > <artifactId>activemq-stomp</artifactId> > <artifactId>activemq-mqtt</artifactId> > <artifactId>activemq-partition</artifactId> > <artifactId>activemq-runtime-config</artifactId> > <artifactId>activemq-shiro</artifactId> > <artifactId>hawtbuf</artifactId> > <artifactId>activemq-kahadb-store</artifactId> > > I'd rather keep these dependencies unless there is a concrete reason to > warrant exclusion. > > -Jerry > > > On Sun, Apr 17, 2016 at 6:20 PM, Marshall Schor <[email protected]> wrote: > >> Hi, >> >> I'm starting to have a look at this. >> >> I observed that during the "build-from-sources" for uimaj-as-activemq, 169 >> files >> were downloaded from maven (many were .poms, but many were Jars). Are all >> of >> these needed when doing the uimaj-as-activemq build? >> >> Examples: >> jackson-annotations, core, databind, at 2.6.3 level >> guava 12.0 >> netty 3.7.0 >> websocket-api 1.0 >> activemq-all, amqp, broker, console, http, jaas, jms-pool, kahadb-store, >> leveldb-store, log4j-appender, mqtt, openwire-legacy, partition, pool, >> runtime-config, shiro, spring, stomp, web, 5.13.2 >> genesis-default-flava, java5-flava 2.1 >> qpid/proton-m >> shiro/shiro-core, root, spring, web 1.2.4 >> xbean-spring 3.18 >> zookeeper 3.4.6 >> jetty-all, -continuation,-http, -io, -security, -server, -servlet, -util, >> websocket-api, websocket-client, websocket-common, websocket-server, >> websocket-servlet 9.2.13 >> fusesource/hawtdispatch -scala, -transport, 1.22 >> and a whole lot more.... >> >> This seems like a surprising number of dependencies for the >> uimaj-as-activemq >> build. What am I missing? >> >> -Marshall >> >>
