ide/editor/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 17 Sep 2013 15:00:18 +0200
changeset 1286 a83e16b8b825
parent 1103 8ee3112f5647
child 1288 8bf8753226bd
permissions -rw-r--r--
[maven-release-plugin] prepare release release-0.8
     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     <parent>
     5         <artifactId>ide</artifactId>
     6         <groupId>org.apidesign.bck2brwsr</groupId>
     7         <version>0.8</version>
     8     </parent>
     9 
    10     <groupId>org.apidesign.bck2brwsr.ide</groupId>
    11     <artifactId>editor</artifactId>
    12     <version>0.8</version>
    13     <packaging>nbm</packaging>
    14 
    15     <name>Editor Support for Bck2Brwsr</name>
    16 
    17     <properties>
    18         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    19         <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
    20     </properties>
    21 
    22     <repositories>
    23         <!--
    24         Repository hosting NetBeans modules, especially APIs.
    25         Versions are based on IDE releases, e.g.: RELEASE691
    26         To create your own repository, use: nbm:populate-repository
    27         -->
    28         <repository>
    29             <id>netbeans</id>
    30             <name>NetBeans</name>
    31             <url>http://bits.netbeans.org/maven2/</url>
    32             <snapshots>
    33                 <enabled>false</enabled>
    34             </snapshots>
    35         </repository>
    36     </repositories>
    37 
    38     <dependencies>
    39         <dependency>
    40             <groupId>org.netbeans.api</groupId>
    41             <artifactId>org-netbeans-api-annotations-common</artifactId>
    42         </dependency>
    43         <dependency>
    44             <groupId>org.netbeans.api</groupId>
    45             <artifactId>org-netbeans-modules-java-source</artifactId>
    46         </dependency>
    47         <dependency>
    48             <groupId>org.netbeans.api</groupId>
    49             <artifactId>org-netbeans-libs-javacapi</artifactId>
    50         </dependency>
    51         <dependency>
    52             <groupId>org.netbeans.api</groupId>
    53             <artifactId>org-netbeans-spi-java-hints</artifactId>
    54         </dependency>
    55         <dependency>
    56             <groupId>org.netbeans.api</groupId>
    57             <artifactId>org-netbeans-modules-parsing-api</artifactId>
    58         </dependency>
    59         <dependency>
    60             <groupId>org.netbeans.api</groupId>
    61             <artifactId>org-netbeans-spi-editor-hints</artifactId>
    62         </dependency>
    63         <dependency>
    64             <groupId>org.netbeans.api</groupId>
    65             <artifactId>org-openide-util</artifactId>
    66         </dependency>
    67         <dependency>
    68             <groupId>org.netbeans.api</groupId>
    69             <artifactId>org-netbeans-modules-java-lexer</artifactId>
    70         </dependency>
    71         <dependency>
    72             <groupId>org.netbeans.api</groupId>
    73             <artifactId>org-netbeans-modules-lexer</artifactId>
    74         </dependency>
    75         <dependency>
    76             <groupId>org.apidesign.bck2brwsr</groupId>
    77             <artifactId>core</artifactId>
    78             <version>0.8</version>
    79             <type>jar</type>
    80             <scope>test</scope>
    81         </dependency>
    82         <dependency>
    83             <groupId>org.netbeans.api</groupId>
    84             <artifactId>org-netbeans-modules-java-hints-test</artifactId>
    85             <scope>test</scope>
    86         </dependency>
    87         <dependency>
    88             <groupId>org.netbeans.api</groupId>
    89             <artifactId>org-netbeans-libs-junit4</artifactId>
    90             <scope>test</scope>
    91         </dependency>
    92         <dependency>
    93             <groupId>org.netbeans.modules</groupId>
    94             <artifactId>org-netbeans-lib-nbjavac</artifactId>
    95             <scope>test</scope>
    96         </dependency>
    97         <dependency>
    98             <groupId>org.testng</groupId>
    99             <artifactId>testng</artifactId>
   100             <scope>test</scope>
   101         </dependency>
   102     </dependencies>
   103 
   104     <build>
   105         <plugins>
   106             <plugin>
   107                 <groupId>org.codehaus.mojo</groupId>
   108                 <artifactId>nbm-maven-plugin</artifactId>
   109                 <version>3.8</version>
   110                 <extensions>true</extensions>
   111             </plugin>
   112 
   113             <plugin>
   114                 <!-- NetBeans 6.9+ requires JDK 6 -->
   115                 <groupId>org.apache.maven.plugins</groupId>
   116                 <artifactId>maven-compiler-plugin</artifactId>
   117                 <version>2.5.1</version>
   118                 <configuration>
   119                     <source>1.6</source>
   120                     <target>1.6</target>
   121                     <compilerArguments>
   122                         <endorseddirs>${endorsed.dir}</endorseddirs>
   123                     </compilerArguments>
   124                 </configuration>
   125             </plugin>
   126 
   127             <plugin>
   128                 <groupId>org.apache.maven.plugins</groupId>
   129                 <artifactId>maven-jar-plugin</artifactId>
   130                 <version>2.4</version>
   131                 <configuration>
   132                     <!-- to have the jar plugin pickup the nbm generated manifest -->
   133                     <useDefaultManifestFile>true</useDefaultManifestFile>
   134                 </configuration>
   135             </plugin>
   136 
   137             <plugin>
   138                 <groupId>org.apache.maven.plugins</groupId>
   139                 <artifactId>maven-dependency-plugin</artifactId>
   140                 <executions>
   141                     <execution>
   142                         <id>endorsed</id>
   143                         <phase>validate</phase>
   144                         <goals>
   145                             <goal>copy</goal>
   146                         </goals>
   147                     </execution>
   148                 </executions>
   149                 <configuration>
   150                     <outputDirectory>${endorsed.dir}</outputDirectory>
   151                     <silent>true</silent>
   152                     <artifactItems>
   153                         <artifactItem>
   154                             <groupId>org.netbeans.api</groupId>
   155                             <artifactId>org-netbeans-libs-javacapi</artifactId>
   156                             <version>${netbeans.version}</version>
   157                         </artifactItem>
   158                         <artifactItem>
   159                             <groupId>org.netbeans.external</groupId>
   160                             <artifactId>nb-javac-api</artifactId>
   161                             <version>${netbeans.version}</version>
   162                         </artifactItem>
   163                         <artifactItem>
   164                             <groupId>org.netbeans.modules</groupId>
   165                             <artifactId>org-netbeans-libs-javacimpl</artifactId>
   166                             <version>${netbeans.version}</version>
   167                         </artifactItem>
   168                         <artifactItem>
   169                             <groupId>org.netbeans.external</groupId>
   170                             <artifactId>nb-javac-impl</artifactId>
   171                             <version>${netbeans.version}</version>
   172                         </artifactItem>
   173                     </artifactItems>
   174                 </configuration>
   175             </plugin>
   176             <plugin>
   177                 <groupId>org.apache.maven.plugins</groupId>
   178                 <artifactId>maven-surefire-plugin</artifactId>
   179                 <configuration>
   180                     <argLine>-Djava.endorsed.dirs=${endorsed.dir}</argLine>
   181                 </configuration>
   182             </plugin>
   183         </plugins>
   184     </build>
   185 </project>