Skip to content

Commit

Permalink
Preparing maven release
Browse files Browse the repository at this point in the history
  • Loading branch information
GenticsDev committed May 24, 2012
1 parent 28fea30 commit 22514cc
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 0 deletions.
117 changes: 117 additions & 0 deletions pom.xml.releaseBackup
@@ -0,0 +1,117 @@
<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>org.alohaeditor</groupId>
<artifactId>alohaeditor</artifactId>
<version>0.20.12-SNAPSHOT</version>
<packaging>pom</packaging>

<name>Aloha Editor</name>
<url>http://aloha-editor.org</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyyMMdd-HHmmss</maven.build.timestamp.format>
<ALOHABUILDCONF>build/aloha</ALOHABUILDCONF>
<ALOHADEPLOYMENTURL>NA</ALOHADEPLOYMENTURL>
<ALOHADEPLOYMENTPATH>NA</ALOHADEPLOYMENTPATH>
</properties>

<scm>
<connection>scm:git:git@github.com:alohaeditor/Aloha-Editor.git</connection>
<developerConnection>scm:git:git@github.com:alohaeditor/Aloha-Editor.git</developerConnection>
<url>https://github.com/alohaeditor/Aloha-Editor</url>
</scm>


<build>
<plugins>

<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>dist</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<attach>true</attach>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>${project.basedir}/build/dist-package.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
<id>source</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<attach>true</attach>
<appendAssemblyId>true</appendAssemblyId>
<descriptors>
<descriptor>${project.basedir}/build/source-package.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<phase>deploy</phase>
<id>deploy</id>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bin/deploy-aloha.sh</executable>
<arguments>
<argument>${ALOHADEPLOYMENTURL}</argument>
<argument>${ALOHADEPLOYMENTPATH}</argument>
<argument>${maven.build.timestamp}</argument>
</arguments>
</configuration>
</execution>
<execution>
<phase>compile</phase>
<id>invoke build</id>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bin/build.sh</executable>
<arguments>
<argument>${ALOHABUILDCONF}</argument>
</arguments>
</configuration>
</execution>

</executions>
</plugin>
</plugins>
</build>

<distributionManagement>
<repository>
<id>archiva.com.gentics.public</id>
<name>Gentics Public Repository</name>
<url>http://archiva.gentics.com:8081/archiva/repository/com.gentics.public</url>
</repository>
<snapshotRepository>
<id>archiva.com.gentics.public_snapshots</id>
<name>Gentics Public Snapshots Repository</name>
<url>http://archiva.gentics.com:8081/archiva/repository/com.gentics.public_snapshots</url>
</snapshotRepository>
</distributionManagement>
</project>

15 changes: 15 additions & 0 deletions release.properties
@@ -0,0 +1,15 @@
#release configuration
#Thu May 24 18:03:17 CEST 2012
project.scm.org.alohaeditor\:alohaeditor.developerConnection=scm\:git\:git@github.com\:alohaeditor/Aloha-Editor.git
scm.tag=alohaeditor-0.20.12
scm.url=scm\:git\:git@github.com\:alohaeditor/Aloha-Editor.git
preparationGoals=clean verify
project.dev.org.alohaeditor\:alohaeditor=0.20.13-SNAPSHOT
remoteTagging=true
scm.commentPrefix=[maven-release-plugin]
project.rel.org.alohaeditor\:alohaeditor=0.20.12
project.scm.org.alohaeditor\:alohaeditor.tag=HEAD
project.scm.org.alohaeditor\:alohaeditor.url=https\://github.com/alohaeditor/Aloha-Editor
project.scm.org.alohaeditor\:alohaeditor.connection=scm\:git\:git@github.com\:alohaeditor/Aloha-Editor.git
exec.additionalArguments=-P build_sdk_plugin,compiler
completedPhase=end-release

0 comments on commit 22514cc

Please sign in to comment.