[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: Re: When does a Maven plugin uses the POM in the current directory?
From: "Oliver B. Fischer" <o.b.fischer () swe-blog ! net>
Date: 2018-06-16 7:13:40
Message-ID: c48f9ee1-0d4e-fe2d-7877-04da256b36cf () swe-blog ! net
[Download RAW message or body]
Thank you all for your support. Now it works as I need it.
Am 12.06.18 um 17:20 schrieb Oliver B. Fischer:
> Dear all,
>
> I use the Versions Maven Plugin to check for updates of my dependencies.
> Therefore I added the following lines to my pom.xml:
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>versions-maven-plugin</artifactId>
> <version>${versions-plugin.version}</version>
> <configuration>
> <rulesUri>classpath:///rules.xml</rulesUri>
> </configuration>
> <dependencies>
> <dependency>
> <groupId>versionrules</groupId>
> <artifactId>versionrules</artifactId>
> <version>1-SNAPSHOT</version>
> </dependency>
> </dependencies>
> </plugin>
>
> But this configuration is not used if I run the Versions Maven Plugin in
> the same directory as the pom.xml. The only way to my own configuration
> is to put this plugin configuration in a profil and execute this profil
> during the Maven run.
>
> Is there a way to run the Versions plugin on the commandline and to
> configure it via the pom.xml?
>
> Bye,
>
> Oliver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic