vm/pom.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 05 Feb 2013 15:32:16 +0100
branchemul
changeset 673 62b514a70382
parent 672 add357fd6c5c
child 691 10194cb7ffc2
permissions -rw-r--r--
Expose the bck2brwsr.js as artefact
jaroslav@0
     1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
jaroslav@0
     2
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
jaroslav@0
     3
  <modelVersion>4.0.0</modelVersion>
jaroslav@25
     4
  <parent>
jaroslav@25
     5
    <groupId>org.apidesign</groupId>
jaroslav@25
     6
    <artifactId>bck2brwsr</artifactId>
jtulach@218
     7
    <version>0.3-SNAPSHOT</version>
jaroslav@25
     8
  </parent>
jaroslav@0
     9
jaroslav@100
    10
  <groupId>org.apidesign.bck2brwsr</groupId>
jaroslav@22
    11
  <artifactId>vm4brwsr</artifactId>
jtulach@218
    12
  <version>0.3-SNAPSHOT</version>
jaroslav@0
    13
  <packaging>jar</packaging>
jaroslav@0
    14
jaroslav@673
    15
  <name>Virtual Machine for Browser</name>
jaroslav@22
    16
  <url>http://bck2brwsr.apidesign.org</url>
jaroslav@0
    17
jaroslav@0
    18
  <properties>
jaroslav@0
    19
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
jaroslav@0
    20
    <author.name>Jaroslav Tulach</author.name>
jaroslav@0
    21
    <author.email>jaroslav.tulach@apidesign.org</author.email>
jaroslav@0
    22
  </properties>
jaroslav@0
    23
  
jaroslav@0
    24
  <repositories>
jaroslav@0
    25
      <repository>
jaroslav@0
    26
          <id>netbeans</id>
jaroslav@0
    27
          <name>NetBeans</name>
jaroslav@0
    28
          <url>http://bits.netbeans.org/maven2/</url>
jaroslav@0
    29
      </repository>
jaroslav@0
    30
  </repositories>
jaroslav@0
    31
  <pluginRepositories>
jaroslav@0
    32
    <pluginRepository>
jaroslav@0
    33
        <id>mc-release</id>
jaroslav@0
    34
        <name>Local Maven repository of releases</name>
jaroslav@0
    35
        <url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
jaroslav@0
    36
        <snapshots>
jaroslav@0
    37
            <enabled>false</enabled>
jaroslav@0
    38
        </snapshots>
jaroslav@0
    39
        <releases>
jaroslav@0
    40
            <enabled>true</enabled>
jaroslav@0
    41
        </releases>
jaroslav@0
    42
    </pluginRepository>
jaroslav@0
    43
  </pluginRepositories>
jaroslav@0
    44
  <scm>
jaroslav@22
    45
      <connection>scm:hg:http://source.apidesign.org/hg/bck2brwsr</connection>
jaroslav@22
    46
      <url>http://source.apidesign.org/hg/bck2brwsr</url>
jaroslav@0
    47
  </scm>
jaroslav@29
    48
  <build>
jaroslav@29
    49
      <plugins>
jaroslav@29
    50
          <plugin>
jaroslav@29
    51
              <groupId>org.apache.maven.plugins</groupId>
jaroslav@29
    52
              <artifactId>maven-jar-plugin</artifactId>
jaroslav@41
    53
              <version>2.4</version>
jaroslav@29
    54
              <configuration>
jaroslav@29
    55
                  <archive>
jaroslav@29
    56
                      <manifest>
jaroslav@138
    57
                          <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
jaroslav@29
    58
                      </manifest>
jaroslav@29
    59
                  </archive>
jaroslav@29
    60
              </configuration>
jaroslav@29
    61
          </plugin>
jaroslav@151
    62
         <plugin>
jaroslav@151
    63
            <groupId>org.apache.maven.plugins</groupId>
jaroslav@151
    64
            <artifactId>maven-compiler-plugin</artifactId>
jaroslav@151
    65
            <version>2.3.2</version>
jaroslav@151
    66
            <configuration>
jtulach@196
    67
               <source>1.7</source>
