[
https://issues.apache.org/jira/browse/BEAM-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-7493:
----------------------------------
Description:
Steps to reproduce:
{code}
./gradlew -Prelease -Ppublishing
:sdks:java:testing:nexmark:publishMavenJavaPublicationTotestPublicationLocalRepository
{code}
and if you inspect the pom you will see
{code}
<dependency>
<groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-testing-test-utils</artifactId>
...
{code}
It appears to be constructed from the directories, but this (and also
load-tests) in the {{testing}} directory have their archive base name
overridden:
https://github.com/apache/beam/blob/master/sdks/java/testing/test-utils/build.gradle#L20
So after publication, this will result in a dependency not found error.
was:
Steps to reproduce:
{code}
./gradlew -Prelease -Ppublishing
:sdks:java:testing:nexmark:publishMavenJavaPublicationTotestPublicationLocalRepository
{code}
and if you inspect the pom you will see
{code}
<dependency>
<groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-testing-test-utils</artifactId>
...
<code>
It appears to be constructed from the directories, but this (and also
load-tests) in the {{testing}} directory have their archive base name
overridden:
https://github.com/apache/beam/blob/master/sdks/java/testing/test-utils/build.gradle#L20
So after publication, this will result in a dependency not found error.
> beam-sdks-testing-nexmark produces corrupt pom.xml
> --------------------------------------------------
>
> Key: BEAM-7493
> URL: https://issues.apache.org/jira/browse/BEAM-7493
> Project: Beam
> Issue Type: Bug
> Components: examples-nexmark
> Affects Versions: 2.13.0
> Reporter: Kenneth Knowles
> Assignee: Michael Luckey
> Priority: Blocker
>
> Steps to reproduce:
> {code}
> ./gradlew -Prelease -Ppublishing
> :sdks:java:testing:nexmark:publishMavenJavaPublicationTotestPublicationLocalRepository
> {code}
> and if you inspect the pom you will see
> {code}
> <dependency>
> <groupId>org.apache.beam</groupId>
> <artifactId>beam-sdks-java-testing-test-utils</artifactId>
> ...
> {code}
> It appears to be constructed from the directories, but this (and also
> load-tests) in the {{testing}} directory have their archive base name
> overridden:
> https://github.com/apache/beam/blob/master/sdks/java/testing/test-utils/build.gradle#L20
> So after publication, this will result in a dependency not found error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)