logo Pluto Remote Resources Maven Plugin

homepage: portals.apache.org/pluto
fresh index:
last release: 1 decade ago, first release: 1 decade ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
pluto:bundle (phase: generate-resources)

Bundle up the resources that should be considered as a remote-resource

pluto:process (phase: generate-resources)

Pull down resourceBundles containing remote resources and process the resources contained inside the artifact. Resources that end in ".vm" are treated as velocity templates. For those, the ".vm" is stripped off for the final artifact name and it's fed through velocity to have properties expanded, conditions processed, etc... Resources that don't end in ".vm" are copied "as is".

Often used code snippets:

<plugin>
  <groupId>org.apache.pluto</groupId>
  <artifactId>pluto-resources-plugin</artifactId>
  <executions>
    <execution>
      <goals>
        <goal>process</goal>
      </goals>
      <configuration>
        <resourceBundles>
          <resourceBundle>org.apache.pluto:pluto-resources:${pom.parent.version}</resourceBundle>
        </resourceBundles>
      </configuration>
    </execution>
  </executions>
</plugin>

© Jiri Pinkas 2015 - 2017. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.