Skip to content

Commit 6c5df08

Browse files
markpollackilayaperumalg
authored andcommitted
Add javadoc .jar generation, remove javadoc profile
1 parent 62ce753 commit 6c5df08

File tree

1 file changed

+24
-40
lines changed

1 file changed

+24
-40
lines changed

pom.xml

Lines changed: 24 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,30 @@
490490
<artifactId>maven-deploy-plugin</artifactId>
491491
<version>${maven-deploy-plugin.version}</version>
492492
</plugin>
493+
<plugin>
494+
<groupId>org.apache.maven.plugins</groupId>
495+
<artifactId>maven-javadoc-plugin</artifactId>
496+
<version>${maven-javadoc-plugin.version}</version>
497+
<configuration>
498+
<excludePackageNames>
499+
org.springframework.ai.sample.*,org.springframework.ai.testcontainers.service.connection.*</excludePackageNames>
500+
<overview>
501+
${project.basedir}/spring-ai-docs/src/main/javadoc/overview.html</overview>
502+
<detectJavaApiLink>false</detectJavaApiLink>
503+
<failOnError>false</failOnError>
504+
<doclint>none</doclint>
505+
</configuration>
506+
<executions>
507+
<execution>
508+
<id>generate-javadocs</id>
509+
<phase>package</phase>
510+
<goals>
511+
<goal>jar</goal>
512+
</goals>
513+
</execution>
514+
</executions>
515+
</plugin>
516+
493517
</plugins>
494518
</build>
495519

@@ -567,46 +591,6 @@
567591
</plugins>
568592
</build>
569593
</profile>
570-
<profile>
571-
<id>javadoc</id>
572-
<activation>
573-
<activeByDefault>false</activeByDefault>
574-
</activation>
575-
<build>
576-
<plugins>
577-
<plugin>
578-
<groupId>org.apache.maven.plugins</groupId>
579-
<artifactId>maven-javadoc-plugin</artifactId>
580-
<version>${maven-javadoc-plugin.version}</version>
581-
<configuration>
582-
<excludePackageNames>
583-
org.springframework.ai.sample.*,org.springframework.ai.testcontainers.service.connection.*</excludePackageNames>
584-
<overview>
585-
${project.basedir}/spring-ai-docs/src/main/javadoc/overview.html</overview>
586-
<detectJavaApiLink>false</detectJavaApiLink>
587-
<failOnError>false</failOnError>
588-
<doclint>none</doclint>
589-
</configuration>
590-
<executions>
591-
<execution>
592-
<id>generate-javadocs</id>
593-
<phase>package</phase>
594-
<goals>
595-
<goal>jar</goal>
596-
</goals>
597-
</execution>
598-
<execution>
599-
<id>generate-aggregate-javadocs</id>
600-
<phase>package</phase>
601-
<goals>
602-
<goal>aggregate</goal>
603-
</goals>
604-
</execution>
605-
</executions>
606-
</plugin>
607-
</plugins>
608-
</build>
609-
</profile>
610594
<profile>
611595
<id>integration-tests</id>
612596
<activation>

0 commit comments

Comments
 (0)