New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

de.matrixweb:package-json-maven-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

de.matrixweb:package-json-maven-plugin

This mojo reads a package.json file and stores the name and version fields as properties in the maven build process.

  • 0.0.2
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

package-json-maven-plugin

This mojo reads a package.json file and stores the name and version fields as properties in the maven build process. This could be useful e.g. to name build artifacts with package.json name and version.

Configuration

<build>
  <plugins>
    <plugin>
      <groupId>de.matrixweb</groupId>
      <artifactId>package-json-maven-plugin</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <executions>
        <execution>
          <goals>
            <goal>package-json</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

After executing this goal the properties package.json.name and package.json.version are defined.

Usage

For example name the main build artifacts of a maven build with this properties:

<build>
  <finalName>${package.json.name}-${package.json.version}</finalName>
</build>

FAQs

Package last updated on 01 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc