|
78 | 78 | <artifactId>maven-compiler-plugin</artifactId> |
79 | 79 | <version>3.14.1</version> |
80 | 80 | </plugin> |
| 81 | + <!-- Copy README.md and images to site directory --> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-antrun-plugin</artifactId> |
| 85 | + <version>3.1.0</version> |
| 86 | + <executions> |
| 87 | + <execution> |
| 88 | + <id>copy-docs-to-site</id> |
| 89 | + <phase>pre-site</phase> |
| 90 | + <goals> |
| 91 | + <goal>run</goal> |
| 92 | + </goals> |
| 93 | + <configuration> |
| 94 | + <target> |
| 95 | + <copy file="${project.basedir}/README.md" |
| 96 | + tofile="${project.basedir}/src/site/markdown/index.md"/> |
| 97 | + <!-- Copy images referenced in README.md to site root --> |
| 98 | + <mkdir dir="${project.basedir}/src/site/resources"/> |
| 99 | + <copy todir="${project.basedir}/src/site/resources"> |
| 100 | + <fileset dir="${project.basedir}"> |
| 101 | + <include name="*.png"/> |
| 102 | + <include name="*.jpg"/> |
| 103 | + <include name="*.gif"/> |
| 104 | + <include name="*.svg"/> |
| 105 | + </fileset> |
| 106 | + </copy> |
| 107 | + </target> |
| 108 | + </configuration> |
| 109 | + </execution> |
| 110 | + </executions> |
| 111 | + </plugin> |
81 | 112 | <!-- Clone the official copilot-sdk repository for test resources --> |
82 | 113 | <plugin> |
83 | 114 | <groupId>org.codehaus.mojo</groupId> |
|
178 | 209 | </dependency> |
179 | 210 | </dependencies> |
180 | 211 | </plugin> |
| 212 | + <!-- Maven Site Plugin --> |
| 213 | + <plugin> |
| 214 | + <groupId>org.apache.maven.plugins</groupId> |
| 215 | + <artifactId>maven-site-plugin</artifactId> |
| 216 | + <version>4.0.0-M16</version> |
| 217 | + </plugin> |
181 | 218 | </plugins> |
182 | 219 | </build> |
183 | 220 |
|
| 221 | + <!-- Reporting plugins for Maven Site --> |
| 222 | + <reporting> |
| 223 | + <plugins> |
| 224 | + <!-- Project Info Reports --> |
| 225 | + <plugin> |
| 226 | + <groupId>org.apache.maven.plugins</groupId> |
| 227 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 228 | + <version>3.9.0</version> |
| 229 | + </plugin> |
| 230 | + <!-- Javadoc --> |
| 231 | + <plugin> |
| 232 | + <groupId>org.apache.maven.plugins</groupId> |
| 233 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 234 | + <version>3.12.0</version> |
| 235 | + <configuration> |
| 236 | + <show>public</show> |
| 237 | + <nohelp>true</nohelp> |
| 238 | + <doclint>none</doclint> |
| 239 | + </configuration> |
| 240 | + <reportSets> |
| 241 | + <reportSet> |
| 242 | + <reports> |
| 243 | + <report>javadoc</report> |
| 244 | + </reports> |
| 245 | + </reportSet> |
| 246 | + </reportSets> |
| 247 | + </plugin> |
| 248 | + </plugins> |
| 249 | + </reporting> |
| 250 | + |
184 | 251 | <profiles> |
185 | 252 | <profile> |
186 | 253 | <id>release</id> |
|
0 commit comments