Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Commit 290dff3

Browse files
authored
Add nexus requirements (#8)
1 parent 76252fb commit 290dff3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<description>
1515
Maven extension to observe Maven builds with distributed traces using OpenTelemetry SDK
1616
</description>
17+
<url>https://github.com/elastic/opentelemetry-maven-extension</url>
1718
<properties>
1819
<java.level>8</java.level>
1920
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -243,6 +244,25 @@
243244
<configuration>
244245
<source>8</source>
245246
</configuration>
247+
<executions>
248+
<execution>
249+
<goals>
250+
<goal>jar</goal>
251+
</goals>
252+
</execution>
253+
</executions>
254+
</plugin>
255+
<plugin>
256+
<artifactId>maven-source-plugin</artifactId>
257+
<executions>
258+
<execution>
259+
<id>generate-source-jar</id>
260+
<phase>package</phase>
261+
<goals>
262+
<goal>jar-no-fork</goal>
263+
</goals>
264+
</execution>
265+
</executions>
246266
</plugin>
247267
<plugin>
248268
<artifactId>maven-release-plugin</artifactId>
@@ -258,10 +278,18 @@
258278
</plugins>
259279
<pluginManagement>
260280
<plugins>
281+
<plugin>
282+
<artifactId>maven-javadoc-plugin</artifactId>
283+
<version>3.2.0</version>
284+
</plugin>
261285
<plugin>
262286
<artifactId>maven-release-plugin</artifactId>
263287
<version>2.5.3</version>
264288
</plugin>
289+
<plugin>
290+
<artifactId>maven-source-plugin</artifactId>
291+
<version>3.2.0</version>
292+
</plugin>
265293
<plugin>
266294
<artifactId>maven-gpg-plugin</artifactId>
267295
<version>1.6</version>

0 commit comments

Comments
 (0)