You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/29 12:57:00 UTC

[jira] [Updated] (MENFORCER-410) SNAPSHOT versions of Custom rules appear to only come from repository.apache.org

     [ https://issues.apache.org/jira/browse/MENFORCER-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MENFORCER-410:
-------------------------------------
    Environment: 
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Program Files (x86)\apache-maven-3.6.1\bin\..
Java version: 11.0.3, vendor: Amazon.com Inc., runtime: C:\Program Files\Java\jdk11.0.3
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

  was:
{code}
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Program Files (x86)\apache-maven-3.6.1\bin\..
Java version: 11.0.3, vendor: Amazon.com Inc., runtime: C:\Program Files\Java\jdk11.0.3
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{code}


> SNAPSHOT versions of Custom rules appear to only come from repository.apache.org
> --------------------------------------------------------------------------------
>
>                 Key: MENFORCER-410
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-410
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Plugin
>    Affects Versions: 3.0.0-M3
>         Environment: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: C:\Program Files (x86)\apache-maven-3.6.1\bin\..
> Java version: 11.0.3, vendor: Amazon.com Inc., runtime: C:\Program Files\Java\jdk11.0.3
> Default locale: en_GB, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>            Reporter: Rod Widdowson
>            Priority: Major
>
> We use a customer build enforcer in our build & CI process.
> It is configured in the canonical fashion
> {code:java}
>             <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-enforcer-plugin</artifactId>
>                 <dependencies>
>                     <dependency>
>                         <groupId>net.shibboleth.maven.enforcer.rules</groupId>
>                         <artifactId>maven-dist-enforcer</artifactId>
>                         <version>3.0.0</version>
>                     </dependency>
>                 </dependencies>
>                 <executions>
> ..... {code}
> This collects the plugin from our repositories as defined with {{<repositories/>}}
> I recently wanted to start running from a SNAPSHOT version.  If I build this locally everything works fine.  But if I delete it from my local repository and start again it appears (from watching the denug outto want to only load the enforcer plugin from {{repository.apache.org}}
> This feels like a bug but I may have missed some configuration somewhere.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)