|
71 | 71 | <url>http://github.com/eficode/JavaFXLibrary/tree/master</url>
|
72 | 72 | </scm>
|
73 | 73 |
|
| 74 | + <profiles> |
| 75 | + <profile> |
| 76 | + <id>release</id> |
| 77 | + <build> |
| 78 | + <plugins> |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-source-plugin</artifactId> |
| 82 | + <version>3.0.1</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-javadoc-plugin</artifactId> |
| 95 | + <version>3.0.1</version> |
| 96 | + <executions> |
| 97 | + <execution> |
| 98 | + <id>attach-javadocs</id> |
| 99 | + <goals> |
| 100 | + <goal>jar</goal> |
| 101 | + </goals> |
| 102 | + </execution> |
| 103 | + </executions> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-gpg-plugin</artifactId> |
| 108 | + <version>1.6</version> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>sign-artifacts</id> |
| 112 | + <phase>package</phase> |
| 113 | + <goals> |
| 114 | + <goal>sign</goal> |
| 115 | + </goals> |
| 116 | + <configuration> |
| 117 | + <gpgArguments> |
| 118 | + <arg>--pinentry-mode</arg> |
| 119 | + <arg>loopback</arg> |
| 120 | + </gpgArguments> |
| 121 | + <keyname>${gpg.keyname}</keyname> |
| 122 | + <passphraseServerId>${gpg.keyname}</passphraseServerId> |
| 123 | + </configuration> |
| 124 | + </execution> |
| 125 | + </executions> |
| 126 | + </plugin> |
| 127 | + </plugins> |
| 128 | + </build> |
| 129 | + </profile> |
| 130 | + </profiles> |
| 131 | + |
| 132 | + <distributionManagement> |
| 133 | + <snapshotRepository> |
| 134 | + <id>ossrh</id> |
| 135 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 136 | + </snapshotRepository> |
| 137 | + </distributionManagement> |
| 138 | + |
74 | 139 | <build>
|
75 | 140 | <plugins>
|
76 | 141 | <plugin>
|
77 |
| - <groupId>org.apache.maven.plugins</groupId> |
78 |
| - <artifactId>maven-source-plugin</artifactId> |
79 |
| - <version>3.0.1</version> |
80 |
| - <executions> |
81 |
| - <execution> |
82 |
| - <id>attach-sources</id> |
83 |
| - <goals> |
84 |
| - <goal>jar-no-fork</goal> |
85 |
| - </goals> |
86 |
| - </execution> |
87 |
| - </executions> |
88 |
| - </plugin> |
89 |
| - <plugin> |
90 |
| - <groupId>org.apache.maven.plugins</groupId> |
91 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
92 |
| - <version>3.0.1</version> |
93 |
| - <executions> |
94 |
| - <execution> |
95 |
| - <id>attach-javadocs</id> |
96 |
| - <goals> |
97 |
| - <goal>jar</goal> |
98 |
| - </goals> |
99 |
| - </execution> |
100 |
| - </executions> |
| 142 | + <groupId>org.sonatype.plugins</groupId> |
| 143 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 144 | + <version>1.6.7</version> |
| 145 | + <extensions>true</extensions> |
| 146 | + <configuration> |
| 147 | + <serverId>ossrh</serverId> |
| 148 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 149 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 150 | + </configuration> |
101 | 151 | </plugin>
|
102 | 152 | <plugin>
|
103 | 153 | <artifactId>maven-compiler-plugin</artifactId>
|
|
244 | 294 | </plugin>
|
245 | 295 | </plugins>
|
246 | 296 | </build>
|
| 297 | + |
247 | 298 | <dependencies>
|
248 | 299 | <dependency>
|
249 | 300 | <groupId>org.apache.maven</groupId>
|
|
0 commit comments