Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?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">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.kie</groupId>
    <artifactId>kie-parent-with-dependencies</artifactId>
    <version>6.0.0.CR4</version>
    <!-- relativePath causes out-of-date problems on hudson slaves -->
    <!--<relativePath>../droolsjbpm-build-bootstrap/pom.xml</relativePath>-->
  </parent>

  <groupId>org.drools</groupId>
  <artifactId>droolsjbpm-build-distribution</artifactId>
  <packaging>pom</packaging>

  <name>Drools and jBPM build distribution</name>
  <description>
    The build distribution contains OSGi bundles, top level assemblies, ... for Drools, jBPM and Guvnor.
  </description>

  <repositories>
    <!-- Bootstrap repository to locate the parent pom when the parent pom has not been build locally. -->
    <repository>
      <id>jboss-public-repository-group</id>
      <name>JBoss Public Repository Group</name>
      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
      <layout>default</layout>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>daily</updatePolicy>
      </snapshots>
    </repository>
  </repositories>

  <scm>
    <connection>scm:git:git@github.com:droolsjbpm/droolsjbpm-build-distribution.git</connection>
    <developerConnection>scm:git:git@github.com:droolsjbpm/droolsjbpm-build-distribution.git</developerConnection>
    <url>https://github.com/droolsjbpm/droolsjbpm-build-distribution</url>
  </scm>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <inherited>false</inherited>
        <configuration>
          <tasks>
            <echo message="Changing kie-commons version from ${droolsOldVersion} to ${droolsNewVersion}"/>
            <!-- In droolsjbpm-parent, update the properties -->
            <replaceregexp match="(&lt;kie-commons.version&gt;)${droolsOldVersion}(&lt;/kie-commons.version&gt;)"
                           replace="\1${droolsNewVersion}\2">
              <fileset dir="${basedir}/..">
                <include name="droolsjbpm-build-bootstrap/pom.xml"/>
              </fileset>
            </replaceregexp>
            <echo message="Changing Drools version from ${droolsOldVersion} to ${droolsNewVersion}"/>
            <!-- In droolsjbpm-parent, update the properties -->
            <replaceregexp match="(&lt;drools.version&gt;)${droolsOldVersion}(&lt;/drools.version&gt;)"
                           replace="\1${droolsNewVersion}\2">
              <fileset dir="${basedir}/..">
                <include name="droolsjbpm-build-bootstrap/pom.xml"/>
              </fileset>
            </replaceregexp>
            <echo message="Changing jbpm version from ${jbpmOldVersion} to ${jbpmNewVersion}"/>
            <!-- In droolsjbpm-parent, update the properties -->
            <replaceregexp match="(&lt;jbpm.version&gt;)${jbpmOldVersion}(&lt;/jbpm.version&gt;)"
                           replace="\1${jbpmNewVersion}\2">
              <fileset dir="${basedir}/..">
                <include name="droolsjbpm-build-bootstrap/pom.xml"/>
              </fileset>
            </replaceregexp>
            <echo message="Changing Uberfire version from ${uberfireOldVersion} to ${uberfireNewVersion}"/>
            <!-- In droolsjbpm-parent, update the properties -->
            <replaceregexp match="(&lt;uberfire.version&gt;)${uberfireOldVersion}(&lt;/uberfire.version&gt;)"
                           replace="\1${uberfireNewVersion}\2">
              <fileset dir="${basedir}/..">
                <include name="droolsjbpm-build-bootstrap/pom.xml"/>
              </fileset>
            </replaceregexp>
          </tasks>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <modules>
  </modules>

  <profiles>
    <profile>
      <id>fullProfile</id>
      <activation>
        <property>
          <name>full</name>
        </property>
      </activation>
      <modules>
        <module>droolsjbpm-uber-distribution</module>
      </modules>
    </profile>
  </profiles>

</project>
New to GrepCode? Check out our FAQ X