maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Gaspari <samuel.gasp...@gmail.com>
Subject Always get the false value when calling org.apache.maven.shared.invoker.InvovationRequest.isUpdateSnapshots()
Date Tue, 24 Jan 2017 12:43:27 GMT
Hello,
Using the org.apache.maven.shared.invoker.InvovationRequest leads to get
always the false value, even if the "-U" or "--update-snapshots" option is
set.

        InvocationRequest request = new DefaultInvocationRequest();
        updateSnapshots = request.isUpdateSnapshots();

Posts @http://maven.40175.n5.nabble.com/Plugin-Development-
Injection-of-component-td5747607.html don't explain exactly if it is
possible to get the value of an option, it seems to be used to set the
value of an option.

Thanks a lot for your help.

Regards.

Samuel Gaspari

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message