You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/12/14 15:11:00 UTC

[jira] [Created] (TOMEE-4438) Disable releases for apache-snapshot repo

Attila Doroszlai created TOMEE-4438:
---------------------------------------

             Summary: 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


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)