|
6 | 6 |
|
7 | 7 | <groupId>io.github.gaeqs</groupId> |
8 | 8 | <artifactId>JavaYoutubeDownloader</artifactId> |
9 | | - <version>1.2</version> |
| 9 | + <version>1.2.1</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 |
|
12 | 12 | <name>${project.groupId}:${project.artifactId}</name> |
|
35 | 35 |
|
36 | 36 | <build> |
37 | 37 | <plugins> |
| 38 | + <plugin> |
| 39 | + <groupId>org.apache.maven.plugins</groupId> |
| 40 | + <artifactId>maven-resources-plugin</artifactId> |
| 41 | + <version>3.2.0</version> |
| 42 | + <configuration> |
| 43 | + <encoding>UTF-8</encoding> |
| 44 | + </configuration> |
| 45 | + </plugin> |
38 | 46 | <plugin> |
39 | 47 | <groupId>org.apache.maven.plugins</groupId> |
40 | 48 | <artifactId>maven-compiler-plugin</artifactId> |
| 49 | + <version>3.8.1</version> |
41 | 50 | <configuration> |
42 | 51 | <source>8</source> |
43 | 52 | <target>8</target> |
| 53 | + <encoding>UTF-8</encoding> |
44 | 54 | </configuration> |
45 | 55 | </plugin> |
46 | 56 | <plugin> |
47 | 57 | <groupId>org.apache.maven.plugins</groupId> |
48 | 58 | <artifactId>maven-source-plugin</artifactId> |
| 59 | + <version>2.2.1</version> |
49 | 60 | <executions> |
50 | 61 | <execution> |
51 | 62 | <id>attach-sources</id> |
52 | 63 | <goals> |
53 | | - <goal>jar</goal> |
| 64 | + <goal>jar-no-fork</goal> |
54 | 65 | </goals> |
55 | 66 | </execution> |
56 | 67 | </executions> |
57 | 68 | </plugin> |
58 | 69 | <plugin> |
59 | 70 | <groupId>org.apache.maven.plugins</groupId> |
60 | 71 | <artifactId>maven-javadoc-plugin</artifactId> |
| 72 | + <version>2.9.1</version> |
| 73 | + <configuration> |
| 74 | + <encoding>UTF-8</encoding> |
| 75 | + </configuration> |
61 | 76 | <executions> |
62 | 77 | <execution> |
63 | 78 | <id>attach-javadocs</id> |
|
67 | 82 | </execution> |
68 | 83 | </executions> |
69 | 84 | </plugin> |
| 85 | + <plugin> |
| 86 | + <groupId>org.apache.maven.plugins</groupId> |
| 87 | + <artifactId>maven-gpg-plugin</artifactId> |
| 88 | + <version>1.6</version> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <id>sign-artifacts</id> |
| 92 | + <phase>verify</phase> |
| 93 | + <goals> |
| 94 | + <goal>sign</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.sonatype.plugins</groupId> |
| 101 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 102 | + <version>1.6.7</version> |
| 103 | + <extensions>true</extensions> |
| 104 | + <configuration> |
| 105 | + <serverId>ossrh</serverId> |
| 106 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 107 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 108 | + </configuration> |
| 109 | + </plugin> |
70 | 110 | </plugins> |
71 | 111 | </build> |
72 | 112 |
|
73 | | - <dependencies> |
| 113 | + <distributionManagement> |
| 114 | + <snapshotRepository> |
| 115 | + <id>ossrh</id> |
| 116 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 117 | + </snapshotRepository> |
| 118 | + </distributionManagement> |
74 | 119 |
|
| 120 | + <dependencies> |
75 | 121 | <dependency> |
76 | 122 | <groupId>com.alibaba</groupId> |
77 | 123 | <artifactId>fastjson</artifactId> |
78 | 124 | <version>1.2.62</version> |
79 | 125 | </dependency> |
80 | | - |
81 | 126 | <dependency> |
82 | 127 | <groupId>org.junit.jupiter</groupId> |
83 | 128 | <artifactId>junit-jupiter</artifactId> |
84 | | - <version>RELEASE</version> |
| 129 | + <version>5.7.0</version> |
85 | 130 | <scope>test</scope> |
86 | 131 | </dependency> |
87 | 132 | <dependency> |
|
0 commit comments