Permalink
Browse files

added github hosted maven support

  • Loading branch information...
1 parent d99f3ce commit 10ac7e3beba924232021bed617f2049890d51f3b @naltatis naltatis committed Apr 18, 2012
View
@@ -0,0 +1,2 @@
+target/
+.DS_Store
View
@@ -72,30 +72,45 @@ see the original [visionmedia/jade documentation](https://github.com/visionmedia
## Usage
-clone this repository
+### via Maven
+
+We are using Github to for Maven hosting. Just add this repository ...
+
+```xml
+<repositories>
+ <repository>
+ <id>jade4j-releases</id>
+ <url>https://github.com/neuland/jade4j/raw/master/releases</url>
+ </repository>
+</repositories>
+```
+
+... and dependency definitions to your `pom.xml`.
+
+```xml
+<dependency>
+ <groupId>de.neuland</groupId>
+ <artifactId>jade4j</artifactId>
+ <version>0.2.0</version>
+</dependency>
+```
+
+### build it yourself
+
+Clone this repository ...
```bash
git clone https://github.com/neuland/jade4j.git
```
-build it using `maven`
+... build it using `maven` ...
```bash
cd jade4j
mvn install
```
-add the dependency to your `pom.xml`
-
-```xml
-<dependency>
- <groupId>de.neuland</groupId>
- <artifactId>jade4j</artifactId>
- <version>0.2.0</version>
-</dependency>
-```
-
-or directly use the `jade4j-0.2.0.jar` located in your target directory.
+... and use the `jade4j-0.x.x.jar` located in your target directory.
<a name="simple-api"></a>
## Simple static API
View
@@ -0,0 +1,2 @@
+#!/bin/bash
+mvn -DaltDeploymentRepository=snapshot-repo::default::file:releases clean deploy
View
@@ -0,0 +1,2 @@
+#!/bin/bash
+mvn -DaltDeploymentRepository=snapshot-repo::default::file:snapshots clean deploy
View
21 pom.xml
@@ -45,6 +45,16 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
+ <distributionManagement>
+ <repository>
+ <id>repo</id>
+ <url>https://github.com/neuland/jade4j/raw/master/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshot-repo</id>
+ <url>https://github.com/neuland/jade4j/raw/master/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
<build>
<plugins>
<plugin>
@@ -60,17 +70,6 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
<dependencies>
Binary file not shown.
@@ -0,0 +1 @@
+a247bd87b76b0d3268735fe479a296bc
@@ -0,0 +1 @@
+5bb8b54f226cbf00dcec7670ec4d691601218c07
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>de.neuland</groupId>
+ <artifactId>jade4j</artifactId>
+ <version>0.2.0</version>
+ <name>jade templating engine for Java VM</name>
+ <issueManagement>
+ <url>https://github.com/neuland/jade4j/issues</url>
+ <system>GitHub Issues</system>
+ </issueManagement>
+
+ <licenses>
+ <license>
+ <name>MIT License</name>
+ <url>http://www.opensource.org/licenses/mit-license.php</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <url>https://github.com/neuland/jade4j</url>
+ <connection>scm:git:git://github.com/neuland/jade4j.git</connection>
+ <developerConnection>scm:git:git@github.com:neuland/jade4j.git</developerConnection>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Artur Tomas</name>
+ <url>https://github.com/atomiccoder</url>
+ <id>atomiccoder</id>
+ </developer>
+ <developer>
+ <name>Stefan Kuper</name>
+ <url>https://github.com/planetk</url>
+ <id>planetk</id>
+ </developer>
+ <developer>
+ <name>Michael Geers</name>
+ <url>https://github.com/naltatis</url>
+ <id>naltatis</id>
+ </developer>
+ </developers>
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <distributionManagement>
+ <repository>
+ <id>repo</id>
+ <url>https://github.com/neuland/jade4j/raw/master/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshot-repo</id>
+ <url>https://github.com/neuland/jade4j/raw/master/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.12</version>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>ognl</groupId>
+ <artifactId>ognl</artifactId>
+ <version>3.0.3</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-expression</artifactId>
+ <version>3.0.5.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.1</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>2.1</version>
+ </dependency>
+
+ <!-- Other dependencies -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.0</version>
+ </dependency>
+
+ <!-- Testing -->
+ <dependency>
+ <groupId>org.hamcrest</groupId>
+ <artifactId>hamcrest-all</artifactId>
+ <version>1.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.10</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.pegdown</groupId>
+ <artifactId>pegdown</artifactId>
+ <version>1.1.0</version>
+ </dependency>
+ </dependencies>
+</project>
@@ -0,0 +1 @@
+68de92334c33fcd44896d99e75fe104b
@@ -0,0 +1 @@
+32183552d6f43144398cc2dc8206d98456bba405
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+ <groupId>de.neuland</groupId>
+ <artifactId>jade4j</artifactId>
+ <versioning>
+ <release>0.2.0</release>
+ <versions>
+ <version>0.2.0</version>
+ </versions>
+ <lastUpdated>20120418180738</lastUpdated>
+ </versioning>
+</metadata>
@@ -0,0 +1 @@
+a7cf1a9e1e4ab1e58dcc50c1af890f88
@@ -0,0 +1 @@
+0150abc348710fda605796d1183c1a00a1298fcd
Binary file not shown.
@@ -0,0 +1 @@
+f4ae7336a76c625d8c702f59beb3c6f0
@@ -0,0 +1 @@
+3d0c7e2c3791a93b1777c0ce3a1ab26d7a7c6ef9
Oops, something went wrong.

0 comments on commit 10ac7e3

Please sign in to comment.