maven-hpi-plugin | Maven plugin for building Jenkins plugins | Plugin library
kandi X-RAY | maven-hpi-plugin Summary
kandi X-RAY | maven-hpi-plugin Summary
Maven plugin to build Jenkins plugins. See the developer guide for details.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets the manifest attributes .
- Builds the webapp .
- Recursively walk the tag libs directory .
- Checks if a web app is stale .
- Extracts the value from the given properties .
- Configure the plugin classloader .
- Build libraries .
- Find the jenkins version .
- Filter the dependency tree .
- Clears the input buffer .
maven-hpi-plugin Key Features
maven-hpi-plugin Examples and Code Snippets
mvn -Prun-its clean install
# Find some plugin using the 2.x parent POM and run:
mvn -f ../some-plugin -Dhpi-plugin.version=2.XXX-SNAPSHOT -DskipTests -DjenkinsHome=/tmp/sanity-check-maven-hpi-plugin clean package hpi:run
mvn -Prun-its mrm:start inv
Community Discussions
Trending Discussions on maven-hpi-plugin
QUESTION
I have followed the official tutorial for creating Jenkins plugins: I have run mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create
to generate initial POM
Then I added guava as a dependency.
However, when I perform mvn package
I get:
ANSWER
Answered 2017-Jul-09 at 13:58It was enough to add the following property to POM:
QUESTION
I want to update jenkins selenium plugin (latest version: 2.53.1). I can configure selenium hub and nodes outside of jenkins and run my automated tests with latest browser versions (firefox 51.0.1, chrome 55.0.2883.87) successfully but I just want to use jenkins as hub.
So that's why I'm trying to integrate the newest version of the selenium-server-standalone (3.0.1) into Jenkins but it's not working.
Getting this error messages:
...ANSWER
Answered 2017-Feb-17 at 03:48The root cause is simple : The Jenkins plugin's parent pom enforces by default to JDK7. Selenium libraries have moved on to using JDK8. That explains the error message arising from the enforcer plugin.
Here's how the enforcer plugin has been configured in the parent pom
7
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install maven-hpi-plugin
You can use maven-hpi-plugin like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the maven-hpi-plugin component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page