[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201680#comment-17201680 ] Slawomir Jaranowski commented on MNG-5984: -- I think, cause problem for this is that evaluation for profile activation is done during project model building. It happen after settings process and after extensions is loaded. During settings process only activeProfiles tags is regognized. So repositories from profile settings is not included. > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Priority: Minor > Fix For: 3.7.x-candidate > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605546#comment-16605546 ] Francois MAROT commented on MNG-5984: - I can confirm the problem is still in Maven 3.5.3: relying on "activeByDefault" to fetch extensions from the repo is KO but referencing the profile in the "activeProfiles" section enables Maven to find the extension. Thanks for this bug request because without it I'd be still wondering why it was not working as expected... > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Priority: Minor > Fix For: 3.6.x-candidate > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256719#comment-16256719 ] Christian Schulz commented on MNG-5984: --- Still open in Maven 3.5.2. It also ignores the mirror in a settings.xml, I have to add the pluginRepository to get the build extension resolved. For me it is not clear, why pluginRepository works and not normal repository, because I can't find any hint, that the build extensions are resolved via pluginRepository settings. > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Priority: Minor > Fix For: 3.5.x-candidate > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16026397#comment-16026397 ] Michael Osipov commented on MNG-5984: - [~Gohla], do you think you could bundle up a sample project for this? I'd like to turn this into an IT. > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Priority: Minor > Fix For: 3.5.1-candidate > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942018#comment-15942018 ] Christian Schulte commented on MNG-5984: Issue is fixed in the master branch of [my private maven repository on github|https://github.com/ChristianSchulte/maven/tree/master]. When interested, you can cherry pick the commit to your own repository and create a pull request for the apache master branch with just this commit yourself from there. > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Priority: Minor > Fix For: 3.5.1-candidate > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170037#comment-15170037 ] Hudson commented on MNG-5984: - SUCCESS: Integrated in maven-3.x #1252 (See [https://builds.apache.org/job/maven-3.x/1252/]) [MNG-5984] Maven core extension resolution ignores repositories from (schulte: rev 5a4d54810378e0abf28d7cc6768d74d4d3a5cc2b) * maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Assignee: Christian Schulte >Priority: Minor > Fix For: 3.4.0 > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169825#comment-15169825 ] Hudson commented on MNG-5984: - SUCCESS: Integrated in maven-3.x #1251 (See [https://builds.apache.org/job/maven-3.x/1251/]) [MNG-5984] Maven core extension resolution ignores repositories from (schulte: rev 62374f51fd05b233fc34e39c294322fa3823e4d7) * maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java * maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Assignee: Christian Schulte >Priority: Minor > Fix For: 3.4.0 > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169403#comment-15169403 ] Hudson commented on MNG-5984: - SUCCESS: Integrated in maven-3.x #1250 (See [https://builds.apache.org/job/maven-3.x/1250/]) [MNG-5984] Maven core extension resolution ignores repositories from (schulte: rev c940b84107d6df72d625529a7df3402ef6b4e12b) * maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java * maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Assignee: Christian Schulte >Priority: Minor > Fix For: 3.4.0 > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168709#comment-15168709 ] Gabriël Konat commented on MNG-5984: Yes, it is fixed in the latest 3.4.0-SNAPSHOT, thanks! > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Assignee: Christian Schulte >Priority: Minor > Fix For: 3.4.0 > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-5984) Maven core extension resolution ignores repositories from activeByDefault profiles in settings.xml
[ https://issues.apache.org/jira/browse/MNG-5984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15167655#comment-15167655 ] Hudson commented on MNG-5984: - SUCCESS: Integrated in maven-3.x #1249 (See [https://builds.apache.org/job/maven-3.x/1249/]) [MNG-5984] Maven core extension resolution ignores repositories from (schulte: rev 425289c5e21a822dc150e75fc03abcaf61473900) * maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java > Maven core extension resolution ignores repositories from activeByDefault > profiles in settings.xml > -- > > Key: MNG-5984 > URL: https://issues.apache.org/jira/browse/MNG-5984 > Project: Maven > Issue Type: Bug > Components: Profiles, Settings >Affects Versions: 3.3.9 >Reporter: Gabriël Konat >Assignee: Christian Schulte >Priority: Minor > Fix For: 3.4.0 > > > When building a project with a core extension in {{.mvn/extensions.xml}}, > where the core extension is not installed locally but needs to be retrieved > from a remote repository, profiles from {{settings.xml}} with repositories > which are {{true}}, are ignored, failing > the resolution of the core extension. > If the profile is activated from within an {{activeProfiles}} section, they > are not ignored and resolution succeeds. > Concrete example: > {code:xml|title=.mvn/extensions.xml} > > > > org.metaborg > spoofax-maven-plugin-pomless > 2.0.0-SNAPSHOT > > > {code} > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > true > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > {code} > Results in failed resolution: > {code:title=mvn -Dmaven.repo.local=.cleanmvnrepo clean verify} > [WARNING] The POM for > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT is missing, no > dependency information available > [WARNING] Failed to read extensions descriptor > /Users/gohla/spoofax/master/repo/spoofax-releng/sdf/org.metaborg.meta.lang.sdf/.mvn/extensions.xml: > Plugin org.metaborg:spoofax-maven-plugin-pomless:2.0.0-SNAPSHOT or one of > its dependencies could not be resolved: Could not find artifact > org.metaborg:spoofax-maven-plugin-pomless:jar:2.0.0-SNAPSHOT > {code} > Whereas with the following settings file it succeeds to resolve the core > extension: > {code:xml|title=~/.m2/settings.xml} > >xmlns="http://maven.apache.org/SETTINGS/1.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 > http://maven.apache.org/xsd/settings-1.0.0.xsd"; > > > > > add-metaborg-snapshot-repos > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > metaborg-snapshot-repo > > http://artifacts.metaborg.org/content/repositories/snapshots/ > > false > > > true > > > > > > > add-metaborg-snapshot-repos > > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)