inject-maven-plugin
The Maven plugin inject-maven-plugin lets you inject Maven properties into your compiled code. Typical use case includes build info (version, build time stamp, SCM version etc.).
File Explorer
- dependabot.yml
- BuildInfo.java
- ExampleInjection.java
- InjectionTest.java
- pom.xml
- Injection.java
- MavenInjectMojo.java
- index.apt.vm
- usage.apt.vm
- site.xml
- MavenInjectMojoTest-pom.xml
- LICENSE
- pom.xml
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
javap
View Details ▼
javap
Disassemble class files and list them.
javap {{path/to/file1.class path/to/file2.class ...}}
Disassemble and list one or more `.class` files:
javap java.{{package}}.{{class}}
Disassemble and list a built-in class file:
javap -help
Display help:
mvn
View Details ▼
mvn
Apache Maven: build and manage Java-based projects.
mvn compile
Compile a project:
mvn package
Compile and package the compiled code in its distributable format, such as a `jar`:
mvn package {{[-D|--define]}} skipTests
Compile and package, skipping unit tests:
