Skip to content

Commit a4eac40

Browse files
committed
Add pom.xml to upload the nbm to the Maven Central
1 parent 70c7bb0 commit a4eac40

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

pom.xml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.junichi11.netbeans.modules</groupId>
5+
<artifactId>netbeans-php-cs-fixer</artifactId>
6+
<!-- change the version of build.xml -->
7+
<version>0.10.1</version>
8+
<packaging>nbm</packaging>
9+
<name>NetBeans PHP CS Fixer</name>
10+
<url>https://github.com/junichi11/netbeans-php-cs-fixer-plugin</url>
11+
<description>This plugin provides support for the PHP CS Fixer.</description>
12+
<developers>
13+
<developer>
14+
<id>junichi11</id>
15+
<name>Junichi Yamamoto</name>
16+
<url>https://github.com/junichi11</url>
17+
</developer>
18+
</developers>
19+
<scm>
20+
<connection>scm:git:https://github.com/junichi11/netbeans-php-cs-fixer-plugin.git</connection>
21+
<developerConnection>scm:git:https://github.com/junichi11/netbeans-php-cs-fixer-plugin.git</developerConnection>
22+
<url>https://github.com/junichi11/netbeans-php-cs-fixer-plugin</url>
23+
<tag>HEAD</tag>
24+
</scm>
25+
<licenses>
26+
<license>
27+
<name>Apache License, Version 2.0</name>
28+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
29+
</license>
30+
</licenses>
31+
<distributionManagement>
32+
<snapshotRepository>
33+
<id>ossrh</id>
34+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
35+
</snapshotRepository>
36+
<repository>
37+
<id>ossrh</id>
38+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
39+
</repository>
40+
</distributionManagement>
41+
<build>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-deploy-plugin</artifactId>
46+
<version>3.0.0-M1</version>
47+
</plugin>
48+
<plugin>
49+
<groupId>org.sonatype.plugins</groupId>
50+
<artifactId>nexus-staging-maven-plugin</artifactId>
51+
<version>1.6.7</version>
52+
<extensions>true</extensions>
53+
<configuration>
54+
<serverId>ossrh</serverId>
55+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
56+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
57+
</configuration>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<version>3.8.1</version>
63+
<configuration>
64+
<source>1.8</source>
65+
<target>1.8</target>
66+
</configuration>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-jar-plugin</artifactId>
71+
<version>3.1.2</version>
72+
<configuration>
73+
<archive>
74+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
75+
</archive>
76+
</configuration>
77+
</plugin>
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-gpg-plugin</artifactId>
81+
<version>1.6</version>
82+
<executions>
83+
<execution>
84+
<id>sign-artifacts</id>
85+
<phase>verify</phase>
86+
<goals>
87+
<goal>sign</goal>
88+
</goals>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
</plugins>
93+
</build>
94+
<dependencies>
95+
</dependencies>
96+
</project>
97+

0 commit comments

Comments
 (0)