Skip to content

Commit

Permalink
[maven-release-plugin] prepare branch opal-2.2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed May 8, 2014
1 parent 7e31564 commit 581b345
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 32 deletions.
3 changes: 1 addition & 2 deletions opal-core-api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<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">
<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>
<parent>
Expand Down
3 changes: 1 addition & 2 deletions opal-core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<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">
<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">

<modelVersion>4.0.0</modelVersion>

Expand Down
3 changes: 1 addition & 2 deletions opal-httpd/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?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">
<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>
<parent>
Expand Down
36 changes: 17 additions & 19 deletions opal-server/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?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">
<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>
<parent>
Expand Down Expand Up @@ -161,33 +160,33 @@
</goals>
<configuration>
<target>
<property name="deb.dir" value="${basedir}/target/deb"/>
<property name="deb.version" value="${project.version}-b${buildNumber}"/>
<property name="deb.dir" value="${basedir}/target/deb" />
<property name="deb.version" value="${project.version}-b${buildNumber}" />
<tstamp>
<!-- http://www.debian.org/doc/debian-policy/ch-source.html -->
<format property="deb.date" pattern="EEE, d MMM yyyy HH:mm:ss Z" locale="en"/>
<format property="deb.date" pattern="EEE, d MMM yyyy HH:mm:ss Z" locale="en" />
</tstamp>

<mkdir dir="${deb.dir}"/>
<mkdir dir="${deb.dir}" />
<copy todir="${deb.dir}">
<fileset dir="src/main/deb"/>
<fileset dir="src/main/deb" />
<filterset>
<filter token="project.version" value="${deb.version}"/>
<filter token="date" value="${deb.date}"/>
<filter token="newrelic_version" value="${newrelic.version}"/>
<filter token="project.version" value="${deb.version}" />
<filter token="date" value="${deb.date}" />
<filter token="newrelic_version" value="${newrelic.version}" />
</filterset>
</copy>

<mkdir dir="${deb.dir}/usr/share"/>
<unzip src="${basedir}/target/opal-server-${project.version}-dist.zip" dest="${deb.dir}/usr/share"/>
<mkdir dir="${deb.dir}/usr/share" />
<unzip src="${basedir}/target/opal-server-${project.version}-dist.zip" dest="${deb.dir}/usr/share" />

<mkdir dir="${deb.dir}/etc"/>
<mkdir dir="${deb.dir}/etc" />
<move todir="${deb.dir}/etc/opal">
<fileset dir="${deb.dir}/usr/share/opal-server-${project.version}/conf"/>
<fileset dir="${deb.dir}/usr/share/opal-server-${project.version}/conf" />
</move>

<exec executable="debuild" dir="${deb.dir}" failonerror="true" osfamily="unix">
<arg value="-b"/>
<arg value="-b" />
<!-- Uncomment following options to package locally -->
<!--<arg value="-i" />-->
<!--<arg value="-us" />-->
Expand All @@ -204,9 +203,9 @@
</goals>
<configuration>
<target>
<property name="deb.version" value="${project.version}-b${buildNumber}"/>
<property name="deb.version" value="${project.version}-b${buildNumber}" />
<!-- Deploy deb file in deb repo -->
<copy todir="${obiba.deb.dir}/${opal.deploy.dir}" file="target/opal_${deb.version}_all.deb"/>
<copy todir="${obiba.deb.dir}/${opal.deploy.dir}" file="target/opal_${deb.version}_all.deb" />
</target>
</configuration>
</execution>
Expand All @@ -219,8 +218,7 @@
<configuration>
<target>
<!-- Deploy Opal package file in download repo -->
<copy todir="${obiba.download.dir}/opal/${opal.deploy.dir}"
file="target/opal-server-${project.version}-dist.zip"/>
<copy todir="${obiba.download.dir}/opal/${opal.deploy.dir}" file="target/opal-server-${project.version}-dist.zip" />
</target>
</configuration>
</execution>
Expand Down
3 changes: 1 addition & 2 deletions opal-shell/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?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">
<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>
<parent>
Expand Down
3 changes: 1 addition & 2 deletions opal-upgrade/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<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">
<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">

<modelVersion>4.0.0</modelVersion>

Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?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/maven-v4_0_0.xsd">
<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">

<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -1660,7 +1659,7 @@
<connection>scm:git:git://github.com/obiba/opal.git</connection>
<developerConnection>scm:git:https://github.com/obiba/opal.git</developerConnection>
<url>https://github.com/obiba/opal</url>
<tag>HEAD</tag>
<tag>opal-2.2.x</tag>
</scm>

<issueManagement>
Expand Down

0 comments on commit 581b345

Please sign in to comment.