From dc79a5db39abb785263450fa492890f1a91a8922 Mon Sep 17 00:00:00 2001 From: junichi11 Date: Wed, 8 Mar 2023 14:53:53 +0900 Subject: [PATCH] Fix build.xml to upload the nbm to the Maven Central --- .gitignore | 4 ++- build.xml | 42 ++++++++++++++++++++++- pom.xml | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+), 2 deletions(-) create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 46cba4a..680c1d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /nbproject/private/ -/build/ \ No newline at end of file +/build/ +lib +pom.xml.asc diff --git a/build.xml b/build.xml index 40a5d65..f948b60 100644 --- a/build.xml +++ b/build.xml @@ -1,5 +1,45 @@ - + Builds, tests, and runs the project org.netbeans.modules.linetools + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..5305728 --- /dev/null +++ b/pom.xml @@ -0,0 +1,97 @@ + + + 4.0.0 + com.junichi11.netbeans.modules + netbeans-sort-line-tools + + 1.24 + nbm + NetBeans Sort Line Tools + https://github.com/netbeanslab/nb-sort-line-tools + NetBeans plugin which adds a toolbar with texteditor operations for sorting. + + + junichi11 + Junichi Yamamoto + https://github.com/junichi11 + + + + scm:git:https://github.com/netbeanslab/nb-sort-line-tools.git + scm:git:https://github.com/netbeanslab/nb-sort-line-tools.git + https://github.com/netbeanslab/nb-sort-line-tools + HEAD + + + + Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2 + http://netbeans.org/cddl-gplv2.html + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M1 + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-jar-plugin + 3.1.2 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + + + + +