Equivalent of mvn dependency:tree in Grails
How about grails dependency-report (docs)
How about grails dependency-report (docs)
Another option is mvn help:all-profiles, which also list inherited profiles. Displays a list of available profiles under the current project. Note: it will list all profiles for a project. If a profile comes up with a status inactive then there might be a need to set profile activation switches/property. More details in Maven’s help plugin … Read more
Answer recommended by CI/CD Collective
There is a way of running a test in maven from another jar. from maven-surefire-plugin version 2.15 you can tell maven to scan your test jars for tests and run them. You don’t need to extract the tests jar. Just add a dependency to your test jar and: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <dependenciesToScan> <dependency>test.jar.group:test.jar.artifact.id</dependency> </dependenciesToScan> … Read more
A possible solution would be to purge your local repository, tell Maven to download every dependencies and plugin dependencies of your project and make a ZIP of that. To purge your local repository, you can simply delete the folder {user.home}/.m2/repository. Then, you can use the dependency:go-offline goal: Goal that resolves all project dependencies, including plugins … Read more
You need add this dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> then it will work.
Rename test files from **Tests.java to **Test.java or add the following configuration to pom.xml <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.14.1</version> <configuration> <includes> <include>**/*Tests.java</include> </includes> </configuration> </plugin>
This means that javolution-5.4.2 jar in your local repository is corrupt. I checked the maven repo for the 5.4.2 version on this link. You can manually copy the jar from there to your local repository to see if that helps. You can also try the following steps:- Delete the jar from your local repository C:\Users\User.IVSTEL1\.m2\repository\javolution\ … Read more
In order to resolve the parent project, these possible sources are checked: relativePath local repository remote repositories The relative path, if not given explicitly, defaults to .., i.e. the pom in the parent directory of the current project. So Maven checks whether a) there is a pom file in that directory and b) that pom … Read more