[ 
https://issues.apache.org/jira/browse/MSCRIPTING-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681285#comment-17681285
 ] 

Hüseyin Kartal commented on MSCRIPTING-11:
------------------------------------------

I understand. But credentials can be encrypted in settings if it is a security 
issue. Anyways i don't rely on "settings". But i need the current maven 
lifecycle phase which is available in the mojoExecution. Is it ok to add that.

Currently i want to migrate an ant build to maven and have two usecases where i 
want to use the scripting plugin.
 # I need to call some java classes for generation of sources and resources. 
For this i want to determine the current lifecycle phase of the maven 
execution. And because i don't want to fragment the script i need the 
mojoExecution for that.
 # Some artifacts are not available in repositories. And because i don't want 
to uses dependencies in system scope i install them within a script into the 
local repository.

> Lifecycle
> ---------
>
>                 Key: MSCRIPTING-11
>                 URL: https://issues.apache.org/jira/browse/MSCRIPTING-11
>             Project: Maven Scripting
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Hüseyin Kartal
>            Priority: Major
>              Labels: features, pull-request-available
>
> Make the current maven lifecycle phase available in the groovy script.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to