Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make it easier to make atlassian releases of sitemesh

  • Loading branch information...
commit e9baf699378c360dc2ad0f3258c4ebcb37aeddcf 1 parent f8b0a6e
Matt Quail spudbean authored
Showing with 43 additions and 0 deletions.
  1. +8 −0 build.xml
  2. +35 −0 pom.xml
8 build.xml
View
@@ -123,6 +123,14 @@
</jar>
</target>
+ <target name="sources" depends="compile">
+ <mkdir dir="dist"/>
+ <jar jarfile="dist/${name}-${version}-sources.jar">
+ <fileset dir="src/java"/>
+ <fileset dir="build/java"/>
+ </jar>
+ </target>
+
<target name="blank" depends="jar" description="Builds simple web-app to get started with SiteMesh">
<mkdir dir="dist"/>
<war warfile="dist/${name}-blank.war" webxml="src/etc/blank/WEB-INF/web.xml">
35 pom.xml
View
@@ -0,0 +1,35 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <!--
+ ant clean jar sources
+ mvn deploy:deploy-file -Dfile=./dist/sitemesh-2.4.2.jar -DpomFile=./pom.xml
+ mvn deploy:deploy-file -Dfile=./dist/sitemesh-2.4.2-sources.jar -DpomFile=./pom.xml -Dclassifier=sources
+
+ -->
+
+ <groupId>opensymphony</groupId>
+ <artifactId>sitemesh</artifactId>
+ <version>2.4.2-atlassianmlq-2</version>
+
+ <packaging>jar</packaging>
+ <name>SiteMesh</name>
+ <description>Atlassian's fork of SiteMesh</description>
+ <url>https://github.com/atlassian/sitemesh2</url>
+
+ <distributionManagement>
+ <repository>
+ <id>atlassian-m2-repository</id>
+ <name>Atlassian Public Repository</name>
+ <url>davs://maven.atlassian.com/public/</url>
+ </repository>
+ <snapshotRepository>
+ <id>atlassian-m2-snapshot-repository</id>
+ <name>Atlassian Public Snapshot Repository</name>
+ <url>davs://maven.atlassian.com/public-snapshot</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.