RANGER-236 Remove winpkg from apache code base Signed-off-by: sneethiraj <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/62a3bd07 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/62a3bd07 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/62a3bd07 Branch: refs/heads/master Commit: 62a3bd07a3fe59907001951759642107af8e692d Parents: 641be5c Author: Ashish Singh <[email protected]> Authored: Wed Feb 4 15:09:26 2015 -0800 Committer: sneethiraj <[email protected]> Committed: Fri Feb 27 10:40:35 2015 -0800 ---------------------------------------------------------------------- pom.xml | 33 - winpkg/pom.xml | 94 - winpkg/src/main/assemblies/winpkg.xml | 63 - winpkg/src/resources/servicehost.exe | Bin 13824 -> 0 bytes winpkg/src/resources/winpkg.cmd | 18 - winpkg/src/resources/winpkg.ps1 | 575 ------ winpkg/src/resources/winpkg.utils.psm1 | 310 --- winpkg/src/scripts/InstallApi.psm1 | 1787 ------------------ winpkg/src/scripts/install.cmd | 18 - winpkg/src/scripts/install.ps1 | 491 ----- winpkg/src/scripts/uninstall.cmd | 18 - winpkg/src/scripts/uninstall.ps1 | 42 - winpkg/src/template/bin/hiveserver2-ranger.cmd | 91 - winpkg/src/template/bin/xasecure-hadoop-env.cmd | 28 - 14 files changed, 3568 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62a3bd07/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index fe858c5..be555eb 100644 --- a/pom.xml +++ b/pom.xml @@ -171,39 +171,6 @@ <distMgmtStagingUrl>https://repository.apache.org/service/local/staging/deploy/maven2</distMgmtStagingUrl> </properties> <profiles> - <profile> - <id>windows</id> - <modules> - <module>winpkg</module> - </modules> - <build> - <plugins> - <plugin> - <groupId>com.google.code.maven-replacer-plugin</groupId> - <artifactId>replacer</artifactId> - <version>1.5.2</version> - <executions> - <execution> - <goals> - <goal>replace</goal> - </goals> - </execution> - </executions> - <configuration> - <includes> - <include>winpkg/src/scripts/*</include> - </includes> - <replacements> - <replacement> - <token>@ranger.version@</token> - <value>${project.version}</value> - </replacement> - </replacements> - </configuration> - </plugin> - </plugins> - </build> - </profile> <profile> <id>linux</id> <activation> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62a3bd07/winpkg/pom.xml ---------------------------------------------------------------------- diff --git a/winpkg/pom.xml b/winpkg/pom.xml deleted file mode 100644 index fcd937c..0000000 --- a/winpkg/pom.xml +++ /dev/null @@ -1,94 +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.ranger</groupId> - <artifactId>ranger</artifactId> - <version>0.4.0</version> - <relativePath>..</relativePath> - </parent> - <groupId>org.apache.ranger.credentialapi.buildks</groupId> - <artifactId>ranger-winpkg</artifactId> - <description>Ranger WinPkg</description> - <name>Ranger WinPkg</name> - <packaging>pom</packaging> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <configuration> - <finalName>ranger</finalName> - <descriptors> - <descriptor>/src/main/assemblies/winpkg.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludeSubProjects>false</excludeSubProjects> - <!--numUnapprovedLicenses>100</numUnapprovedLicenses--> - <excludes> - <exclude>.git/**</exclude> - <exclude>.gitignore/**</exclude> - <exclude>.svn/**</exclude> - <exclude>.idea/**</exclude> - <exclude>**/.gitignore/**</exclude> - <exclude>**/.project/**</exclude> - <exclude>**/.settings/**</exclude> - <exclude>**/.classpath/**</exclude> - <exclude>**/*.iml</exclude> - <exclude>**/target/**</exclude> - <exclude>**/install/**</exclude> - <exclude>**/candidate/**</exclude> - <exclude>**/patch/**</exclude> - <exclude>**/patchprocess/**</exclude> - <exclude>**/test/resources/**</exclude> - <exclude>**/main/resources/**/*.json</exclude> - <exclude>*.patch</exclude> - <exclude>README.txt</exclude> - <exclude>HDP-CHANGES.txt</exclude> - </excludes> - </configuration> - </plugin> - </plugins> - </build> -</project> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62a3bd07/winpkg/src/main/assemblies/winpkg.xml ---------------------------------------------------------------------- diff --git a/winpkg/src/main/assemblies/winpkg.xml b/winpkg/src/main/assemblies/winpkg.xml deleted file mode 100644 index a4566f5..0000000 --- a/winpkg/src/main/assemblies/winpkg.xml +++ /dev/null @@ -1,63 +0,0 @@ -<!-- - 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. ---> -<assembly> - <id>${project.version}.winpkg</id> - <formats> - <format>dir</format> - <format>zip</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <fileSets> - <!-- resources --> - <fileSet> - <directory>${basedir}/src/resources</directory> - <outputDirectory>/resources</outputDirectory> - <includes> - <include>**</include> - </includes> - </fileSet> - <!-- scripts --> - <fileSet> - <directory>${basedir}/src/scripts</directory> - <outputDirectory>/scripts</outputDirectory> - <includes> - <include>**</include> - </includes> - </fileSet> - <fileSet> - <directory>${basedir}/src/template/bin</directory> - <outputDirectory>/template</outputDirectory> - <includes> - <include>**</include> - </includes> - </fileSet> - <!-- Ranger Secure Zip --> - <fileSet> - <directory>${basedir}/../target/</directory> - <outputDirectory>/resources</outputDirectory> - <includes> - <include>ranger-*-usersync.zip</include> - <include>ranger-*-admin.zip</include> - <include>ranger*plugin.zip</include> - </includes> - <excludes> - <exclude>*-src.zip</exclude> - </excludes> - </fileSet> - </fileSets> -</assembly> http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62a3bd07/winpkg/src/resources/servicehost.exe ---------------------------------------------------------------------- diff --git a/winpkg/src/resources/servicehost.exe b/winpkg/src/resources/servicehost.exe deleted file mode 100644 index 48754a1..0000000 Binary files a/winpkg/src/resources/servicehost.exe and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62a3bd07/winpkg/src/resources/winpkg.cmd ---------------------------------------------------------------------- diff --git a/winpkg/src/resources/winpkg.cmd b/winpkg/src/resources/winpkg.cmd deleted file mode 100644 index d7180c0..0000000 --- a/winpkg/src/resources/winpkg.cmd +++ /dev/null @@ -1,18 +0,0 @@ -@echo off -@rem Licensed to the Apache Software Foundation (ASF) under one or more -@rem contributor license agreements. See the NOTICE file distributed with -@rem this work for additional information regarding copyright ownership. -@rem The ASF licenses this file to You under the Apache License, Version 2.0 -@rem (the "License"); you may not use this file except in compliance with -@rem the License. You may obtain a copy of the License at -@rem -@rem http://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. - -powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -command %~dp0winpkg.ps1 %* -goto :eof
