|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <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/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | | - <parent> |
5 | | - <groupId>org.sonatype.oss</groupId> |
6 | | - <artifactId>oss-parent</artifactId> |
7 | | - <version>7</version> |
8 | | - </parent> |
9 | 4 | <groupId>org.modelmapper</groupId> |
10 | 5 | <artifactId>modelmapper-module-record</artifactId> |
11 | 6 | <version>1.0.1-SNAPSHOT</version> |
|
63 | 58 | <scope>test</scope> |
64 | 59 | </dependency> |
65 | 60 | </dependencies> |
| 61 | + <profiles> |
| 62 | + <profile> |
| 63 | + <id>release</id> |
| 64 | + <build> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <groupId>org.apache.maven.plugins</groupId> |
| 68 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 69 | + <version>2.8.1</version> |
| 70 | + <executions> |
| 71 | + <execution> |
| 72 | + <id>attach-javadocs</id> |
| 73 | + <goals> |
| 74 | + <goal>jar</goal> |
| 75 | + </goals> |
| 76 | + </execution> |
| 77 | + </executions> |
| 78 | + </plugin> |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-source-plugin</artifactId> |
| 82 | + <version>2.1.2</version> |
| 83 | + <executions> |
| 84 | + <execution> |
| 85 | + <id>attach-sources</id> |
| 86 | + <goals> |
| 87 | + <goal>jar-no-fork</goal> |
| 88 | + </goals> |
| 89 | + </execution> |
| 90 | + </executions> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-gpg-plugin</artifactId> |
| 95 | + <version>1.1</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>sign-artifacts</id> |
| 99 | + <phase>verify</phase> |
| 100 | + <goals> |
| 101 | + <goal>sign</goal> |
| 102 | + </goals> |
| 103 | + </execution> |
| 104 | + </executions> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.sonatype.central</groupId> |
| 108 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 109 | + <version>0.9.0</version> |
| 110 | + <extensions>true</extensions> |
| 111 | + <configuration> |
| 112 | + <autoPublish>true</autoPublish> |
| 113 | + <publishingServerId>central</publishingServerId> |
| 114 | + </configuration> |
| 115 | + </plugin> |
| 116 | + </plugins> |
| 117 | + </build> |
| 118 | + </profile> |
| 119 | + </profiles> |
66 | 120 | </project> |
0 commit comments