You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/05 14:24:08 UTC

[02/50] incubator-ignite git commit: # ignite-791 schema-import profile.

# ignite-791 schema-import profile.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/03012075
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/03012075
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/03012075

Branch: refs/heads/ignite-834
Commit: 03012075cb7ae855bc23e44c7ed9e04ba37e7208
Parents: 0f3d372
Author: Andrey <an...@gridgain.com>
Authored: Wed Apr 29 13:11:10 2015 +0700
Committer: Andrey <an...@gridgain.com>
Committed: Wed Apr 29 13:11:10 2015 +0700

----------------------------------------------------------------------
 pom.xml | 63 ++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 42 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/03012075/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b8acf97..5c232de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -74,7 +74,6 @@
         <module>modules/log4j</module>
         <module>modules/slf4j</module>
         <module>modules/jcl</module>
-        <module>modules/schema-import</module>
         <module>modules/codegen</module>
     </modules>
 
@@ -132,10 +131,6 @@
                                         <fileset>
                                             <directory>libs</directory>
                                         </fileset>
-
-                                        <fileset>
-                                            <directory>bin/include/schema-import</directory>
-                                        </fileset>
                                     </filesets>
                                 </configuration>
                             </execution>
@@ -381,22 +376,6 @@
                             </execution>
 
                             <execution>
-                                <id>dependencies-schema-import</id>
-                                <phase>prepare-package</phase>
-                                <goals>
-                                    <goal>single</goal>
-                                </goals>
-                                <configuration>
-                                    <descriptors>
-                                        <descriptor>assembly/dependencies-schema-import.xml</descriptor>
-                                    </descriptors>
-                                    <outputDirectory>target/release-package/bin</outputDirectory>
-                                    <finalName>include</finalName>
-                                    <appendAssemblyId>false</appendAssemblyId>
-                                </configuration>
-                            </execution>
-
-                            <execution>
                                 <id>dependencies-visor-console</id>
                                 <phase>prepare-package</phase>
                                 <goals>
@@ -569,5 +548,47 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>schema-import</id>
+            <activation>
+                <jdk>[1.8)</jdk>
+                <property>
+                    <name>java.vendor</name>
+                    <value>Oracle Corporation</value>
+                </property>
+            </activation>
+            <modules>
+                <module>modules/schema-import</module>
+            </modules>
+            <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-schema-import</id>
+                                <phase>prepare-package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <descriptors>
+                                        <descriptor>assembly/dependencies-schema-import.xml</descriptor>
+                                    </descriptors>
+                                    <outputDirectory>target/release-package/bin</outputDirectory>
+                                    <finalName>include</finalName>
+                                    <appendAssemblyId>false</appendAssemblyId>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 </project>