libyear-maven-plugin icon indicating copy to clipboard operation
libyear-maven-plugin copied to clipboard

Plugin failure when using interpolated versions

Open mfoo opened this issue 2 years ago • 1 comments

I've seen a failure in a multi-module project with this pom structure:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>groupId</groupId>
            <artifactId>artifactID</artifactId>
            <version>${project.version}</version>
        </dependency>

The version is defined in the parent project.

EDIT: Output is as follows:

[ERROR] Failed to fetch release date for groupId:artifactId ${project.version}: Illegal character in query at index 72: https://search.maven.org/solrsearch/select?q=g:groupId+AND+a:artifactId+AND+v:${project.version}&wt=json

mfoo avatar Jan 15 '23 12:01 mfoo