Skip to content

Potential version mismatch between Version class and pom.xml #184

Open
@xinhuagu

Description

@xinhuagu

Description

If I understand correctly, the com.google.adk.Version class includes a version number intended to align with the project version defined in pom.xml. Currently, there appears to be a discrepancy between these two version numbers.

package com.google.adk;

/** Holding class for the version of the Java ADK. */
public final class Version {
  public static final String JAVA_ADK_VERSION = "0.1.0";

  private Version() {}
}

in current pom.xml

  <modelVersion>4.0.0</modelVersion>
  <groupId>com.google.adk</groupId>
  <artifactId>google-adk</artifactId>
  <version>0.1.1-SNAPSHOT</version><!-- {x-version-update:google-adk:current} -->
  <packaging>jar</packaging>
  <name>Agent Development Kit</name>

Possible solution

automatically synchronize the Version class with the pom.xml project version during the build phase

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions