|
40 | 40 | <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> |
41 | 41 | <maven-surefire-plugin.version>3.3.0</maven-surefire-plugin.version> |
42 | 42 | <maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version> |
43 | | - <maven-dependency-plugin.version>3.7.0</maven-dependency-plugin.version> |
| 43 | + <maven-dependency-plugin.version>3.7.1</maven-dependency-plugin.version> |
44 | 44 | <maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version> |
45 | 45 | <maven-jar-plugin.version>3.4.1</maven-jar-plugin.version> |
46 | 46 | <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> |
47 | 47 | <versions-maven-plugin.version>2.16.2</versions-maven-plugin.version> |
48 | 48 | <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
| 49 | + <github-release-plugin.version>1.6.0</github-release-plugin.version> |
49 | 50 | <maven.version>3.6</maven.version> |
| 51 | + <github.draft>true</github.draft> |
50 | 52 | </properties> |
51 | 53 | <modules> |
52 | 54 | <module>ffmpeg4java-macos</module> |
|
106 | 108 | <artifactId>nexus-staging-maven-plugin</artifactId> |
107 | 109 | <version>${nexus-staging-maven-plugin.version}</version> |
108 | 110 | </plugin> |
| 111 | + <plugin> |
| 112 | + <groupId>de.jutzig</groupId> |
| 113 | + <artifactId>github-release-plugin</artifactId> |
| 114 | + <version>${github-release-plugin.version}</version> |
| 115 | + <configuration> |
| 116 | + <releaseName>${project.name} ${project.version}</releaseName> |
| 117 | + <tag>v${project.version}</tag> |
| 118 | + </configuration> |
| 119 | + </plugin> |
109 | 120 | </plugins> |
110 | 121 | </pluginManagement> |
111 | 122 | <plugins> |
|
331 | 342 | </repository> |
332 | 343 | </distributionManagement> |
333 | 344 | </profile> |
| 345 | + <profile> |
| 346 | + <id>github</id> |
| 347 | + <activation> |
| 348 | + <property> |
| 349 | + <name>channel</name> |
| 350 | + <value>github</value> |
| 351 | + </property> |
| 352 | + </activation> |
| 353 | + <build> |
| 354 | + <plugins> |
| 355 | + <plugin> |
| 356 | + <groupId>de.jutzig</groupId> |
| 357 | + <artifactId>github-release-plugin</artifactId> |
| 358 | + <configuration> |
| 359 | + <releaseName>FFmpeg4Java ${project.version}</releaseName> |
| 360 | + <tag>v${project.version}</tag> |
| 361 | + <failOnExistingRelease>false</failOnExistingRelease> |
| 362 | + <overwriteArtifact>false</overwriteArtifact> |
| 363 | + <draft>${github.draft}</draft> |
| 364 | + <fileSets> |
| 365 | + <fileSet> |
| 366 | + <directory>${project.basedir}</directory> |
| 367 | + <includes> |
| 368 | + <include>**/target/${project.artifactId}-${project.version}-x86_64.jar</include> |
| 369 | + <include>**/target/${project.artifactId}-${project.version}-x86_64.jar</include> |
| 370 | + <include>**/target/${project.artifactId}-${project.version}-x86_64.jar</include> |
| 371 | + </includes> |
| 372 | + </fileSet> |
| 373 | + </fileSets> |
| 374 | + </configuration> |
| 375 | + </plugin> |
| 376 | + </plugins> |
| 377 | + </build> |
| 378 | + </profile> |
334 | 379 | </profiles> |
335 | 380 | </project> |
0 commit comments