File tree Expand file tree Collapse file tree
src/main/java/org/codejive/jpm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -423,15 +423,12 @@ abstract static class DoAlias implements Callable<Integer> {
423423 @ Override
424424 public Integer call () throws Exception {
425425 try {
426- // Combine regular args and unmatched args for pass-through
427- ArrayList <String > allArgs = new ArrayList <>(doAliasMixin .args );
428- allArgs .addAll (unmatchedArgs );
429-
426+ // Use only unmatched args for pass-through to preserve ordering
430427 return Jpm .builder ()
431428 .directory (doAliasMixin .depsMixin .directory )
432429 .noLinks (doAliasMixin .depsMixin .noLinks )
433430 .build ()
434- .executeAction (actionName (), allArgs );
431+ .executeAction (actionName (), unmatchedArgs );
435432 } catch (Exception e ) {
436433 System .err .println (e .getMessage ());
437434 return 1 ;
@@ -496,12 +493,7 @@ static class DepsMixin {
496493 static class DoAliasMixin {
497494 @ Mixin DepsMixin depsMixin ;
498495
499- @ Parameters (
500- paramLabel = "arguments" ,
501- description = "Optional arguments to be passed to the action" ,
502- arity = "0..*" ,
503- index = "0..*" )
504- ArrayList <String > args = new ArrayList <>();
496+ // Remove @Parameters - let @Unmatched in DoAlias handle everything
505497 }
506498
507499 static class ArtifactsMixin {
You can’t perform that action at this time.
0 commit comments