jtulach@196
    68
               <target>1.7</target>
jaroslav@151
    69
            </configuration>
jaroslav@151
    70
         </plugin>
jaroslav@673
    71
         <plugin>
jaroslav@673
    72
             <groupId>org.codehaus.mojo</groupId>
jaroslav@673
    73
             <artifactId>exec-maven-plugin</artifactId>
jaroslav@673
    74
             <version>1.2.1</version>
jaroslav@673
    75
             <executions>
jaroslav@673
    76
                 <execution>
jaroslav@673
    77
                     <id>generate-js</id>
jaroslav@673
    78
                     <phase>process-classes</phase>
jaroslav@673
    79
                     <goals>
jaroslav@673
    80
                         <goal>java</goal>
jaroslav@673
    81
                     </goals>
jaroslav@673
    82
                 </execution>
jaroslav@673
    83
             </executions>
jaroslav@673
    84
             <configuration>
jaroslav@673
    85
                 <mainClass>org.apidesign.vm4brwsr.Main</mainClass>
jaroslav@673
    86
                 <arguments>
jaroslav@673
    87
                     <argument>${project.build.directory}/bck2brwsr.js</argument>
jaroslav@673
    88
                     <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
jaroslav@673
    89
                 </arguments>
jaroslav@673
    90
             </configuration>
jaroslav@673
    91
         </plugin>
jaroslav@673
    92
         <plugin>
jaroslav@673
    93
             <artifactId>maven-assembly-plugin</artifactId>
jaroslav@673
    94
             <version>2.4</version>
jaroslav@673
    95
             <executions>
jaroslav@673
    96
                 <execution>
jaroslav@673
    97
                     <id>js</id>
jaroslav@673
    98
                     <phase>package</phase>
jaroslav@673
    99
                     <goals>
jaroslav@673
   100
                         <goal>single</goal>
jaroslav@673
   101
                     </goals>
jaroslav@673
   102
                     <configuration>
jaroslav@673
   103
                         <descriptors>
jaroslav@673
   104
                             <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
jaroslav@673
   105
                         </descriptors>
jaroslav@673
   106
                     </configuration>
jaroslav@673
   107
                 </execution>
jaroslav@673
   108
             </executions>                
jaroslav@673
   109
         </plugin>      
jaroslav@29
   110
      </plugins>
jaroslav@29
   111
  </build>
jaroslav@0
   112
  <dependencies>
jaroslav@0
   113
    <dependency>
jaroslav@0
   114
      <groupId>org.testng</groupId>
jaroslav@0
   115
      <artifactId>testng</artifactId>
jaroslav@0
   116
      <scope>test</scope>
jaroslav@0
   117
      <exclusions>
jaroslav@0
   118
        <exclusion>
jaroslav@0
   119
          <artifactId>junit</artifactId>
jaroslav@0
   120
          <groupId>junit</groupId>
jaroslav@0
   121
        </exclusion>
jaroslav@0
   122
      </exclusions>
jaroslav@0
   123
    </dependency>
jaroslav@0
   124
    <dependency>
jtulach@218
   125
      <groupId>${project.groupId}</groupId>
jaroslav@91
   126
      <artifactId>core</artifactId>
jaroslav@672
   127
      <version>${project.version}</version>
jaroslav@91
   128
      <type>jar</type>
jaroslav@91
   129
    </dependency>
jaroslav@93
   130
    <dependency>
jtulach@218
   131
      <groupId>${project.groupId}</groupId>
jaroslav@554
   132
      <artifactId>emul.mini</artifactId>
jaroslav@672
   133
      <version>${project.version}</version>
jaroslav@672
   134
      <scope>compile</scope>
jaroslav@93
   135
    </dependency>
jaroslav@151
   136
    <dependency>
jaroslav@151
   137
      <groupId>${project.groupId}</groupId>
jaroslav@151
   138
      <artifactId>javap</artifactId>
jaroslav@672
   139
      <version>${project.version}</version>
jaroslav@151
   140
    </dependency>
jaroslav@0
   141
  </dependencies>
jaroslav@0
   142
</project>