Skip to content
Browse files

OOZIE-831 POMs cleanup/fixing of hadoop version and to be able to pub…

…lish oozie JARs to maven repo (tucu)

git-svn-id: https://svn.apache.org/repos/asf/incubator/oozie/trunk@1336960 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 460b279 commit 261e34a4e23075199e8ef6a14f90b6efaa090331 Alejandro Abdelnur committed May 10, 2012
View
61 hadooplibs/hadoop-0_23_2/pom.xml
@@ -1,61 +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.
--->
-<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.apache.oozie</groupId>
- <artifactId>oozie-main</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <groupId>org.apache.oozie</groupId>
- <artifactId>oozie-hadoop</artifactId>
- <version>0.23.2-SNAPSHOT</version>
- <description>Apache Oozie Hadoop ${project.version}</description>
- <name>Apache Oozie Hadoop ${project.version}</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>../../src/main/assemblies/hadooplib.xml</descriptor>
- </descriptors>
- <finalName>hadooplibs</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
-
View
61 hadooplibs/hadoop-0_24_0/pom.xml
@@ -1,61 +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.
--->
-<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.apache.oozie</groupId>
- <artifactId>oozie-main</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <groupId>org.apache.oozie</groupId>
- <artifactId>oozie-hadoop</artifactId>
- <version>0.24.0-SNAPSHOT</version>
- <description>Apache Oozie Hadoop ${project.version}</description>
- <name>Apache Oozie Hadoop ${project.version}</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>../../src/main/assemblies/hadooplib.xml</descriptor>
- </descriptors>
- <finalName>hadooplibs</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
-
View
4 hadooplibs/hadoop-1_0_1/pom.xml → hadooplibs/hadoop-1/pom.xml
@@ -27,7 +27,7 @@
</parent>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop</artifactId>
- <version>1.0.1</version>
+ <version>1.0.1.oozie-3.2.0-SNAPSHOT</version>
<description>Apache Oozie Hadoop ${project.version}</description>
<name>Apache Oozie Hadoop ${project.version}</name>
<packaging>jar</packaging>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
- <version>${project.version}</version>
+ <version>1.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
View
4 hadooplibs/hadoop-0_23_1/pom.xml → hadooplibs/hadoop-2/pom.xml
@@ -27,7 +27,7 @@
</parent>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop</artifactId>
- <version>0.23.1</version>
+ <version>2.0.0-SNAPSHOT.oozie-3.2.0-SNAPSHOT</version>
<description>Apache Oozie Hadoop ${project.version}</description>
<name>Apache Oozie Hadoop ${project.version}</name>
<packaging>jar</packaging>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
- <version>${project.version}</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
View
59 hadooplibs/hadoop-test-0_23_2/pom.xml
@@ -1,59 +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.
--->
-<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.apache.oozie</groupId>
- <artifactId>oozie-main</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <groupId>org.apache.oozie</groupId>
- <artifactId>oozie-hadoop-test</artifactId>
- <version>0.23.2-SNAPSHOT</version>
- <description>Apache Oozie Hadoop ${project.version} Test</description>
- <name>Apache Oozie Hadoop ${project.version} Test</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-minicluster</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>../../src/main/assemblies/empty.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
-
View
4 hadooplibs/hadoop-test-0_23_1/pom.xml → hadooplibs/hadoop-test-1/pom.xml
@@ -27,7 +27,7 @@
</parent>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop-test</artifactId>
- <version>0.23.1</version>
+ <version>1.0.1.oozie-3.2.0-SNAPSHOT</version>
<description>Apache Oozie Hadoop ${project.version} Test</description>
<name>Apache Oozie Hadoop ${project.version} Test</name>
<packaging>jar</packaging>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minicluster</artifactId>
- <version>${project.version}</version>
+ <version>1.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
View
59 hadooplibs/hadoop-test-1_0_1/pom.xml
@@ -1,59 +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.
--->
-<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.apache.oozie</groupId>
- <artifactId>oozie-main</artifactId>
- <version>3.2.0-SNAPSHOT</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <groupId>org.apache.oozie</groupId>
- <artifactId>oozie-hadoop-test</artifactId>
- <version>1.0.1</version>
- <description>Apache Oozie Hadoop ${project.version} Test</description>
- <name>Apache Oozie Hadoop ${project.version} Test</name>
- <packaging>jar</packaging>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-minicluster</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>../../src/main/assemblies/empty.xml</descriptor>
- </descriptors>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
-
View
4 hadooplibs/hadoop-test-0_24_0/pom.xml → hadooplibs/hadoop-test-2/pom.xml
@@ -27,7 +27,7 @@
</parent>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop-test</artifactId>
- <version>0.24.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT.oozie-3.2.0-SNAPSHOT</version>
<description>Apache Oozie Hadoop ${project.version} Test</description>
<name>Apache Oozie Hadoop ${project.version} Test</name>
<packaging>jar</packaging>
@@ -36,7 +36,7 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minicluster</artifactId>
- <version>${project.version}</version>
+ <version>2.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
View
12 hadooplibs/pom.xml
@@ -32,14 +32,10 @@
<packaging>pom</packaging>
<modules>
- <module>hadoop-1_0_1</module>
- <module>hadoop-test-1_0_1</module>
- <module>hadoop-0_23_1</module>
- <module>hadoop-test-0_23_1</module>
- <module>hadoop-0_23_2</module>
- <module>hadoop-test-0_23_2</module>
- <module>hadoop-0_24_0</module>
- <module>hadoop-test-0_24_0</module>
+ <module>hadoop-1</module>
+ <module>hadoop-test-1</module>
+ <module>hadoop-2</module>
+ <module>hadoop-test-2</module>
</modules>
<build>
View
42 pom.xml
@@ -39,11 +39,12 @@
</organization>
<properties>
+ <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
+ <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl>
+
<!-- to be able to run a single test case from the main project -->
<failIfNoTests>false</failIfNoTests>
- <internal.maven.repository>file:///tmp/internalmavenrepo</internal.maven.repository>
-
<test.timeout>3600</test.timeout>
<!-- platform encoding override -->
@@ -66,12 +67,15 @@
<oozie.test.config.file>${oozie.test.default.config.file}</oozie.test.config.file>
<hadoop.version>1.0.1</hadoop.version>
+
+ <hadooplib.version>${hadoop.version}.oozie-${project.version}</hadooplib.version>
+
<clover.license>/home/jenkins/tools/clover/latest/lib/clover.license</clover.license>
<!--
This is required while we support a a pre 0.23 version of Hadoop which does not have
the hadoop-auth artifact. After we phase-out pre 0.23 we can get rid of this property.
-->
- <hadoop.auth.version>0.23.1</hadoop.auth.version>
+ <hadoop.auth.version>2.0.0-SNAPSHOT</hadoop.auth.version>
<!-- Sharelib component versions -->
<hive.version>0.9.0</hive.version>
@@ -94,22 +98,19 @@
<distributionManagement>
<repository>
- <id>internal.maven.repo</id>
- <name>Internal Repository for Integration</name>
- <url>${internal.maven.repository}</url>
+ <id>apache.staging.https</id>
+ <name>Apache Release Distribution Repository</name>
+ <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
</repository>
+ <snapshotRepository>
+ <id>apache.snapshots.https</id>
+ <name>${distMgmtSnapshotsName}</name>
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
</distributionManagement>
<repositories>
<repository>
- <id>internal.maven.repo</id>
- <name>Internal Repository for Integration</name>
- <url>${internal.maven.repository}</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
<id>central</id>
<url>http://repo1.maven.org/maven2</url>
<snapshots>
@@ -139,19 +140,10 @@
<enabled>false</enabled>
</snapshots>
</repository>
-
</repositories>
<pluginRepositories>
<pluginRepository>
- <id>internal.maven.repo</id>
- <name>Internal Repository for Integration</name>
- <url>${internal.maven.repository}</url>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
<id>repository.cloudera.com</id>
<name>repository.cloudera.com-releases</name>
<url>https://repository.cloudera.com/artifactory/ext-release-local</url>
@@ -262,13 +254,13 @@
<dependency>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop</artifactId>
- <version>${hadoop.version}</version>
+ <version>${hadooplib.version}</version>
</dependency>
<dependency>
<groupId>org.apache.oozie</groupId>
<artifactId>oozie-hadoop-test</artifactId>
- <version>${hadoop.version}</version>
+ <version>${hadooplib.version}</version>
</dependency>
<dependency>
View
1 release-log.txt
@@ -1,5 +1,6 @@
-- Oozie trunk
+OOZIE-831 POMs cleanup/fixing of hadoop version and to be able to publish oozie JARs to maven repo (tucu)
OOZIE-830 add support for multiple/configurable sharelibs for each action type (tucu)
OOZIE-773 AuthorizationService should be able to use a group to identify superusers (tucu)
OOZIE-783 Upgrade to Junit4 (virag via tucu)
View
12 src/main/assemblies/hadooplibs.xml
@@ -26,19 +26,11 @@
<fileSets>
<!-- Hadoop libs -->
<fileSet>
- <directory>${basedir}/../hadooplibs/hadoop-1_0_0/target/hadooplibs</directory>
+ <directory>${basedir}/../hadooplibs/hadoop-1/target/hadooplibs</directory>
<outputDirectory>/hadooplibs</outputDirectory>
</fileSet>
<fileSet>
- <directory>${basedir}/../hadooplibs/hadoop-0_22_0/target/hadooplibs</directory>
- <outputDirectory>/hadooplibs</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>${basedir}/../hadooplibs/hadoop-0_23_1/target/hadooplibs</directory>
- <outputDirectory>/hadooplibs</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>${basedir}/../hadooplibs/hadoop-0_24_0/target/hadooplibs</directory>
+ <directory>${basedir}/../hadooplibs/hadoop-2/target/hadooplibs</directory>
<outputDirectory>/hadooplibs</outputDirectory>
</fileSet>
</fileSets>

0 comments on commit 261e34a

Please sign in to comment.
Something went wrong with that request. Please try again.