You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/05/14 12:22:00 UTC

[jira] [Commented] (MINVOKER-253) Sub Modules do not respect localRepositoryPath

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

Slawomir Jaranowski commented on MINVOKER-253:
----------------------------------------------

I cant reproduce with example project (commit 3e70458)

I have in target - as expected:

{code}
target/it-repo/org/apache/sling/
├── maven-sling-plugin
├── org.apache.sling.api
├── org.apache.sling.feature
├── org.apache.sling.feature.cpconverter
├── org.apache.sling.feature.modelconverter
├── org.apache.sling.models.api
├── org.apache.sling.provisioning.model
├── sling
├── sling-bundle-parent
├── sling-feature-converter-maven-plugin
├── sling-feature-converter-maven-plugin-test-no-param
├── sling-feature-converter-maven-plugin-test-no-param.core
├── sling-feature-converter-maven-plugin-test-no-param.ui.apps
├── sling-feature-converter-maven-plugin-test-parent
├── sling-feature-converter-maven-plugin-test-target-mode
├── sling-feature-converter-maven-plugin-test-target-mode.core
├── sling-feature-converter-maven-plugin-test-target-mode.fm.launcher
├── sling-feature-converter-maven-plugin-test-target-mode.ui.apps
├── sling-feature-converter-maven-plugin-test-with-param
├── sling-feature-converter-maven-plugin-test-with-param.core
├── sling-feature-converter-maven-plugin-test-with-param.ui.apps
├── sling-maven-plugin
└── sling-maven-plugin.parent
{code}

and in local repo:

{code}
~/.m2/repository/org/apache/sling/
├── apache-sling-jar-resource-bundle
├── org.apache.sling.feature
├── org.apache.sling.feature.cpconverter
├── org.apache.sling.feature.modelconverter
├── org.apache.sling.provisioning.model
├── sling
└── sling-bundle-parent

{code}



> Sub Modules do not respect localRepositoryPath
> ----------------------------------------------
>
>                 Key: MINVOKER-253
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-253
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: Maven 3.6.3, Java 1.8, Mac OSX 10.14.6
>            Reporter: Andreas Schaefer
>            Priority: Major
>
> I use the invoker to run IT tests of our maven plugin and in these tests I use sub modules like core and ui.apps. When settings localRepositoryPath to avoid adding IT tests artifacts to my local Maven repo the pom/artifact of pom called by the invoker will not be installed but the sub modules still are.
> An example can be found at [https://github.com/apache/sling-feature-converter-maven-plugin] .



--
This message was sent by Atlassian Jira
(v8.20.7#820007)