| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright owership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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> |
| <parent> |
| <groupId>org.apache.syncope</groupId> |
| <artifactId>syncope-ide</artifactId> |
| <version>2.1.3-SNAPSHOT</version> |
| </parent> |
| |
| <name>Apache Syncope IDE Netbeans plugin</name> |
| <description>Apache Syncope IDE Netbeans plugin</description> |
| <groupId>org.apache.syncope.ide</groupId> |
| <artifactId>syncope-ide-netbeans</artifactId> |
| |
| <packaging>nbm</packaging> |
| |
| <properties> |
| <rootpom.basedir>${basedir}/../..</rootpom.basedir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.syncope.common</groupId> |
| <artifactId>syncope-common-lib</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.syncope.client</groupId> |
| <artifactId>syncope-client-lib</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-api-annotations-common</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-windows</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-util</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-util-ui</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-util-lookup</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-awt</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-modules-settings</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-nodes</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-text</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-filesystems</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-openide-loaders</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-core-multiview</artifactId> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-modules-editor-lib2</artifactId> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-api-progress</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.api</groupId> |
| <artifactId>org-netbeans-api-progress-nb</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.netbeans.external</groupId> |
| <artifactId>asm-all-5.0.1</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>nbm-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <verifyRuntime>skip</verifyRuntime> |
| <useOSGiDependencies>false</useOSGiDependencies> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <configuration> |
| <target> |
| <zip update="true" destfile="${project.build.directory}/syncope-ide-netbeans-${project.version}.nbm"> |
| <zipfileset dir="${basedir}" prefix="META-INF" includes="LICENSE,NOTICE" /> |
| </zip> |
| </target> |
| </configuration> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>false</filtering> |
| <includes> |
| <include>org/apache/syncope/**/*.png</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>${basedir}/../../client/console/src/main/resources/org/apache/syncope/client/console/implementations/</directory> |
| <filtering>false</filtering> |
| <includes> |
| <include>*.groovy</include> |
| </includes> |
| <targetPath>org/apache/syncope/ide/netbeans/implementations</targetPath> |
| </resource> |
| |
| <resource> |
| <directory>${basedir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>LICENSE</include> |
| <include>NOTICE</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>apache-release</id> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <inherited>false</inherited> |
| <configuration> |
| <skipSource>true</skipSource> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |