Skip to content

Commit 0d27c5f

Browse files
mshabarovclaude
andauthored
fix: satisfy artifact deployment metadata requirements (#2259)
Add description, url, scm, and developers to load-tests so its deployed POM passes Sonatype validation. Attach sources and javadocs to testbench-loadtest-support and testbench-converter-plugin via maven-source-plugin (always-on) and maven-javadoc-plugin (release profile), matching the convention used by other deployable testbench modules. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e4a62bf commit 0d27c5f

3 files changed

Lines changed: 102 additions & 1 deletion

File tree

  • vaadin-testbench-loadtest

vaadin-testbench-loadtest/load-tests/pom.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,24 @@
1111
</parent>
1212

1313
<artifactId>load-tests</artifactId>
14-
<name>Load Tests</name>
14+
<name>Vaadin TestBench Load Tests</name>
1515
<packaging>pom</packaging>
16+
<description>Aggregator for Vaadin TestBench k6 load-test demo and integration test modules.</description>
17+
<url>https://vaadin.com</url>
18+
19+
<scm>
20+
<connection>scm:git:git://github.com/vaadin/testbench.git</connection>
21+
<developerConnection>scm:git:ssh://git@github.com/vaadin/testbench.git</developerConnection>
22+
<url>https://github.com/vaadin/testbench</url>
23+
</scm>
24+
25+
<developers>
26+
<developer>
27+
<name>Vaadin Ltd</name>
28+
<organization>Vaadin Ltd</organization>
29+
<organizationUrl>https://vaadin.com</organizationUrl>
30+
</developer>
31+
</developers>
1632

1733
<dependencyManagement>
1834
<dependencies>

vaadin-testbench-loadtest/testbench-converter-plugin/pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,51 @@
163163
<groupId>org.apache.maven.plugins</groupId>
164164
<artifactId>maven-compiler-plugin</artifactId>
165165
</plugin>
166+
<plugin>
167+
<groupId>org.apache.maven.plugins</groupId>
168+
<artifactId>maven-source-plugin</artifactId>
169+
<version>3.3.1</version>
170+
<executions>
171+
<execution>
172+
<id>attach-sources</id>
173+
<goals>
174+
<goal>jar</goal>
175+
</goals>
176+
</execution>
177+
</executions>
178+
</plugin>
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-javadoc-plugin</artifactId>
182+
<version>3.11.2</version>
183+
<configuration>
184+
<charset>UTF-8</charset>
185+
</configuration>
186+
</plugin>
166187
</plugins>
167188
</build>
168189

169190
<profiles>
191+
<profile>
192+
<id>release</id>
193+
<build>
194+
<plugins>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-javadoc-plugin</artifactId>
198+
<version>3.11.2</version>
199+
<executions>
200+
<execution>
201+
<id>attach-javadocs</id>
202+
<goals>
203+
<goal>jar</goal>
204+
</goals>
205+
</execution>
206+
</executions>
207+
</plugin>
208+
</plugins>
209+
</build>
210+
</profile>
170211
<!--
171212
Opt-in profile that wires up the maven-invoker IT pipeline.
172213
Activate with `-Pmaven-invoker-it`.

vaadin-testbench-loadtest/testbench-loadtest-support/pom.xml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,50 @@
9999
<groupId>org.apache.maven.plugins</groupId>
100100
<artifactId>maven-compiler-plugin</artifactId>
101101
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-source-plugin</artifactId>
105+
<version>3.3.1</version>
106+
<executions>
107+
<execution>
108+
<id>attach-sources</id>
109+
<goals>
110+
<goal>jar</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
</plugin>
115+
<plugin>
116+
<groupId>org.apache.maven.plugins</groupId>
117+
<artifactId>maven-javadoc-plugin</artifactId>
118+
<version>3.11.2</version>
119+
<configuration>
120+
<charset>UTF-8</charset>
121+
</configuration>
122+
</plugin>
102123
</plugins>
103124
</build>
125+
126+
<profiles>
127+
<profile>
128+
<id>release</id>
129+
<build>
130+
<plugins>
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-javadoc-plugin</artifactId>
134+
<version>3.11.2</version>
135+
<executions>
136+
<execution>
137+
<id>attach-javadocs</id>
138+
<goals>
139+
<goal>jar</goal>
140+
</goals>
141+
</execution>
142+
</executions>
143+
</plugin>
144+
</plugins>
145+
</build>
146+
</profile>
147+
</profiles>
104148
</project>

0 commit comments

Comments
 (0)