|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
2 | 5 |
|
| 6 | + <groupId>org.atp-fivt</groupId> |
| 7 | + <artifactId>export-maven-plugin</artifactId> |
| 8 | + <version>1.0</version> |
| 9 | + <packaging>maven-plugin</packaging> |
3 | 10 |
|
4 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
5 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 |
| - <modelVersion>4.0.0</modelVersion> |
| 11 | + <name>Maven project export plugin</name> |
| 12 | + <description>Exports maven project to a zip file respecting .gitignore</description> |
| 13 | + <url>https://github.com/atp-mipt/maven-export-plugin</url> |
7 | 14 |
|
8 |
| - <groupId>org.atp-fivt</groupId> |
9 |
| - <artifactId>export-maven-plugin</artifactId> |
10 |
| - <version>1.0-RC2</version> |
11 |
| - <packaging>maven-plugin</packaging> |
| 15 | + <organization> |
| 16 | + <name>MIPT/FIVT/ATP</name> |
| 17 | + <url>https://mipt.ru/education/chairs/programmingtechnolgy/</url> |
| 18 | + </organization> |
12 | 19 |
|
13 |
| - <name>Maven project export plugin</name> |
14 |
| - <description>Exports maven project to a zip file respecting .gitignore</description> |
15 |
| - <url>https://github.com/atp-mipt/maven-export-plugin</url> |
| 20 | + <scm> |
| 21 | + <url>https://github.com/atp-mipt/maven-export-plugin.git</url> |
| 22 | + <connection>scm:git:git://github.com/atp-mipt/maven-export-plugin.git</connection> |
| 23 | + <developerConnection>scm:git:git://github.com/atp-mipt/maven-export-plugin.git</developerConnection> |
| 24 | + </scm> |
16 | 25 |
|
17 |
| - <organization> |
18 |
| - <name>MIPT/FIVT/ATP</name> |
19 |
| - <url>https://mipt.ru/education/chairs/programmingtechnolgy/</url> |
20 |
| - </organization> |
| 26 | + <developers> |
| 27 | + <developer> |
| 28 | + <name>Ivan Ponomarev</name> |
| 29 | + <email>ponomarev@phystech.edu</email> |
| 30 | + </developer> |
| 31 | + </developers> |
21 | 32 |
|
22 |
| - <scm> |
23 |
| - <url>https://github.com/atp-mipt/maven-export-plugin.git</url> |
24 |
| - <connection>scm:git:git://github.com/atp-mipt/maven-export-plugin.git</connection> |
25 |
| - <developerConnection>scm:git:git://github.com/atp-mipt/maven-export-plugin.git</developerConnection> |
26 |
| - </scm> |
| 33 | + <licenses> |
| 34 | + <license> |
| 35 | + <name>MIT</name> |
| 36 | + <url>https://opensource.org/licenses/MIT</url> |
| 37 | + <distribution>repo</distribution> |
| 38 | + </license> |
| 39 | + </licenses> |
27 | 40 |
|
28 |
| - <developers> |
29 |
| - <developer> |
30 |
| - <name>Ivan Ponomarev</name> |
31 |
| - <email>ponomarev@phystech.edu</email> |
32 |
| - </developer> |
33 |
| - </developers> |
| 41 | + <properties> |
| 42 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 43 | + <maven.compiler.source>11</maven.compiler.source> |
| 44 | + <maven.compiler.target>11</maven.compiler.target> |
| 45 | + <maven.version>3.9.5</maven.version> |
| 46 | + <checkstyle.maven.plugin.version>3.3.0</checkstyle.maven.plugin.version> |
| 47 | + <maven.surefire.plugin.version>3.1.0</maven.surefire.plugin.version> |
| 48 | + <checkstyle.version>10.12.0</checkstyle.version> |
| 49 | + </properties> |
34 | 50 |
|
35 |
| - <licenses> |
36 |
| - <license> |
37 |
| - <name>MIT</name> |
38 |
| - <url>https://opensource.org/licenses/MIT</url> |
39 |
| - <distribution>repo</distribution> |
40 |
| - </license> |
41 |
| - </licenses> |
| 51 | + <distributionManagement> |
| 52 | + <repository> |
| 53 | + <id>ossrh</id> |
| 54 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 55 | + </repository> |
| 56 | + </distributionManagement> |
42 | 57 |
|
43 |
| - <properties> |
44 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
45 |
| - <maven.compiler.source>11</maven.compiler.source> |
46 |
| - <maven.compiler.target>11</maven.compiler.target> |
47 |
| - <maven.version>3.9.5</maven.version> |
48 |
| - <checkstyle.maven.plugin.version>3.3.0</checkstyle.maven.plugin.version> |
49 |
| - <maven.surefire.plugin.version>3.1.0</maven.surefire.plugin.version> |
50 |
| - <checkstyle.version>10.12.0</checkstyle.version> |
51 |
| - </properties> |
| 58 | + <dependencies> |
| 59 | + <dependency> |
| 60 | + <groupId>org.eclipse.jgit</groupId> |
| 61 | + <artifactId>org.eclipse.jgit</artifactId> |
| 62 | + <version>6.8.0.202311291450-r</version> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>org.apache.maven</groupId> |
| 66 | + <artifactId>maven-plugin-api</artifactId> |
| 67 | + <version>${maven.version}</version> |
| 68 | + <scope>provided</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.apache.maven</groupId> |
| 72 | + <artifactId>maven-core</artifactId> |
| 73 | + <version>${maven.version}</version> |
| 74 | + <scope>provided</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.apache.maven</groupId> |
| 78 | + <artifactId>maven-artifact</artifactId> |
| 79 | + <version>${maven.version}</version> |
| 80 | + <scope>provided</scope> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.apache.maven</groupId> |
| 84 | + <artifactId>maven-compat</artifactId> |
| 85 | + <version>${maven.version}</version> |
| 86 | + <scope>provided</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>org.apache.maven.plugin-tools</groupId> |
| 90 | + <artifactId>maven-plugin-annotations</artifactId> |
| 91 | + <version>3.6.0</version> |
| 92 | + <scope>provided</scope> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>org.junit.jupiter</groupId> |
| 96 | + <artifactId>junit-jupiter-api</artifactId> |
| 97 | + <version>5.7.0</version> |
| 98 | + <scope>test</scope> |
| 99 | + </dependency> |
| 100 | + </dependencies> |
52 | 101 |
|
53 |
| - <dependencies> |
54 |
| - <dependency> |
55 |
| - <groupId>org.eclipse.jgit</groupId> |
56 |
| - <artifactId>org.eclipse.jgit</artifactId> |
57 |
| - <version>6.8.0.202311291450-r</version> |
58 |
| - </dependency> |
59 |
| - <dependency> |
60 |
| - <groupId>org.apache.maven</groupId> |
61 |
| - <artifactId>maven-plugin-api</artifactId> |
62 |
| - <version>${maven.version}</version> |
63 |
| - <scope>provided</scope> |
64 |
| - </dependency> |
65 |
| - <dependency> |
66 |
| - <groupId>org.apache.maven</groupId> |
67 |
| - <artifactId>maven-core</artifactId> |
68 |
| - <version>${maven.version}</version> |
69 |
| - <scope>provided</scope> |
70 |
| - </dependency> |
71 |
| - <dependency> |
72 |
| - <groupId>org.apache.maven</groupId> |
73 |
| - <artifactId>maven-artifact</artifactId> |
74 |
| - <version>${maven.version}</version> |
75 |
| - <scope>provided</scope> |
76 |
| - </dependency> |
77 |
| - <dependency> |
78 |
| - <groupId>org.apache.maven</groupId> |
79 |
| - <artifactId>maven-compat</artifactId> |
80 |
| - <version>${maven.version}</version> |
81 |
| - <scope>provided</scope> |
82 |
| - </dependency> |
83 |
| - <dependency> |
84 |
| - <groupId>org.apache.maven.plugin-tools</groupId> |
85 |
| - <artifactId>maven-plugin-annotations</artifactId> |
86 |
| - <version>3.6.0</version> |
87 |
| - <scope>provided</scope> |
88 |
| - </dependency> |
89 |
| - <dependency> |
90 |
| - <groupId>org.junit.jupiter</groupId> |
91 |
| - <artifactId>junit-jupiter-api</artifactId> |
92 |
| - <version>5.7.0</version> |
93 |
| - <scope>test</scope> |
94 |
| - </dependency> |
95 |
| - </dependencies> |
| 102 | + <build> |
| 103 | + <plugins> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 107 | + <version>${checkstyle.maven.plugin.version}</version> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <id>verify-style</id> |
| 111 | + <phase>process-classes</phase> |
| 112 | + <goals> |
| 113 | + <goal>check</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + </executions> |
| 117 | + <configuration> |
| 118 | + <configLocation>checkstyle.xml</configLocation> |
| 119 | + </configuration> |
| 120 | + <dependencies> |
| 121 | + <dependency> |
| 122 | + <groupId>com.puppycrawl.tools</groupId> |
| 123 | + <artifactId>checkstyle</artifactId> |
| 124 | + <version>${checkstyle.version}</version> |
| 125 | + </dependency> |
| 126 | + </dependencies> |
| 127 | + </plugin> |
96 | 128 |
|
97 |
| - <build> |
98 |
| - <plugins> |
99 |
| - <plugin> |
100 |
| - <groupId>org.apache.maven.plugins</groupId> |
101 |
| - <artifactId>maven-checkstyle-plugin</artifactId> |
102 |
| - <version>${checkstyle.maven.plugin.version}</version> |
103 |
| - <executions> |
104 |
| - <execution> |
105 |
| - <id>verify-style</id> |
106 |
| - <phase>process-classes</phase> |
107 |
| - <goals> |
108 |
| - <goal>check</goal> |
109 |
| - </goals> |
110 |
| - </execution> |
111 |
| - </executions> |
112 |
| - <configuration> |
113 |
| - <configLocation>checkstyle.xml</configLocation> |
114 |
| - </configuration> |
115 |
| - <dependencies> |
116 |
| - <dependency> |
117 |
| - <groupId>com.puppycrawl.tools</groupId> |
118 |
| - <artifactId>checkstyle</artifactId> |
119 |
| - <version>${checkstyle.version}</version> |
120 |
| - </dependency> |
121 |
| - </dependencies> |
122 |
| - </plugin> |
| 129 | + <plugin> |
| 130 | + <groupId>org.apache.maven.plugins</groupId> |
| 131 | + <artifactId>maven-surefire-plugin</artifactId> |
| 132 | + <version>${maven.surefire.plugin.version}</version> |
| 133 | + </plugin> |
123 | 134 |
|
124 |
| - <plugin> |
125 |
| - <groupId>org.apache.maven.plugins</groupId> |
126 |
| - <artifactId>maven-surefire-plugin</artifactId> |
127 |
| - <version>${maven.surefire.plugin.version}</version> |
128 |
| - </plugin> |
| 135 | + <plugin> |
| 136 | + <groupId>org.apache.maven.plugins</groupId> |
| 137 | + <artifactId>maven-plugin-plugin</artifactId> |
| 138 | + <version>3.6.0</version> |
| 139 | + <configuration> |
| 140 | + <!-- <goalPrefix>maven-archetype-plugin</goalPrefix> --> |
| 141 | + <!--<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>--> |
| 142 | + </configuration> |
| 143 | + <executions> |
| 144 | + <execution> |
| 145 | + <id>mojo-descriptor</id> |
| 146 | + <goals> |
| 147 | + <goal>descriptor</goal> |
| 148 | + </goals> |
| 149 | + </execution> |
| 150 | + <execution> |
| 151 | + <id>help-goal</id> |
| 152 | + <goals> |
| 153 | + <goal>helpmojo</goal> |
| 154 | + </goals> |
| 155 | + </execution> |
| 156 | + </executions> |
| 157 | + </plugin> |
129 | 158 |
|
130 |
| - <plugin> |
131 |
| - <groupId>org.apache.maven.plugins</groupId> |
132 |
| - <artifactId>maven-plugin-plugin</artifactId> |
133 |
| - <version>3.6.0</version> |
134 |
| - <configuration> |
135 |
| - <!-- <goalPrefix>maven-archetype-plugin</goalPrefix> --> |
136 |
| - <!--<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>--> |
137 |
| - </configuration> |
138 |
| - <executions> |
139 |
| - <execution> |
140 |
| - <id>mojo-descriptor</id> |
141 |
| - <goals> |
142 |
| - <goal>descriptor</goal> |
143 |
| - </goals> |
144 |
| - </execution> |
145 |
| - <execution> |
146 |
| - <id>help-goal</id> |
147 |
| - <goals> |
148 |
| - <goal>helpmojo</goal> |
149 |
| - </goals> |
150 |
| - </execution> |
151 |
| - </executions> |
152 |
| - </plugin> |
153 |
| - </plugins> |
154 |
| - </build> |
| 159 | + <plugin> |
| 160 | + <groupId>org.apache.maven.plugins</groupId> |
| 161 | + <artifactId>maven-gpg-plugin</artifactId> |
| 162 | + <version>3.1.0</version> |
| 163 | + <executions> |
| 164 | + <execution> |
| 165 | + <id>sign-artifacts</id> |
| 166 | + <phase>verify</phase> |
| 167 | + <goals> |
| 168 | + <goal>sign</goal> |
| 169 | + </goals> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + </plugin> |
| 173 | + <plugin> |
| 174 | + <groupId>org.sonatype.plugins</groupId> |
| 175 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 176 | + <version>1.6.13</version> |
| 177 | + <extensions>true</extensions> |
| 178 | + <configuration> |
| 179 | + <serverId>ossrh</serverId> |
| 180 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 181 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 182 | + </configuration> |
| 183 | + </plugin> |
| 184 | + </plugins> |
| 185 | + </build> |
155 | 186 |
|
156 | 187 | </project>
|
0 commit comments