Menu

ENORESOLVER Bower resolver not found

Issue

bower ENORESOLVER Bower resolver not found: bower-nexus3-resolver

Solution

  1. Uninstall the npm and clean the npm cache.
  2. Then reinstall the npm

References

Maven Build Lifecycle

There are three out-of-the-box/implicit build lifecycles that Apache Maven provides: clean, default and site. The clean lifecycle handles project cleaning, while the default(install) lifecycle handles your project deployment, and the site lifecycle handles the creation of your project's website. You can read more detail of these Lifecycle phases of Maven Site.

Skip Running Tests from Maven Build

There are multiple ways to skip the execution of the tests from a Maven project. So that at the time of build it doesn't compile the unit tests. Following are the steps using that you can skip the unit test compilation.

1. The first way is; while compiling or building the project using mvn install command. There are two commands that you can use on the command line to skip the tests running.

a. -DskipTests

b. -Dmaven.test.skip=true

2. Another way is to add the skipTests configuration in POM.xml file within the maven-surefire-plugin plugin. Below is the plugin code snippet for POM file.

     <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.12.4</version>
        <configuration>
          <skipTests>true</skipTests>
        </configuration>
      </plugin>

Reference

  1. Skipping Tests - Maven