Coder Social home page Coder Social logo

parent's Introduction

Hi there, I'm Marc Wrobel, a developer from France ๐Ÿ‘‹

Github Linkedin StackOverflow Blog Mail

parent's People

Contributors

dependabot[bot] avatar marcwrobel avatar

Stargazers

 avatar

Watchers

 avatar  avatar

parent's Issues

Add cyclonedx-maven-plugin configuration

Add the following configuration for cyclonedx-maven-plugin :

      <plugin>
        <groupId>org.cyclonedx</groupId>
        <artifactId>cyclonedx-maven-plugin</artifactId>
        <version>${cyclonedx-maven-plugin.version}</version>
        <executions>
          <execution>
            <id>make-bom</id>
            <phase>package</phase>
            <goals>
              <goal>makeAggregateBom</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <outputName>${project.artifactId}-${project.version}-bom</outputName>
        </configuration>
      </plugin>

Change default goal to `verify`

Default goal is currently install. The verify goal has more meaning because usually maven is launched only to verify the build, not to install the artifact(s) in the local repository.

Set maven-site-plugin version

Plugin's version is inherited from the super-POM and must be set explicitly to avoid silent upgrades when maven is upgraded.

Activate `maven-enforcer-plugin` by default

Maven complains that maven-enforcer-plugin is not activated when running mvn versions:display-plugin-updates with Maven 3.9.

955 [INFO] Error stacktraces are turned on.
1034 [INFO] Scanning for projects...
1490 [INFO] 
1490 [INFO] ------------------------< fr.marcwrobel:parent >------------------------
1490 [INFO] Building parent 3.1.0-SNAPSHOT
1490 [INFO]   from pom.xml
1490 [INFO] --------------------------------[ pom ]---------------------------------
1498 [INFO] 
1499 [INFO] --- versions:2.15.0:display-plugin-updates (default-cli) @ parent ---
2188 [INFO] 
2188 [INFO] All plugins with a version specified are using the latest versions.
2188 [INFO] 
2188 [INFO] All plugins have a version specified.
2188 [INFO] 
2188 [WARNING] Project does not define minimum Maven version required for build, default is: 3.2.5
2188 [INFO] Plugins require minimum Maven version of: 3.5.4
2188 [INFO] 
2188 [ERROR] Project does not define required minimum version of Maven.
2188 [ERROR] Update the pom.xml to contain maven-enforcer-plugin to
2188 [ERROR] force the Maven version which is needed to build this project.
2188 [ERROR] See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
2188 [ERROR] Using the minimum version of Maven: 3.5.4
2188 [INFO] 
2189 [INFO] ------------------------------------------------------------------------
2189 [INFO] BUILD SUCCESS
2189 [INFO] ------------------------------------------------------------------------
2190 [INFO] Total time:  1.217 s

It would be a good idea to activate it by default.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.