1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/ide/editor/pom.xml Wed Feb 13 11:12:55 2013 +0100
1.3 @@ -0,0 +1,188 @@
1.4 +<?xml version="1.0" encoding="UTF-8"?>
1.5 +<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">
1.6 + <modelVersion>4.0.0</modelVersion>
1.7 + <parent>
1.8 + <artifactId>ide</artifactId>
1.9 + <groupId>org.apidesign.bck2brwsr</groupId>
1.10 + <version>0.3-SNAPSHOT</version>
1.11 + </parent>
1.12 +
1.13 + <groupId>org.apidesign.bck2brwsr.ide.editor</groupId>
1.14 + <artifactId>editor</artifactId>
1.15 + <version>0.3-SNAPSHOT</version>
1.16 + <packaging>nbm</packaging>
1.17 +
1.18 + <name>Editor Support for Bck2Brwsr</name>
1.19 +
1.20 + <properties>
1.21 + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1.22 + <netbeans.version>RELEASE72</netbeans.version>
1.23 + <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
1.24 + </properties>
1.25 +
1.26 + <repositories>
1.27 + <!--
1.28 + Repository hosting NetBeans modules, especially APIs.
1.29 + Versions are based on IDE releases, e.g.: RELEASE691
1.30 + To create your own repository, use: nbm:populate-repository
1.31 + -->
1.32 + <repository>
1.33 + <id>netbeans</id>
1.34 + <name>NetBeans</name>
1.35 + <url>http://bits.netbeans.org/maven2/</url>
1.36 + <snapshots>
1.37 + <enabled>false</enabled>
1.38 + </snapshots>
1.39 + </repository>
1.40 + </repositories>
1.41 +
1.42 + <dependencies>
1.43 + <dependency>
1.44 + <groupId>org.netbeans.api</groupId>
1.45 + <artifactId>org-netbeans-api-annotations-common</artifactId>
1.46 + <version>${netbeans.version}</version>
1.47 + </dependency>
1.48 + <dependency>
1.49 + <groupId>org.netbeans.api</groupId>
1.50 + <artifactId>org-netbeans-modules-java-source</artifactId>
1.51 + <version>${netbeans.version}</version>
1.52 + </dependency>
1.53 + <dependency>
1.54 + <groupId>org.netbeans.api</groupId>
1.55 + <artifactId>org-netbeans-libs-javacapi</artifactId>
1.56 + <version>${netbeans.version}</version>
1.57 + </dependency>
1.58 + <dependency>
1.59 + <groupId>org.netbeans.api</groupId>
1.60 + <artifactId>org-netbeans-spi-java-hints</artifactId>
1.61 + <version>${netbeans.version}</version>
1.62 + </dependency>
1.63 + <dependency>
1.64 + <groupId>org.netbeans.api</groupId>
1.65 + <artifactId>org-netbeans-spi-editor-hints</artifactId>
1.66 + <version>${netbeans.version}</version>
1.67 + </dependency>
1.68 + <dependency>
1.69 + <groupId>org.netbeans.api</groupId>
1.70 + <artifactId>org-openide-util</artifactId>
1.71 + <version>${netbeans.version}</version>
1.72 + </dependency>
1.73 + <dependency>
1.74 + <groupId>org.netbeans.api</groupId>
1.75 + <artifactId>org-netbeans-modules-java-lexer</artifactId>
1.76 + <version>${netbeans.version}</version>
1.77 + </dependency>
1.78 + <dependency>
1.79 + <groupId>org.netbeans.api</groupId>
1.80 + <artifactId>org-netbeans-modules-lexer</artifactId>
1.81 + <version>${netbeans.version}</version>
1.82 + </dependency>
1.83 + <dependency>
1.84 + <groupId>org.apidesign.bck2brwsr</groupId>
1.85 + <artifactId>core</artifactId>
1.86 + <version>0.3-SNAPSHOT</version>
1.87 + <type>jar</type>
1.88 + <scope>test</scope>
1.89 + </dependency>
1.90 + <dependency>
1.91 + <groupId>org.netbeans.api</groupId>
1.92 + <artifactId>org-netbeans-modules-java-hints-test</artifactId>
1.93 + <version>${netbeans.version}</version>
1.94 + <scope>test</scope>
1.95 + </dependency>
1.96 + <dependency>
1.97 + <groupId>org.netbeans.api</groupId>
1.98 + <artifactId>org-netbeans-libs-junit4</artifactId>
1.99 + <version>${netbeans.version}</version>
1.100 + <scope>test</scope>
1.101 + </dependency>
1.102 + <dependency>
1.103 + <groupId>org.netbeans.modules</groupId>
1.104 + <artifactId>org-netbeans-lib-nbjavac</artifactId>
1.105 + <version>${netbeans.version}</version>
1.106 + <scope>test</scope>
1.107 + </dependency>
1.108 + </dependencies>
1.109 +
1.110 + <build>
1.111 + <plugins>
1.112 + <plugin>
1.113 + <groupId>org.codehaus.mojo</groupId>
1.114 + <artifactId>nbm-maven-plugin</artifactId>
1.115 + <version>3.8</version>
1.116 + <extensions>true</extensions>
1.117 + </plugin>
1.118 +
1.119 + <plugin>
1.120 + <!-- NetBeans 6.9+ requires JDK 6 -->
1.121 + <groupId>org.apache.maven.plugins</groupId>
1.122 + <artifactId>maven-compiler-plugin</artifactId>
1.123 + <version>2.5.1</version>
1.124 + <configuration>
1.125 + <source>1.6</source>
1.126 + <target>1.6</target>
1.127 + <compilerArguments>
1.128 + <endorseddirs>${endorsed.dir}</endorseddirs>
1.129 + </compilerArguments>
1.130 + </configuration>
1.131 + </plugin>
1.132 +
1.133 + <plugin>
1.134 + <groupId>org.apache.maven.plugins</groupId>
1.135 + <artifactId>maven-jar-plugin</artifactId>
1.136 + <version>2.4</version>
1.137 + <configuration>
1.138 + <!-- to have the jar plugin pickup the nbm generated manifest -->
1.139 + <useDefaultManifestFile>true</useDefaultManifestFile>
1.140 + </configuration>
1.141 + </plugin>
1.142 +
1.143 + <plugin>
1.144 + <groupId>org.apache.maven.plugins</groupId>
1.145 + <artifactId>maven-dependency-plugin</artifactId>
1.146 + <executions>
1.147 + <execution>
1.148 + <id>endorsed</id>
1.149 + <phase>validate</phase>
1.150 + <goals>
1.151 + <goal>copy</goal>
1.152 + </goals>
1.153 + </execution>
1.154 + </executions>
1.155 + <configuration>
1.156 + <outputDirectory>${endorsed.dir}</outputDirectory>
1.157 + <silent>true</silent>
1.158 + <artifactItems>
1.159 + <artifactItem>
1.160 + <groupId>org.netbeans.api</groupId>
1.161 + <artifactId>org-netbeans-libs-javacapi</artifactId>
1.162 + <version>${netbeans.version}</version>
1.163 + </artifactItem>
1.164 + <artifactItem>
1.165 + <groupId>org.netbeans.external</groupId>
1.166 + <artifactId>nb-javac-api</artifactId>
1.167 + <version>${netbeans.version}</version>
1.168 + </artifactItem>
1.169 + <artifactItem>
1.170 + <groupId>org.netbeans.modules</groupId>
1.171 + <artifactId>org-netbeans-libs-javacimpl</artifactId>
1.172 + <version>${netbeans.version}</version>
1.173 + </artifactItem>
1.174 + <artifactItem>
1.175 + <groupId>org.netbeans.external</groupId>
1.176 + <artifactId>nb-javac-impl</artifactId>
1.177 + <version>${netbeans.version}</version>
1.178 + </artifactItem>
1.179 + </artifactItems>
1.180 + </configuration>
1.181 + </plugin>
1.182 + <plugin>
1.183 + <groupId>org.apache.maven.plugins</groupId>
1.184 + <artifactId>maven-surefire-plugin</artifactId>
1.185 + <configuration>
1.186 + <argLine>-Djava.endorsed.dirs=${endorsed.dir}</argLine>
1.187 + </configuration>
1.188 + </plugin>
1.189 + </plugins>
1.190 + </build>
1.191 +</project>