|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 4 | <modelVersion>4.0.0</modelVersion> |
3 | 5 | <groupId>com.detectlanguage</groupId> |
4 | 6 | <artifactId>detectlanguage</artifactId> |
|
55 | 57 | <profiles> |
56 | 58 | <profile> |
57 | 59 | <id>release</id> |
58 | | - <activation> |
59 | | - <property> |
60 | | - <name>performRelease</name> |
61 | | - <value>true</value> |
62 | | - </property> |
63 | | - </activation> |
64 | 60 | <build> |
65 | 61 | <plugins> |
| 62 | + <plugin> |
| 63 | + <groupId>org.sonatype.central</groupId> |
| 64 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 65 | + <version>0.4.0</version> |
| 66 | + <extensions>true</extensions> |
| 67 | + <configuration> |
| 68 | + <publishingServerId>central</publishingServerId> |
| 69 | + <tokenAuth>true</tokenAuth> |
| 70 | + <autoPublish>true</autoPublish> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-source-plugin</artifactId> |
| 76 | + <version>3.3.0</version> |
| 77 | + <executions> |
| 78 | + <execution> |
| 79 | + <id>attach-sources</id> |
| 80 | + <phase>verify</phase> |
| 81 | + <goals> |
| 82 | + <goal>jar-no-fork</goal> |
| 83 | + </goals> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 90 | + <version>3.6.3</version> |
| 91 | + <executions> |
| 92 | + <execution> |
| 93 | + <id>attach-javadoc</id> |
| 94 | + <goals> |
| 95 | + <goal>jar</goal> |
| 96 | + </goals> |
| 97 | + </execution> |
| 98 | + </executions> |
| 99 | + <configuration> |
| 100 | + <stylesheet>java</stylesheet> |
| 101 | + <doclint>none</doclint> |
| 102 | + </configuration> |
| 103 | + </plugin> |
66 | 104 | <plugin> |
67 | 105 | <groupId>org.apache.maven.plugins</groupId> |
68 | 106 | <artifactId>maven-gpg-plugin</artifactId> |
69 | | - <version>1.4</version> |
| 107 | + <version>3.1.0</version> |
70 | 108 | <executions> |
71 | 109 | <execution> |
72 | 110 | <id>sign-artifacts</id> |
|
76 | 114 | </goals> |
77 | 115 | </execution> |
78 | 116 | </executions> |
| 117 | + <configuration> |
| 118 | + <gpgArguments> |
| 119 | + <arg>--pinentry-mode</arg> |
| 120 | + <arg>loopback</arg> |
| 121 | + </gpgArguments> |
| 122 | + </configuration> |
79 | 123 | </plugin> |
80 | 124 | </plugins> |
81 | 125 | </build> |
82 | 126 | </profile> |
83 | 127 | </profiles> |
84 | | - <distributionManagement> |
85 | | - <snapshotRepository> |
86 | | - <id>ossrh</id> |
87 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
88 | | - </snapshotRepository> |
89 | | - <repository> |
90 | | - <id>ossrh</id> |
91 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
92 | | - </repository> |
93 | | - </distributionManagement> |
94 | | - <build> |
95 | | - <plugins> |
96 | | - <plugin> |
97 | | - <groupId>org.apache.maven.plugins</groupId> |
98 | | - <artifactId>maven-compiler-plugin</artifactId> |
99 | | - <version>3.11.0</version> |
100 | | - <configuration> |
101 | | - <source>8</source> |
102 | | - <target>8</target> |
103 | | - </configuration> |
104 | | - </plugin> |
105 | | - <plugin> |
106 | | - <groupId>org.apache.maven.plugins</groupId> |
107 | | - <artifactId>maven-source-plugin</artifactId> |
108 | | - <version>2.2.1</version> |
109 | | - <executions> |
110 | | - <execution> |
111 | | - <id>attach-sources</id> |
112 | | - <goals> |
113 | | - <goal>jar</goal> |
114 | | - </goals> |
115 | | - </execution> |
116 | | - </executions> |
117 | | - </plugin> |
118 | | - <plugin> |
119 | | - <groupId>org.apache.maven.plugins</groupId> |
120 | | - <artifactId>maven-javadoc-plugin</artifactId> |
121 | | - <version>2.9</version> |
122 | | - <executions> |
123 | | - <execution> |
124 | | - <id>attach-javadocs</id> |
125 | | - <goals> |
126 | | - <goal>jar</goal> |
127 | | - </goals> |
128 | | - </execution> |
129 | | - </executions> |
130 | | - </plugin> |
131 | | - </plugins> |
132 | | - </build> |
133 | 128 | </project> |
0 commit comments