reficio / p2-maven-plugin

Maven3 plugin that automates the third-party dependency management for Eclipse RCP
http://reficio.org
230 stars 97 forks source link

Override defaults #154

Open bjmi opened 4 years ago

bjmi commented 4 years ago

At the moment

<artifact>
    <id>commons-io:commons-io:2.1</id>
</artifact>

will be extended with defaults to:

<artifact>
    <id>commons-io:commons-io:2.1</id>
    <transitive>true</transitive>
    <source>false</source>
    <override>false</override>
    <singleton>false</singleton>
    <instructions>
        <Import-Package>*;resolution:=optional</Import-Package>
        <Export-Package>*</Export-Package>
    </instructions>
    <excludes/>
</artifact>

It would be useful to override some defaults e.g. setting transitive to false and source to true by default.

sparsick commented 3 years ago

Relates to #132 #267