rt/emul/mini/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Fri, 07 Feb 2014 10:03:32 +0100
changeset 1435 1b30bba2b38d
parent 1398 9926996eca2d
child 1437 3ec3ae9699ef
permissions -rw-r--r--
[maven-release-plugin] prepare release release-0.8.1
     1 <?xml version="1.0"?>
     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     <groupId>org.apidesign.bck2brwsr</groupId>
     6     <artifactId>emul.pom</artifactId>
     7     <version>0.8.1</version>
     8   </parent>
     9   <groupId>org.apidesign.bck2brwsr</groupId>
    10   <artifactId>emul.mini</artifactId>
    11   <version>0.8.1</version>
    12   <name>Minimal API Profile</name>
    13   <url>http://maven.apache.org</url>
    14   <properties>
    15     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    16   </properties>
    17   <dependencies>
    18     <dependency>
    19       <groupId>org.apidesign.bck2brwsr</groupId>
    20       <artifactId>core</artifactId>
    21       <version>0.8.1</version>
    22       <type>jar</type>
    23     </dependency>
    24     <dependency>
    25       <groupId>org.testng</groupId>
    26       <artifactId>testng</artifactId>
    27       <version>6.5.2</version>
    28       <scope>test</scope>
    29     </dependency>
    30   </dependencies>
    31   <build>
    32       <plugins>
    33           <plugin>
    34               <artifactId>maven-antrun-plugin</artifactId>
    35               <version>1.7</version>
    36               <executions>
    37                   <execution>
    38                       <phase>generate-sources</phase>
    39                       <configuration>
    40                           <target>
    41                               <mkdir dir="${project.build.directory}/bootcp" />
    42                               <copy todir="${project.build.directory}/bootcp">
    43                                   <resources>
    44                                       <!-- copy all resources that are in
    45                                         compact profile, but are referenced from
    46                                         the mini profile
    47                                       -->
    48                                       <javaresource name="java/net/URI.class" />
    49                                       <javaresource name="java/net/URISyntaxException.class" />
    50                                       <javaresource name="java/net/URLConnection.class" />
    51                                       <javaresource name="java/util/Locale.class" />
    52                                       <javaresource name="java/io/OutputStream.class" />
    53                                       <javaresource name="java/io/FilterOutputStream.class" />
    54                                       <javaresource name="java/io/PrintStream.class" />
    55                                       <javaresource name="java/io/PrintWriter.class" />
    56                                       <javaresource name="java/io/Writer.class" />
    57                                   </resources>
    58                               </copy>
    59                           </target>
    60                       </configuration>
    61                       <goals>
    62                           <goal>run</goal>
    63                       </goals>
    64                   </execution>
    65               </executions>
    66           </plugin>
    67           <plugin>
    68               <groupId>org.apache.maven.plugins</groupId>
    69               <artifactId>maven-compiler-plugin</artifactId>
    70               <version>2.5.1</version>
    71               <configuration>
    72                   <compilerArguments>
    73                       <!--
    74                         <bootclasspath>netbeans.ignore.jdk.bootsclasspath</bootclasspath>
    75                       -->
    76                       <bootclasspath>${project.build.directory}/bootcp/</bootclasspath>
    77                   </compilerArguments>
    78                  <source>1.7</source>
    79                  <target>1.7</target>
    80               </configuration>
    81           </plugin>
    82           <plugin>
    83               <groupId>org.apache.maven.plugins</groupId>
    84               <artifactId>maven-javadoc-plugin</artifactId>
    85               <configuration>
    86                   <excludePackageNames>org.apidesign.bck2brwsr.emul.*</excludePackageNames>
    87                   <skip>false</skip>
    88               </configuration>
    89           </plugin>
    90           <plugin>
    91               <groupId>org.apache.maven.plugins</groupId>
    92               <artifactId>maven-source-plugin</artifactId>
    93               <version>2.2.1</version>
    94               <executions>
    95                   <execution>
    96                       <id>prepare-sources</id>
    97                       <goals>
    98                           <goal>jar</goal>
    99                       </goals>
   100                       <phase>package</phase>
   101                   </execution>
   102               </executions>
   103           </plugin>
   104       </plugins>
   105   </build>
   106 </project>