Hi Maveners,

Greetings from Apache Olingo :)

I am working with the shade plugin to create ueber jar for Android use case. 
The plugin is cool and technically everything is fine. But I am having problems 
to get the LICENSE and NOTICE files included as required by Apache policies.

I tried out all the Shade features for transforming, merging and filtering 
these files. At the end I don't get what I want. So my basic question is:

Can I filter out META-INF/LICENSE.* and META-INF/NOTICE.* files from all 
dependencies and add my handcrafted META-INF/LICENSE and META-INF/NOTICE files 
as part of my own module to the ueber jar?

If I add a filter like this:


  <filters>

    <filter>

      <artifact>*:*</artifact>

      <excludes>

        <exclude>META-INF/**</exclude>

      </excludes>

    </filter>

  </filters>


Then I don't get my own files in.

Any hint is welcome.

Greetings,
Stephan

[1] http://olingo.apache.org

Reply via email to