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

Richard Zowalla updated TOMEE-4438:
-----------------------------------
    Fix Version/s: 11.0.0
                   10.3.0

> Disable releases for apache-snapshot repo
> -----------------------------------------
>
>                 Key: TOMEE-4438
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4438
>             Project: TomEE
>          Issue Type: Bug
>          Components: Examples and Documentation, TomEE Build
>            Reporter: Attila Doroszlai
>            Priority: Major
>              Labels: snapshot-repo
>             Fix For: 11.0.0, 10.3.0
>
>
> Apache snapshot repository in {{tomee-webapp-archetype}}, in docs, and all 
> example projects should be restricted to snapshot artifacts.
> Need to add:
> {code}
> <releases>
>   <enabled>false</enabled>
> </releases>
> {code}
> {code:title=https://github.com/apache/tomee/blob/19452790a998628df0535b87148527008b1c84cb/maven/tomee-webapp-archetype/src/main/resources/archetype-resources/pom.xml#L155-L159}
>     <repository>
>       <id>apache-snapshot</id>
>       <name>Apache Snapshot Repository</name>
>       <url>https://repository.apache.org/content/groups/snapshots/</url>
>     </repository>
> {code}
> Sample example:
> {code:title=https://github.com/apache/tomee/blob/19452790a998628df0535b87148527008b1c84cb/examples/rest-example/pom.xml#L31-L44}
>   <repositories>
>     <repository>
>       <id>apache-m2-snapshot</id>
>       <name>Apache Snapshot Repository</name>
>       <url>https://repository.apache.org/content/groups/snapshots</url>
>     </repository>
>   </repositories>
>   <pluginRepositories>
>     <pluginRepository>
>       <id>apache-m2-snapshot</id>
>       <name>Apache Snapshot Repository</name>
>       <url>https://repository.apache.org/content/groups/snapshots</url>
>     </pluginRepository>
>   </pluginRepositories>
> {code}



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

Reply via email to