question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Maven plugin: improve documentation by mentioning how to run it

See original GitHub issue

I see that both pages (https://github.com/jeremylong/DependencyCheck#maven-plugin and https://jeremylong.github.io/DependencyCheck/dependency-check-maven/) only mentions how to configure a plugin but they don’t say how to run it.

I see that we bind check goal but it’s not clear to what phase it was bind. I tried mvn compile and mvn package but the plugin wasn’t triggered.

Also I just to try it and I’m looking for a way to run it as-is, without binding. mvn dependency-check-maven:check didn’t work to me. Could you mention that it could be run by command mvn org.owasp:dependency-check-maven:check ?

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jeremylongcommented, Jan 5, 2018

The check and aggregate goals are bound to the verify phase by default. This can be changed via configuration (note the addition of the phase element to the execution):

<plugin>
  <groupId>org.owasp</groupId>
  <artifactId>dependency-check-maven</artifactId>
  <executions>
    <execution>
      <phase>test</phase>
      <goals>
        <goal>check</goal>
      </goals>
    </execution>
  </executions>
</plugin>
0reactions
lock[bot]commented, Sep 27, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guide to the Plugin Documentation Standard - Apache Maven
The standard is not a set of rules but a guide to help plugin developers document their plugins better, for the benefit of...
Read more >
How to Create a Maven Plugin - Baeldung
In this tutorial, we'll be quite practical and will show step-by-step how to create a Maven plugin from scratch. We'll also show how...
Read more >
Documentation for makeBom and makeAggregateBom #13
12:44:36 [INFO] --- cyclonedx-maven-plugin:1.3.1:makeAggregateBom ... BUILD-1634 Ensure cyclonedx only runs once for the project
Read more >
Run/Debug Configuration: Maven | IntelliJ IDEA Documentation
Create a run/debug Maven configuration · From the main menu, select Add Configuration. · Specify a name of your configuration in the Name...
Read more >
Maven Publish Plugin - Gradle User Manual
To use the Maven Publish Plugin, include the following in your build script: ... The API documentation for MavenPublication has additional code samples....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found