DOS -> Unix
authorJaroslav Tulach <jtulach@netbeans.org>
Tue, 13 Aug 2013 15:56:04 +0200
changeset 40da7178b65f36
parent 39 43c71f709cc8
child 41 d575ea92c508
DOS -> Unix
spinningcube/pom.xml
     1.1 --- a/spinningcube/pom.xml	Tue Aug 13 15:17:28 2013 +0200
     1.2 +++ b/spinningcube/pom.xml	Tue Aug 13 15:56:04 2013 +0200
     1.3 @@ -1,148 +1,148 @@
     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>demo</artifactId>
     1.9 -    <groupId>org.apidesign.html</groupId>
    1.10 -    <version>1.0-SNAPSHOT</version>
    1.11 -  </parent>
    1.12 -
    1.13 -  <groupId>org.apidesign.demo</groupId>
    1.14 -  <artifactId>spinningcube</artifactId>
    1.15 -  <version>1.0-SNAPSHOT</version>
    1.16 -  <packaging>jar</packaging>
    1.17 -
    1.18 -  <name>Spinning_Cube</name>
    1.19 -
    1.20 -  <pluginRepositories>
    1.21 -      <pluginRepository>
    1.22 -          <id>ios</id>
    1.23 -          <name>NetBeans iOS Maven Plugin</name>
    1.24 -          <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
    1.25 -          <snapshots>
    1.26 -          </snapshots>
    1.27 -      </pluginRepository>
    1.28 -  </pluginRepositories>
    1.29 -
    1.30 -  <properties>
    1.31 -    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.32 -    <net.java.html.version>0.4</net.java.html.version>
    1.33 -    <project.mainclass>org.apidesign.demo.spinningcube.Main</project.mainclass>
    1.34 -    <netbeans.compile.on.save>none</netbeans.compile.on.save>
    1.35 -  </properties>
    1.36 -  <build>
    1.37 -      <plugins>
    1.38 -          <plugin>
    1.39 -              <groupId>org.apache.maven.plugins</groupId>
    1.40 -              <artifactId>maven-compiler-plugin</artifactId>
    1.41 -              <version>2.3.2</version>
    1.42 -              <configuration>
    1.43 -                  <source>1.7</source>
    1.44 -                  <target>1.7</target>
    1.45 -              </configuration>
    1.46 -          </plugin>
    1.47 -          <plugin>
    1.48 -              <groupId>org.apache.maven.plugins</groupId>
    1.49 -              <artifactId>maven-jar-plugin</artifactId>
    1.50 -              <version>2.4</version>
    1.51 -              <configuration>
    1.52 -                  <archive>
    1.53 -                      <manifest>
    1.54 -                          <mainClass>${project.mainclass}</mainClass>
    1.55 -                          <addClasspath>true</addClasspath>
    1.56 -                          <classpathPrefix>lib/</classpathPrefix>
    1.57 -                      </manifest>
    1.58 -                  </archive>
    1.59 -              </configuration>
    1.60 -          </plugin>
    1.61 -          <plugin>
    1.62 -              <groupId>org.codehaus.mojo</groupId>
    1.63 -              <artifactId>exec-maven-plugin</artifactId>
    1.64 -              <version>1.2.1</version>
    1.65 -              <configuration>
    1.66 -                  <systemProperties>
    1.67 -                      <systemProperty>
    1.68 -                          <key>browser.rootdir</key>
    1.69 -                          <value>${basedir}/src/main/webapp/</value>
    1.70 -                      </systemProperty>
    1.71 -                  </systemProperties>
    1.72 -                  <mainClass>${project.mainclass}</mainClass>
    1.73 -              </configuration>
    1.74 -          </plugin>      
    1.75 -          <plugin>
    1.76 -              <artifactId>maven-assembly-plugin</artifactId>
    1.77 -              <version>2.4</version>
    1.78 -              <executions>
    1.79 -                  <execution>
    1.80 -                      <id>distro-assembly</id>
    1.81 -                      <phase>package</phase>
    1.82 -                      <goals>
    1.83 -                          <goal>single</goal>
    1.84 -                      </goals>
    1.85 -                      <configuration>
    1.86 -                          <descriptors>
    1.87 -                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
    1.88 -                          </descriptors>
    1.89 -                      </configuration>
    1.90 -                  </execution>
    1.91 -              </executions>                
    1.92 -          </plugin>      
    1.93 -      </plugins>
    1.94 -  </build>
    1.95 -  <dependencies>
    1.96 -    <dependency>
    1.97 -        <groupId>org.apidesign.html</groupId>
    1.98 -        <artifactId>net.java.html.json</artifactId>
    1.99 -        <version>${net.java.html.version}</version>
   1.100 -    </dependency>
   1.101 -    <dependency>
   1.102 -        <groupId>org.apidesign.html</groupId>
   1.103 -        <artifactId>net.java.html.boot</artifactId>
   1.104 -        <version>${net.java.html.version}</version>
   1.105 -    </dependency>
   1.106 -    <dependency>
   1.107 -        <groupId>org.apidesign.html</groupId>
   1.108 -        <artifactId>ko-fx</artifactId>
   1.109 -        <version>${net.java.html.version}</version>
   1.110 -        <scope>runtime</scope>
   1.111 -    </dependency>
   1.112 -    <dependency>
   1.113 -        <groupId>org.apidesign.html</groupId>
   1.114 -        <artifactId>boot-fx</artifactId>
   1.115 -        <version>${net.java.html.version}</version>
   1.116 -        <scope>runtime</scope>
   1.117 -    </dependency>
   1.118 -    <dependency>
   1.119 -      <groupId>org.testng</groupId>
   1.120 -      <artifactId>testng</artifactId>
   1.121 -      <version>6.7</version>
   1.122 -      <scope>test</scope>
   1.123 -    </dependency>
   1.124 -  </dependencies>
   1.125 -  <profiles>
   1.126 -      <profile>
   1.127 -          <id>iOS</id>
   1.128 -          <activation>
   1.129 -              <os>
   1.130 -                  <family>mac</family>
   1.131 -                  <name>Mac OS X</name>
   1.132 -              </os>
   1.133 -          </activation>
   1.134 -          <build>
   1.135 -              <plugins>
   1.136 -                  <plugin>
   1.137 -                      <groupId>org.netbeans.ios</groupId>
   1.138 -                      <artifactId>ios-maven-plugin</artifactId>
   1.139 -                      <version>0.2</version>
   1.140 -                      <configuration>
   1.141 -                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
   1.142 -                          <title>${project.name}</title>
   1.143 -                          <mainclass>${project.mainclass}</mainclass>
   1.144 -                          <resourcesDir>src/main/webapp/</resourcesDir>
   1.145 -                      </configuration>
   1.146 -                  </plugin>
   1.147 -              </plugins>
   1.148 -          </build>
   1.149 -      </profile>
   1.150 -  </profiles>  
   1.151 -</project>
   1.152 +<?xml version="1.0" encoding="UTF-8"?>
   1.153 +<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.154 +  <modelVersion>4.0.0</modelVersion>
   1.155 +  <parent>
   1.156 +    <artifactId>demo</artifactId>
   1.157 +    <groupId>org.apidesign.html</groupId>
   1.158 +    <version>1.0-SNAPSHOT</version>
   1.159 +  </parent>
   1.160 +
   1.161 +  <groupId>org.apidesign.demo</groupId>
   1.162 +  <artifactId>spinningcube</artifactId>
   1.163 +  <version>1.0-SNAPSHOT</version>
   1.164 +  <packaging>jar</packaging>
   1.165 +
   1.166 +  <name>Spinning_Cube</name>
   1.167 +
   1.168 +  <pluginRepositories>
   1.169 +      <pluginRepository>
   1.170 +          <id>ios</id>
   1.171 +          <name>NetBeans iOS Maven Plugin</name>
   1.172 +          <url>http://beetle.cz.oracle.com/~jtulach/maven/</url>
   1.173 +          <snapshots>
   1.174 +          </snapshots>
   1.175 +      </pluginRepository>
   1.176 +  </pluginRepositories>
   1.177 +
   1.178 +  <properties>
   1.179 +    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   1.180 +    <net.java.html.version>0.4</net.java.html.version>
   1.181 +    <project.mainclass>org.apidesign.demo.spinningcube.Main</project.mainclass>
   1.182 +    <netbeans.compile.on.save>none</netbeans.compile.on.save>
   1.183 +  </properties>
   1.184 +  <build>
   1.185 +      <plugins>
   1.186 +          <plugin>
   1.187 +              <groupId>org.apache.maven.plugins</groupId>
   1.188 +              <artifactId>maven-compiler-plugin</artifactId>
   1.189 +              <version>2.3.2</version>
   1.190 +              <configuration>
   1.191 +                  <source>1.7</source>
   1.192 +                  <target>1.7</target>
   1.193 +              </configuration>
   1.194 +          </plugin>
   1.195 +          <plugin>
   1.196 +              <groupId>org.apache.maven.plugins</groupId>
   1.197 +              <artifactId>maven-jar-plugin</artifactId>
   1.198 +              <version>2.4</version>
   1.199 +              <configuration>
   1.200 +                  <archive>
   1.201 +                      <manifest>
   1.202 +                          <mainClass>${project.mainclass}</mainClass>
   1.203 +                          <addClasspath>true</addClasspath>
   1.204 +                          <classpathPrefix>lib/</classpathPrefix>
   1.205 +                      </manifest>
   1.206 +                  </archive>
   1.207 +              </configuration>
   1.208 +          </plugin>
   1.209 +          <plugin>
   1.210 +              <groupId>org.codehaus.mojo</groupId>
   1.211 +              <artifactId>exec-maven-plugin</artifactId>
   1.212 +              <version>1.2.1</version>
   1.213 +              <configuration>
   1.214 +                  <systemProperties>
   1.215 +                      <systemProperty>
   1.216 +                          <key>browser.rootdir</key>
   1.217 +                          <value>${basedir}/src/main/webapp/</value>
   1.218 +                      </systemProperty>
   1.219 +                  </systemProperties>
   1.220 +                  <mainClass>${project.mainclass}</mainClass>
   1.221 +              </configuration>
   1.222 +          </plugin>      
   1.223 +          <plugin>
   1.224 +              <artifactId>maven-assembly-plugin</artifactId>
   1.225 +              <version>2.4</version>
   1.226 +              <executions>
   1.227 +                  <execution>
   1.228 +                      <id>distro-assembly</id>
   1.229 +                      <phase>package</phase>
   1.230 +                      <goals>
   1.231 +                          <goal>single</goal>
   1.232 +                      </goals>
   1.233 +                      <configuration>
   1.234 +                          <descriptors>
   1.235 +                              <descriptor>src/main/assembly/html.java.net.xml</descriptor>
   1.236 +                          </descriptors>
   1.237 +                      </configuration>
   1.238 +                  </execution>
   1.239 +              </executions>                
   1.240 +          </plugin>      
   1.241 +      </plugins>
   1.242 +  </build>
   1.243 +  <dependencies>
   1.244 +    <dependency>
   1.245 +        <groupId>org.apidesign.html</groupId>
   1.246 +        <artifactId>net.java.html.json</artifactId>
   1.247 +        <version>${net.java.html.version}</version>
   1.248 +    </dependency>
   1.249 +    <dependency>
   1.250 +        <groupId>org.apidesign.html</groupId>
   1.251 +        <artifactId>net.java.html.boot</artifactId>
   1.252 +        <version>${net.java.html.version}</version>
   1.253 +    </dependency>
   1.254 +    <dependency>
   1.255 +        <groupId>org.apidesign.html</groupId>
   1.256 +        <artifactId>ko-fx</artifactId>
   1.257 +        <version>${net.java.html.version}</version>
   1.258 +        <scope>runtime</scope>
   1.259 +    </dependency>
   1.260 +    <dependency>
   1.261 +        <groupId>org.apidesign.html</groupId>
   1.262 +        <artifactId>boot-fx</artifactId>
   1.263 +        <version>${net.java.html.version}</version>
   1.264 +        <scope>runtime</scope>
   1.265 +    </dependency>
   1.266 +    <dependency>
   1.267 +      <groupId>org.testng</groupId>
   1.268 +      <artifactId>testng</artifactId>
   1.269 +      <version>6.7</version>
   1.270 +      <scope>test</scope>
   1.271 +    </dependency>
   1.272 +  </dependencies>
   1.273 +  <profiles>
   1.274 +      <profile>
   1.275 +          <id>iOS</id>
   1.276 +          <activation>
   1.277 +              <os>
   1.278 +                  <family>mac</family>
   1.279 +                  <name>Mac OS X</name>
   1.280 +              </os>
   1.281 +          </activation>
   1.282 +          <build>
   1.283 +              <plugins>
   1.284 +                  <plugin>
   1.285 +                      <groupId>org.netbeans.ios</groupId>
   1.286 +                      <artifactId>ios-maven-plugin</artifactId>
   1.287 +                      <version>0.2</version>
   1.288 +                      <configuration>
   1.289 +                          <jarfile>${project.build.directory}/${project.build.finalName}.jar</jarfile>
   1.290 +                          <title>${project.name}</title>
   1.291 +                          <mainclass>${project.mainclass}</mainclass>
   1.292 +                          <resourcesDir>src/main/webapp/</resourcesDir>
   1.293 +                      </configuration>
   1.294 +                  </plugin>
   1.295 +              </plugins>
   1.296 +          </build>
   1.297 +      </profile>
   1.298 +  </profiles>  
   1.299 +</project>