<?xml version="1.0" encoding="UTF-8"?>
<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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.raelity.jvi</groupId>
    <artifactId>netbeans-editor-pin</artifactId>
    <version>2.1.2</version>
    <packaging>nbm</packaging>

    <name>Editor Pin</name>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <netbeans.api.version>RELEASE130</netbeans.api.version>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <release>11</release>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.netbeans.utilities</groupId>
                <artifactId>nbm-maven-plugin</artifactId>
                <version>4.8</version>
                <extensions>true</extensions>
                <!-- -->
                <!-- keep following for backwards compatibility to previous versions-->
                <!-- keystore: only required, if you don't want to pass the path to the keystore file via cmdline-->
                <!-- -->
                <configuration>
                    <codeNameBase>com.raelity.nbm.editor_pin</codeNameBase>
                    <author>ErnieRael (errael@raelity.com)</author>
                    <homePageUrl>http://jvi.sourceforge.net</homePageUrl>
                    <keystore>/home/err/.jkeys/kstore</keystore>
                    <keystorealias>jvi</keystorealias>
                    <licenseName>Mozilla Public License Version 1.1</licenseName>
                    <licenseFile>${project.basedir}/License.txt</licenseFile>
                </configuration>
                <!-- -->
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.2.0</version>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Multi-Release>true</Multi-Release>
                        </manifestEntries>
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
                    </archive>
                            
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.13</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>false</autoReleaseAfterClose>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-awt</artifactId>
            <version>${netbeans.api.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-windows</artifactId>
            <version>${netbeans.api.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-util</artifactId>
            <version>${netbeans.api.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-util-ui</artifactId>
            <version>${netbeans.api.version}</version>
        </dependency>
        <dependency>
            <groupId>org.netbeans.api</groupId>
            <artifactId>org-openide-util-lookup</artifactId>
            <version>${netbeans.api.version}</version>
        </dependency>
    </dependencies>

    <distributionManagement>
        <repository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
        </repository>
        <snapshotRepository>
            <id>ossrh</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
    </distributionManagement>

    <profiles>
        <profile>
            <!-- generate sourceJar and javadocJar  and sign-->
            <id>release</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>3.2.0</version>
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>3.1.1</version>
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.6</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <!-- gpg signature on release -->
        <profile>
            <id>release-sign-artifacts</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>
        </profile>
    </profiles>

    <url>http://raelity.com</url>

    <organization>
        <name>Raelity Engineering</name>
        <url>http://raelity.com</url>
    </organization>

    <licenses>
        <license>
            <name>Mozilla Public License Version 1.1</name>
            <url>https://www.mozilla.org/MPL/1.1/</url>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Ernie Rael</name>
            <email>errael@raelity.com</email>
            <organization>Raelity Engineering</organization>
            <organizationUrl>http://raelity.com</organizationUrl>
        </developer>
    </developers>

    <inceptionYear>2010</inceptionYear>

    <scm>
        <url>https://sourceforge.net/p/jvi/editor-pin</url>
    </scm>

    <issueManagement>
        <system></system>
        <url>https://sourceforge.net/p/jvi/_list/tickets</url>
    </issueManagement>

    <description>
        This plugin provides a registered action, toolbar button and menu actions
        which can clear the REUSE flag &lt;b&gt;preventing a file from being
        replaced&lt;/b&gt;.
        &lt;br/&gt;&lt;br/&gt;
        The toolbar button, which looks like a "push pin", provides a visual
        indication that the currently active editor is REUSEable; the button is
        only enabled when the active editor is REUSEable.
        &lt;br/&gt;&lt;br/&gt;
        In some situations the IDE/platform opens a file with the REUSE flag
        (see NetBeans API doc Line.ShowOpenType); files opened like this can be
        automatically replaced in an editor window by other files.
        &lt;br/&gt;&lt;br/&gt;
        IDE REUSE examples: single stepping into a file, clicking on a stacktrace
        for goto source, jVi tag-stack operations.
    </description>
</project>
