Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Maven POM missing inceptionYear #188

Closed
prudhvigodithi opened this issue Feb 6, 2024 · 1 comment · Fixed by #190
Closed

[BUG] Maven POM missing inceptionYear #188

prudhvigodithi opened this issue Feb 6, 2024 · 1 comment · Fixed by #190
Assignees
Labels
bug Something isn't working untriaged v2.12.0

Comments

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Feb 6, 2024

What is the bug?
The pom file generate missing inceptionYear, without inceptionYear the maven publish can be rejected when published to central maven. For more information please check the issue opensearch-project/opensearch-build#3638 which happened in past. Also refer opensearch-project/opensearch-build#2928.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opensearch.plugin</groupId>
  <artifactId>opensearch-skills</artifactId>
  <version>2.12.0.0-SNAPSHOT</version>
  <packaging>zip</packaging>
  <name>opensearch-skills</name>
  <description>OpenSearch Skills</description>
  <licenses>
    <license>
      <name>The Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>OpenSearch</name>
      <url>https://github.com/opensearch-project/skills</url>
    </developer>
  </developers>
  <url>https://github.com/opensearch-project/skills</url>
  <scm>
    <url>https://github.com/opensearch-project/skills</url>
  </scm>
</project>

Refer the sample pom file: https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/opensearch-job-scheduler/2.12.0.0-SNAPSHOT/opensearch-job-scheduler-2.12.0.0-20240206.180956-15.pom

Please note this could be a blocker for 2.12.0 release once the RC is finalized.
opensearch-project/opensearch-build#4115

@prudhvigodithi prudhvigodithi added bug Something isn't working untriaged v2.12.0 labels Feb 6, 2024
@prudhvigodithi
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged v2.12.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants