ignite-release-test ignite.version to project.version, assembly module migration
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/457d64b2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/457d64b2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/457d64b2 Branch: refs/heads/ignite-release-test Commit: 457d64b2cd2381ca73c1fc448ce4ab13ca9d3128 Parents: 5cb5ae8 Author: avinogradov <avinogra...@gridgain.com> Authored: Tue Mar 3 18:53:40 2015 +0300 Committer: avinogradov <avinogra...@gridgain.com> Committed: Tue Mar 3 18:53:40 2015 +0300 ---------------------------------------------------------------------- assembly/modules/package/pom.xml | 486 ---------------------------------- examples/pom-standalone.xml | 1 - modules/assembly/pom.xml | 486 ++++++++++++++++++++++++++++++++++ modules/core/pom.xml | 4 +- modules/scalar/pom.xml | 2 +- modules/visor-console/pom.xml | 2 +- pom.xml | 15 +- 7 files changed, 497 insertions(+), 499 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/assembly/modules/package/pom.xml ---------------------------------------------------------------------- diff --git a/assembly/modules/package/pom.xml b/assembly/modules/package/pom.xml deleted file mode 100644 index ca0eec1..0000000 --- a/assembly/modules/package/pom.xml +++ /dev/null @@ -1,486 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<!-- - POM file. ---> -<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> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - <relativePath>../../..</relativePath> - </parent> - - <artifactId>ignite-assembly</artifactId> - <packaging>pom</packaging> - - <properties> - <ignite.home>${project.basedir}/${parent.relativePath}</ignite.home> - </properties> - - <dependencies> - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-spring</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-indexing</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-aop</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-aws</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-hibernate</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-jcl</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-jta</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-log4j</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-rest-http</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-schedule</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-slf4j</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-urideploy</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-web</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-scalar</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-visor-plugins</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-visor-console</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-ssh</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-schema-load</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-hadoop</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>release</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.7</version> - <inherited>false</inherited> - <dependencies> - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-tools</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - </dependencies> - <executions> - <execution> - <id>release-postprocessing</id> - <goals> - <goal>run</goal> - </goals> - <phase>package</phase> - <configuration> - <target> - <replaceregexp byline="true"> - <regexp pattern='pushd "%~dp0"/\.\./\.\.(\s*&::.+)?'/> - <substitution expression='pushd "%~dp0"/..'/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.bat"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='IGNITE_HOME_TMP="\$\(dirname "\$\{IGNITE_HOME_TMP\}"\)"(\s*#.*)?'/> - <substitution expression=""/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.sh"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='set SCRIPTS_HOME=%IGNITE_HOME%\\os\\bin(\s*&::.*)?'/> - <substitution expression='set SCRIPTS_HOME=%IGNITE_HOME%\\\\bin'/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.bat"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='SCRIPTS_HOME="\$\{IGNITE_HOME_TMP\}/os/bin"(\s*#.*)?'/> - <substitution expression='SCRIPTS_HOME="$${IGNITE_HOME_TMP}/bin"'/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.sh"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='\. "\$\{SCRIPTS_HOME\}"/include/target-classpath.sh(\s*#.*)?'/> - <substitution expression=""/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.sh"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='call "%SCRIPTS_HOME%\\include\\target-classpath.bat"(\s*&::.*)?'/> - <substitution expression=""/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.bat"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='ENABLE_ASSERTIONS=.*'/> - <substitution expression="ENABLE_ASSERTIONS="0""/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.sh"/> - </fileset> - </replaceregexp> - - <replaceregexp byline="true"> - <regexp pattern='ENABLE_ASSERTIONS=.*'/> - <substitution expression="ENABLE_ASSERTIONS=0"/> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.bat"/> - </fileset> - </replaceregexp> - - <replace token="@sh.file.version" value="${ignite.version}"> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.sh"/> - </fileset> - </replace> - - <replace token="@bat.file.version" value="${ignite.version}"> - <fileset dir="${basedir}/target/release-package/bin"> - <include name="**/*.bat"/> - </fileset> - </replace> - - <replace token="@xml.file.version" value="${ignite.version}"> - <fileset dir="${basedir}/target/release-package"> - <include name="**/*.xml"/> - </fileset> - </replace> - - <zip destfile="${basedir}/target/ignite-${ignite.edition}-${ignite.version}.zip" - encoding="UTF-8"> - <zipfileset dir="${basedir}/target/release-package" - prefix="ignite-${ignite.edition}-${ignite.version}" - filemode="755"> - <include name="**/*.sh"/> - <include name="**/configure"/> - <include name="**/install-sh"/> - <include name="**/compile"/> - <include name="**/missing"/> - </zipfileset> - <zipfileset dir="${basedir}/target/release-package" - prefix="ignite-${ignite.edition}-${ignite.version}"> - <exclude name="**/*.sh"/> - <exclude name="**/configure"/> - <exclude name="**/install-sh"/> - <exclude name="**/compile"/> - <exclude name="**/missing"/> - </zipfileset> - </zip> - </target> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.4</version> - <inherited>false</inherited> - <executions> - <execution> - <id>dependencies</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/dependencies-${ignite.edition}.xml</descriptor> - </descriptors> - <outputDirectory>target</outputDirectory> - <finalName>libs</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - - <execution> - <id>dependencies-optional</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/dependencies-optional-${ignite.edition}.xml</descriptor> - </descriptors> - <outputDirectory>target/libs</outputDirectory> - <finalName>optional</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - - <execution> - <id>dependencies-schema-load</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/dependencies-schema-load.xml</descriptor> - </descriptors> - <outputDirectory>target/release-package/bin</outputDirectory> - <finalName>include</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - - <execution> - <id>release</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/release-${ignite.edition}.xml</descriptor> - </descriptors> - <finalName>release-package</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>scala</id> - - <activation> - <activeByDefault>true</activeByDefault> - </activation> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.4</version> - <inherited>false</inherited> - <executions> - <execution> - <id>dependencies-visor-console</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/dependencies-visor-console.xml</descriptor> - </descriptors> - <outputDirectory>target/release-package/bin</outputDirectory> - <finalName>include</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - - <execution> - <id>scala-scripts</id> - <phase>prepare-package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <descriptors> - <descriptor>${ignite.home}/assembly/release-scala.xml</descriptor> - </descriptors> - <outputDirectory>target/release-package</outputDirectory> - <finalName>bin</finalName> - <appendAssemblyId>false</appendAssemblyId> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>opt-clns-prop</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>1.7</version> - <inherited>false</inherited> - <dependencies> - <dependency> - <groupId>org.apache.ignite</groupId> - <artifactId>ignite-tools</artifactId> - <version>1.0.1-RC1-SNAPSHOT</version> - </dependency> - </dependencies> - <executions> - <execution> - <id>optimized-classnames-generation</id> - <goals> - <goal>run</goal> - </goals> - <phase>process-resources</phase> - <configuration> - <target> - <java - classname="org.apache.ignite.tools.marshaller.optimized.OptimizedClassNamesGenerator" - fork="true" - failonerror="true" - maxmemory="1g"> - <classpath> - <path location="${ignite.home}/modules/core/target/classes"/> - <path location="${ignite.home}/modules/aop/target/classes"/> - <path location="${ignite.home}/modules/aws/target/classes"/> - <path location="${ignite.home}/modules/email/target/classes"/> - <path location="${ignite.home}/modules/hadoop/target/classes"/> - <path location="${ignite.home}/modules/hibernate/target/classes"/> - <path location="${ignite.home}/modules/indexing/target/classes"/> - <path location="${ignite.home}/modules/jcl/target/classes"/> - <path location="${ignite.home}/modules/jta/target/classes"/> - <path location="${ignite.home}/modules/log4j/target/classes"/> - <path location="${ignite.home}/modules/rest-http/target/classes"/> - <path location="${ignite.home}/modules/schedule/target/classes"/> - <path location="${ignite.home}/modules/slf4j/target/classes"/> - <path location="${ignite.home}/modules/spring/target/classes"/> - <path location="${ignite.home}/modules/ssh/target/classes"/> - <path location="${ignite.home}/modules/urideploy/target/classes"/> - <path location="${ignite.home}/modules/web/target/classes"/> - <path location="${ignite.home}/modules/scalar/target/classes"/> - <path location="${ignite.home}/modules/visor-console/target/classes"/> - <path refid="maven.plugin.classpath"/> - </classpath> - <arg value="${ignite.home}/modules/core/src/main/java"/> - <jvmarg value="-XX:MaxPermSize=1g"/> - </java> - </target> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/examples/pom-standalone.xml ---------------------------------------------------------------------- diff --git a/examples/pom-standalone.xml b/examples/pom-standalone.xml index 4b36edc..8aa18dc 100644 --- a/examples/pom-standalone.xml +++ b/examples/pom-standalone.xml @@ -28,7 +28,6 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <ignite.version>1.0.1-RC1-SNAPSHOT</ignite.version> </properties> <groupId>org.apache.ignite</groupId> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/modules/assembly/pom.xml ---------------------------------------------------------------------- diff --git a/modules/assembly/pom.xml b/modules/assembly/pom.xml new file mode 100644 index 0000000..35c3363 --- /dev/null +++ b/modules/assembly/pom.xml @@ -0,0 +1,486 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- + POM file. +--> +<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> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + <relativePath>../..</relativePath> + </parent> + + <artifactId>ignite-assembly</artifactId> + <packaging>pom</packaging> + + <properties> + <ignite.home>${project.basedir}/${parent.relativePath}</ignite.home> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-spring</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-indexing</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-aop</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-aws</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-hibernate</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-jcl</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-jta</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-log4j</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-rest-http</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-schedule</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-slf4j</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-urideploy</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-web</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-scalar</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-visor-plugins</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-visor-console</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-ssh</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-schema-load</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-hadoop</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + </dependencies> + + <profiles> + <profile> + <id>release</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <inherited>false</inherited> + <dependencies> + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-tools</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>release-postprocessing</id> + <goals> + <goal>run</goal> + </goals> + <phase>package</phase> + <configuration> + <target> + <replaceregexp byline="true"> + <regexp pattern='pushd "%~dp0"/\.\./\.\.(\s*&::.+)?'/> + <substitution expression='pushd "%~dp0"/..'/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.bat"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='IGNITE_HOME_TMP="\$\(dirname "\$\{IGNITE_HOME_TMP\}"\)"(\s*#.*)?'/> + <substitution expression=""/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.sh"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='set SCRIPTS_HOME=%IGNITE_HOME%\\os\\bin(\s*&::.*)?'/> + <substitution expression='set SCRIPTS_HOME=%IGNITE_HOME%\\\\bin'/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.bat"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='SCRIPTS_HOME="\$\{IGNITE_HOME_TMP\}/os/bin"(\s*#.*)?'/> + <substitution expression='SCRIPTS_HOME="$${IGNITE_HOME_TMP}/bin"'/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.sh"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='\. "\$\{SCRIPTS_HOME\}"/include/target-classpath.sh(\s*#.*)?'/> + <substitution expression=""/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.sh"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='call "%SCRIPTS_HOME%\\include\\target-classpath.bat"(\s*&::.*)?'/> + <substitution expression=""/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.bat"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='ENABLE_ASSERTIONS=.*'/> + <substitution expression="ENABLE_ASSERTIONS="0""/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.sh"/> + </fileset> + </replaceregexp> + + <replaceregexp byline="true"> + <regexp pattern='ENABLE_ASSERTIONS=.*'/> + <substitution expression="ENABLE_ASSERTIONS=0"/> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.bat"/> + </fileset> + </replaceregexp> + + <replace token="@sh.file.version" value="${project.version}"> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.sh"/> + </fileset> + </replace> + + <replace token="@bat.file.version" value="${project.version}"> + <fileset dir="${basedir}/target/release-package/bin"> + <include name="**/*.bat"/> + </fileset> + </replace> + + <replace token="@xml.file.version" value="${project.version}"> + <fileset dir="${basedir}/target/release-package"> + <include name="**/*.xml"/> + </fileset> + </replace> + + <zip destfile="${basedir}/target/ignite-${ignite.edition}-${project.version}.zip" + encoding="UTF-8"> + <zipfileset dir="${basedir}/target/release-package" + prefix="ignite-${ignite.edition}-${project.version}" + filemode="755"> + <include name="**/*.sh"/> + <include name="**/configure"/> + <include name="**/install-sh"/> + <include name="**/compile"/> + <include name="**/missing"/> + </zipfileset> + <zipfileset dir="${basedir}/target/release-package" + prefix="ignite-${ignite.edition}-${project.version}"> + <exclude name="**/*.sh"/> + <exclude name="**/configure"/> + <exclude name="**/install-sh"/> + <exclude name="**/compile"/> + <exclude name="**/missing"/> + </zipfileset> + </zip> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> + <inherited>false</inherited> + <executions> + <execution> + <id>dependencies</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/dependencies-${ignite.edition}.xml</descriptor> + </descriptors> + <outputDirectory>target</outputDirectory> + <finalName>libs</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + + <execution> + <id>dependencies-optional</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/dependencies-optional-${ignite.edition}.xml</descriptor> + </descriptors> + <outputDirectory>target/libs</outputDirectory> + <finalName>optional</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + + <execution> + <id>dependencies-schema-load</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/dependencies-schema-load.xml</descriptor> + </descriptors> + <outputDirectory>target/release-package/bin</outputDirectory> + <finalName>include</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + + <execution> + <id>release</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/release-${ignite.edition}.xml</descriptor> + </descriptors> + <finalName>release-package</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>scala</id> + + <activation> + <activeByDefault>true</activeByDefault> + </activation> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.4</version> + <inherited>false</inherited> + <executions> + <execution> + <id>dependencies-visor-console</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/dependencies-visor-console.xml</descriptor> + </descriptors> + <outputDirectory>target/release-package/bin</outputDirectory> + <finalName>include</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + + <execution> + <id>scala-scripts</id> + <phase>prepare-package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>${ignite.home}/assembly/release-scala.xml</descriptor> + </descriptors> + <outputDirectory>target/release-package</outputDirectory> + <finalName>bin</finalName> + <appendAssemblyId>false</appendAssemblyId> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>opt-clns-prop</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <inherited>false</inherited> + <dependencies> + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-tools</artifactId> + <version>1.0.1-RC1-SNAPSHOT</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>optimized-classnames-generation</id> + <goals> + <goal>run</goal> + </goals> + <phase>process-resources</phase> + <configuration> + <target> + <java + classname="org.apache.ignite.tools.marshaller.optimized.OptimizedClassNamesGenerator" + fork="true" + failonerror="true" + maxmemory="1g"> + <classpath> + <path location="${ignite.home}/modules/core/target/classes"/> + <path location="${ignite.home}/modules/aop/target/classes"/> + <path location="${ignite.home}/modules/aws/target/classes"/> + <path location="${ignite.home}/modules/email/target/classes"/> + <path location="${ignite.home}/modules/hadoop/target/classes"/> + <path location="${ignite.home}/modules/hibernate/target/classes"/> + <path location="${ignite.home}/modules/indexing/target/classes"/> + <path location="${ignite.home}/modules/jcl/target/classes"/> + <path location="${ignite.home}/modules/jta/target/classes"/> + <path location="${ignite.home}/modules/log4j/target/classes"/> + <path location="${ignite.home}/modules/rest-http/target/classes"/> + <path location="${ignite.home}/modules/schedule/target/classes"/> + <path location="${ignite.home}/modules/slf4j/target/classes"/> + <path location="${ignite.home}/modules/spring/target/classes"/> + <path location="${ignite.home}/modules/ssh/target/classes"/> + <path location="${ignite.home}/modules/urideploy/target/classes"/> + <path location="${ignite.home}/modules/web/target/classes"/> + <path location="${ignite.home}/modules/scalar/target/classes"/> + <path location="${ignite.home}/modules/visor-console/target/classes"/> + <path refid="maven.plugin.classpath"/> + </classpath> + <arg value="${ignite.home}/modules/core/src/main/java"/> + <jvmarg value="-XX:MaxPermSize=1g"/> + </java> + </target> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/modules/core/pom.xml ---------------------------------------------------------------------- diff --git a/modules/core/pom.xml b/modules/core/pom.xml index d2a2189..8b7298f 100644 --- a/modules/core/pom.xml +++ b/modules/core/pom.xml @@ -215,7 +215,7 @@ <replaceregexp file="${props.file}" byline="true"> <regexp pattern="ignite.version=.*"/> - <substitution expression="ignite.version=${ignite.version}"/> + <substitution expression="ignite.version=${project.version}"/> </replaceregexp> <replaceregexp file="${props.file}" byline="true"> @@ -236,7 +236,7 @@ <replaceregexp file="${props.file}" byline="true"> <regexp pattern="ignite.update.status.params=.*"/> <substitution - expression="ignite.update.status.params=ver=${ignite.version}"/> + expression="ignite.update.status.params=ver=${project.version}"/> </replaceregexp> </target> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/modules/scalar/pom.xml ---------------------------------------------------------------------- diff --git a/modules/scalar/pom.xml b/modules/scalar/pom.xml index 6c490c7..722f12f 100644 --- a/modules/scalar/pom.xml +++ b/modules/scalar/pom.xml @@ -166,7 +166,7 @@ <fileset dir="target/site/scaladocs"/> </replaceregexp> - <zip destfile="target/ignite-scalar-${ignite.version}-javadoc.jar" + <zip destfile="target/ignite-scalar-${project.version}-javadoc.jar" basedir="target/site/scaladocs" encoding="UTF-8"/> </target> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/modules/visor-console/pom.xml ---------------------------------------------------------------------- diff --git a/modules/visor-console/pom.xml b/modules/visor-console/pom.xml index 2646ecb..6d68e26 100644 --- a/modules/visor-console/pom.xml +++ b/modules/visor-console/pom.xml @@ -147,7 +147,7 @@ <phase>prepare-package</phase> <configuration> <target> - <zip destfile="target/ignite-visor-console-${ignite.version}-javadoc.jar" + <zip destfile="target/ignite-visor-console-${project.version}-javadoc.jar" basedir="target/site/scaladocs" encoding="UTF-8"/> </target> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/457d64b2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b48d2cc..07b4f88 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,6 @@ </parent> <properties> - <ignite.version>1.0.1-RC1-SNAPSHOT</ignite.version> <ignite.edition>fabric</ignite.edition> <hadoop.version>2.4.1</hadoop.version> <spring.version>4.1.0.RELEASE</spring.version> @@ -142,7 +141,7 @@ <module>modules/jcl</module> <module>modules/schema-load</module> <module>modules/codegen</module> - <module>assembly/modules/package</module> + <module>modules/assembly</module> </modules> <dependencyManagement> @@ -636,8 +635,8 @@ </tagletArtifact> </taglet> </taglets> - <doctitle>Ignite ${ignite.version}</doctitle> - <windowtitle>Ignite ${ignite.version}</windowtitle> + <doctitle>Ignite ${project.version}</doctitle> + <windowtitle>Ignite ${project.version}</windowtitle> <breakiterator>true</breakiterator> <verbose>true</verbose> <show>protected</show> @@ -790,7 +789,7 @@ <b>Ignite Fabric</b> </td> <td>: - ver. <strong>${ignite.version}</strong> + ver. <strong>${project.version}</strong> </td> </tr> <tr style="padding: 0; margin: 0"> @@ -830,8 +829,8 @@ </taglets> <reportOutputDirectory>${basedir}/target/javadoc</reportOutputDirectory> <destDir>core</destDir> - <doctitle>Ignite ${ignite.version}</doctitle> - <windowtitle>Ignite ${ignite.version}</windowtitle> + <doctitle>Ignite ${project.version}</doctitle> + <windowtitle>Ignite ${project.version}</windowtitle> <breakiterator>true</breakiterator> <verbose>true</verbose> <show>protected</show> @@ -993,7 +992,7 @@ <b>Apache Ignite Fabric</b> </td> <td>: - ver. <strong>${ignite.version}</strong> + ver. <strong>${project.version}</strong> </td> </tr> <tr style="padding: 0; margin: 0">