schema-import examples fix
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/15d2f762 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/15d2f762 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/15d2f762 Branch: refs/heads/ignite-801 Commit: 15d2f7625a0822167ea969dc289c10385092b5d0 Parents: de12e9a Author: Anton Vinogradov <a...@apache.org> Authored: Thu Sep 24 16:55:00 2015 +0300 Committer: Anton Vinogradov <a...@apache.org> Committed: Thu Sep 24 16:55:00 2015 +0300 ---------------------------------------------------------------------- assembly/release-fabric.xml | 9 +++ examples/schema-import/pom-standalone.xml | 90 ++++++++++++++++++++++++++ pom.xml | 5 ++ 3 files changed, 104 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/15d2f762/assembly/release-fabric.xml ---------------------------------------------------------------------- diff --git a/assembly/release-fabric.xml b/assembly/release-fabric.xml index a8c4541..308853c 100644 --- a/assembly/release-fabric.xml +++ b/assembly/release-fabric.xml @@ -51,6 +51,12 @@ <outputDirectory>/examples</outputDirectory> <destName>pom.xml</destName> </file> + + <file> + <source>examples/schema-import/pom-standalone.xml</source> + <outputDirectory>/examples/schema-import</outputDirectory> + <destName>pom.xml</destName> + </file> </files> <fileSets> @@ -85,6 +91,9 @@ <include>schema-import/**</include> <include>README.txt</include> </includes> + <excludes> + <exclude>schema-import/pom*.xml</exclude> + </excludes> </fileSet> <fileSet> http://git-wip-us.apache.org/repos/asf/ignite/blob/15d2f762/examples/schema-import/pom-standalone.xml ---------------------------------------------------------------------- diff --git a/examples/schema-import/pom-standalone.xml b/examples/schema-import/pom-standalone.xml new file mode 100644 index 0000000..e443728 --- /dev/null +++ b/examples/schema-import/pom-standalone.xml @@ -0,0 +1,90 @@ +<?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> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-schema-import-demo</artifactId> + <version>to_be_replaced_by_ignite_version</version> + + <dependencies> + <dependency> + <groupId>javax.cache</groupId> + <artifactId>cache-api</artifactId> + <version>1.0.0</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-core</artifactId> + <version>to_be_replaced_by_ignite_version</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-spring</artifactId> + <version>to_be_replaced_by_ignite_version</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-log4j</artifactId> + <version>to_be_replaced_by_ignite_version</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-indexing</artifactId> + <version>to_be_replaced_by_ignite_version</version> + </dependency> + </dependencies> + + <build> + <resources> + <resource> + <directory>src/main/java</directory> + <excludes> + <exclude>**/*.java</exclude> + </excludes> + </resource> + </resources> + + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.1</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/ignite/blob/15d2f762/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a5b47d5..6ddc443 100644 --- a/pom.xml +++ b/pom.xml @@ -299,6 +299,11 @@ <substitution expression="${project.version}" /> </replaceregexp> + <replaceregexp file="${basedir}/target/release-package/examples/schema-import/pom.xml" byline="true"> + <regexp pattern="to_be_replaced_by_ignite_version" /> + <substitution expression="${project.version}" /> + </replaceregexp> + <chmod dir="${basedir}/target/release-package" perm="755" includes="**/*.sh" /> <!-- hotfix according to https://issues.apache.org/jira/browse/IGNITE-1399. Remove at 1.5 -->