Hi,
I set the SandboxDistr parent to SimpleUimaAsService POM too and set uimaj-as-activemq dependency scope to provided to avoid importing unnecessary transitive dependencies.

Tommaso



Il giorno 03/ott/2009, alle ore 00.08, Tommaso Teofili ha scritto:


Il giorno 02/ott/2009, alle ore 19.21, Marshall Schor ha scritto:

hmmm. I had left out the SimpleUimaAsService from the <modules> section
originally in the mistaken belief that I needed to do that to avoid
including it in the sandbox release. (That's not required, because the
sandbox release content is set just by the assembly descriptors).

But, in any case, you can set the parent of this to be the SandboxDistr,
independently of whether or not the SimpleUimaAsService is in the
<module> aggregation.

Ok, it's right. I was in doubt so I did not add the parent.


Then, you can delete all of the plugins in the <build> section :-) , and
it will still build, nicely.  There's some issue we'll need to dig
through, though, because it pulls in a large number of jars related to
activemq (I think), not all of which would need to be distributed.

Yes, the large amount of jars is related to activemq; to avoid this we could set activemq scope to 'provided' or use the <exclusion> tag to import only wanted transitive dependencies.


Note: this is not being released with our 2.3.0 release per previous
discussions which indicated it needed to be documented first.

-Marshall

Tommaso

Reply via email to