Code Monkey home page Code Monkey logo

Comments (5)

gmitaros avatar gmitaros commented on September 26, 2024

Did youmanage hot to fix it?
It doesn't work to me also

from getdown-maven-plugin.

gmitaros avatar gmitaros commented on September 26, 2024

In uresources how i add platfrom?

from getdown-maven-plugin.

rockfireredmoon avatar rockfireredmoon commented on September 26, 2024

Hi,

The resources implementation was not very complete. It should now work as intended in version 0.9.1, now available at maven central. The README.md has been updated with some examples on how to use, but taking your case above as an example, the syntax would be something like

<nresources> 
     <nresource>
           <platform>linux-amd64</platform>
           <path>native/liblwjgl64.so</path>
     </nresource>
</nresources>
<resources>
    <resource>
        <path>mytest.jar</path>
    </resource>
</resources>

You can use this for <resources>, <nresources>, <uresources> and <xresources>. There are additional tags for prefix and destination to adjust the output paths. <path> may be any file or directory (in which case the directory will be recursively scanned). Directories may be filtered using <include> and <exclude> tags using ant-style wildcards. If you want to match multiple platforms, use <platforms> and <platform> instead of just <platform>

Edit:

Note that only <nresources> supports the and tags. Support for more general Platform Specific Options will come in the next version.

from getdown-maven-plugin.

rockfireredmoon avatar rockfireredmoon commented on September 26, 2024

In uresources how i add platfrom?

Sadly this will not work with the above changes. Only nresources supports this. However, I intend to fix this by adding more general platform specific options (it's on the list on limitations on the home page). This should be ready at some point this weekend. If not, I will add support for platforms to uresources.

from getdown-maven-plugin.

gmitaros avatar gmitaros commented on September 26, 2024

In uresources how i add platfrom?

Sadly this will not work with the above changes. Only nresources supports this. However, I intend to fix this by adding more general platform specific options (it's on the list on limitations on the home page). This should be ready at some point this weekend. If not, I will add support for platforms to uresources.

Did you manage to update functionality for uresources?

from getdown-maven-plugin.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.