Skip to content

Commit 859060a

Browse files
authored
Merge pull request #3893 from swagger-api/jakarta-sources-javadoc
Jakarta modules sources and javadocs
2 parents 6941fed + a0676dc commit 859060a

File tree

1 file changed

+51
-0
lines changed
  • modules/swagger-project-jakarta

1 file changed

+51
-0
lines changed

modules/swagger-project-jakarta/pom.xml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,61 @@
104104
</execution>
105105
</executions>
106106
</plugin>
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-source-plugin</artifactId>
110+
<version>3.2.1</version>
111+
<executions>
112+
<execution>
113+
<id>attach-sources</id>
114+
<phase>verify</phase>
115+
<goals>
116+
<goal>jar-no-fork</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
121+
<plugin>
122+
<groupId>org.apache.maven.plugins</groupId>
123+
<artifactId>maven-javadoc-plugin</artifactId>
124+
<version>3.1.1</version>
125+
<configuration>
126+
<aggregate>true</aggregate>
127+
<source>1.8</source>
128+
<encoding>UTF-8</encoding>
129+
<maxmemory>1g</maxmemory>
130+
<links>
131+
<link>http://docs.oracle.com/javase/8/docs/api</link>
132+
</links>
133+
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
134+
</configuration>
135+
<executions>
136+
<execution>
137+
<id>attach-javadocs</id>
138+
<phase>verify</phase>
139+
<goals>
140+
<goal>jar</goal>
141+
</goals>
142+
</execution>
143+
</executions>
144+
</plugin>
107145
<plugin>
108146
<groupId>org.apache.maven.plugins</groupId>
109147
<artifactId>maven-jar-plugin</artifactId>
110148
<version>3.2.0</version>
149+
<executions>
150+
<execution>
151+
<id>empty-javadoc-jar</id>
152+
<phase>package</phase>
153+
<goals>
154+
<goal>jar</goal>
155+
</goals>
156+
<configuration>
157+
<classifier>javadoc</classifier>
158+
<classesDirectory>${basedir}/javadoc</classesDirectory>
159+
</configuration>
160+
</execution>
161+
</executions>
111162
</plugin>
112163
<plugin>
113164
<artifactId>maven-resources-plugin</artifactId>

0 commit comments

Comments
 (0)