You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Valerio Schiavoni <va...@gmail.com> on 2006/11/07 14:25:56 UTC

webstart-plugin: dependencies

hello everyone,
one of the configuration parameters of the webstart plugin looks like the
following:

<!-- transitive dependencies filter -->
           <dependencies>
             <!-- Note that only groupId and artifactId must be specified
here. because of a limitation of the Include/ExcludesArtifactFilter -->
             <includes>
                <include>commons-logging:commons-logging</include>
                <include>commons-cli:commons-cli</include>
             <includes>
             <!-- excludes>
                <exclude></exclude>
             <excludes-->
           </dependencies>

what is the main intent of the includes or excludes ?
At first, i added my application (the one that has to be distributed via
webstart) as a dependency: then, it seems like I have to add in the includes
block all its dependencies..but then what happen with transitive
dependencies ?...

any one can clarify this ?

thanks,
valerio

-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

Re: webstart-plugin: dependencies

Posted by Jerome Lacoste <je...@gmail.com>.
A little bit late but might be helpful to someone else.

On 11/7/06, Valerio Schiavoni <va...@gmail.com> wrote:
>
> hello everyone,
> one of the configuration parameters of the webstart plugin looks like the
> following:
>
> <!-- transitive dependencies filter -->
>            <dependencies>
>              <!-- Note that only groupId and artifactId must be specified
> here. because of a limitation of the Include/ExcludesArtifactFilter -->
>              <includes>
>                 <include>commons-logging:commons-logging</include>
>                 <include>commons-cli:commons-cli</include>
>              <includes>
>              <!-- excludes>
>                 <exclude></exclude>
>              <excludes-->
>            </dependencies>
>
> what is the main intent of the includes or excludes ?


To give your fine control over the dependencies you want to package in your
webstart package. By default the plugin will take all relevant dependencies
(those taken from the POM + those resolved transitively).

At first, i added my application (the one that has to be distributed via
> webstart) as a dependency: then, it seems like I have to add in the
> includes
> block all its dependencies..but then what happen with transitive
> dependencies ?...


If you don't need to fine control your dependency list, don't use it.


> any one can clarify this ?


Hope that's clear...

Jerome