PageRenderTime 101ms CodeModel.GetById 98ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-jrebel/pom.xml

http://github.com/scalate/scalate
XML | 104 lines | 76 code | 8 blank | 20 comment | 0 complexity | f372a27c998151651f997a97a54d9918 MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<!--
  3
  4    Copyright (C) 2009-2011 the original author or authors.
  5    See the notice.md file distributed with this work for additional
  6    information regarding copyright ownership.
  7
  8    Licensed under the Apache License, Version 2.0 (the "License");
  9    you may not use this file except in compliance with the License.
 10    You may obtain a copy of the License at
 11
 12        http://www.apache.org/licenses/LICENSE-2.0
 13
 14    Unless required by applicable law or agreed to in writing, software
 15    distributed under the License is distributed on an "AS IS" BASIS,
 16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 17    See the License for the specific language governing permissions and
 18    limitations under the License.
 19
 20-->
 21<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/maven-v4_0_0.xsd">
 22  <modelVersion>4.0.0</modelVersion>
 23  <parent>
 24    <groupId>org.scalatra.scalate</groupId>
 25    <artifactId>scalate-project_2.10</artifactId>
 26    <version>1.7.2-SNAPSHOT</version>
 27  </parent>
 28
 29  <artifactId>scalate-jrebel_2.10</artifactId>
 30
 31  <name>Scalate JRebel</name>
 32  <description>JRebel plugin to reload Scalate templates on class reload</description>
 33
 34  <dependencies>
 35    <dependency>
 36      <groupId>org.scalatra.scalate</groupId>
 37      <artifactId>scalate-core_2.10</artifactId>
 38      <version>${project.version}</version>
 39    </dependency>
 40    <dependency>
 41      <groupId>org.zeroturnaround</groupId>
 42      <artifactId>jr-sdk</artifactId>
 43      <version>4.6.2</version>
 44      <scope>provided</scope>
 45    </dependency>
 46  </dependencies>
 47
 48  <build>
 49    <plugins>
 50      <plugin>
 51        <groupId>org.zeroturnaround</groupId>
 52        <artifactId>javarebel-maven-plugin</artifactId>
 53        <version>1.0.5</version>
 54        <executions>
 55          <execution>
 56            <id>generate-rebel-xml</id>
 57            <phase>process-resources</phase>
 58            <goals>
 59              <goal>generate</goal>
 60            </goals>
 61          </execution>
 62        </executions>
 63        <configuration>
 64          <packaging>jar</packaging>
 65        </configuration>
 66      </plugin>
 67      <plugin>
 68        <groupId>org.apache.maven.plugins</groupId>
 69        <artifactId>maven-source-plugin</artifactId>
 70      </plugin>
 71    </plugins>
 72  </build>
 73
 74  <profiles>
 75    <profile>
 76      <id>download</id>
 77
 78      <pluginRepositories>
 79        <pluginRepository>
 80          <id>zt-repo</id>
 81          <name>Zero turnaround repo</name>
 82          <url>http://repos.zeroturnaround.com/nexus/content/groups/zt-public</url>
 83        </pluginRepository>
 84      </pluginRepositories>
 85
 86      <repositories>
 87	    <repository>
 88	        <id>zt-repo</id>
 89	        <url>http://repos.zeroturnaround.com/nexus/content/groups/zt-public</url>
 90	        <releases>
 91	            <!-- <checksumPolicy>ignore</checksumPolicy>-->
 92                <updatePolicy>always</updatePolicy>
 93                <enabled>true</enabled>
 94	        </releases>
 95	        <snapshots>
 96                <updatePolicy>always</updatePolicy>
 97	            <enabled>false</enabled>
 98	        </snapshots>
 99	    </repository>
100      </repositories>
101    </profile>
102  </profiles>
103
104</project>