Skip to content

Commit

Permalink
Add Atlas authorization custom artifact to external-lib dir for packa…
Browse files Browse the repository at this point in the history
…ging
  • Loading branch information
nixon-atlan committed Jan 11, 2022
1 parent 99a98ff commit ecc1031
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Build Process

2. On the root folder, please execute the following Maven command:

$ mvn install:install-file -DgroupId=org.apache.atlas -DartifactId=atlas-authorization -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar -Dfile=plugin-atlas/external-libs/atlas-authorization-3.0.0-SNAPSHOT.jar
(Required above Steps since central maven repo is present for custom artifacts
$ mvn clean compile package install
$ mvn eclipse:eclipse

Expand Down
4 changes: 3 additions & 1 deletion build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
# See the License for the specific language governing permissions and
# limitations under the License

mvn install:install-file -DgroupId=org.apache.atlas -DartifactId=atlas-authorization -Dversion=3.0.0-SNAPSHOT -Dpackaging=jar -Dfile=plugin-atlas/external-libs/atlas-authorization-3.0.0-SNAPSHOT.jar

echo "Maven Building"
mvn -pl '!plugin-kylin,!ranger-kylin-plugin-shim, !hdfs-agent, !ranger-hdfs-plugin-shim, !plugin-elasticsearch, !ranger-elasticsearch-plugin-shim, !plugin-kafka, !ranger-kafka-plugin-shim, !kms, !plugin-kms, !ranger-kms-plugin-shim, !plugin-kudu, !plugin-kylin, !ranger-kylin-plugin-shim, !plugin-nifi, !plugin-nifi-registry, !plugin-ozone, !ranger-ozone-plugin-shim, !plugin-presto, !ranger-presto-plugin-shim, !plugin-solr, !ranger-solr-plugin-shim, !plugin-schema-registry, !plugin-sqoop, !ranger-sqoop-plugin-shim, !plugin-yarn, !ranger-yarn-plugin-shim, !hbase-agent, !ranger-hbase-plugin-shim, !hive-agent, !ranger-hive-plugin-shim, !knox-agent, !ranger-knox-plugin-shim, !ranger-storm-plugin-shim' -DskipJSTests -DskipTests=true -Drat.skip=true clean package -Pall -Denforcer.skip=true

echo "[DEBUG] listing /home/runner/work/ranger-policy/ranger-policy/target"
ls /home/runner/work/ranger-policy/ranger-policy/target

echo "[DEBUG] listing target directory"
ls target
ls target
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<asm.all.version>3.2</asm.all.version>
<aspectj.version>1.8.2</aspectj.version>
<assembly.plugin.version>2.6</assembly.plugin.version>
<atlas.version>2.2.0</atlas.version>
<atlas.version>3.0.0-SNAPSHOT</atlas.version>
<atlas.gson.version>2.5</atlas.gson.version>
<atlas.jackson.version>2.11.3</atlas.jackson.version>
<atlas.jackson.databind.version>2.11.3</atlas.jackson.databind.version>
Expand Down

0 comments on commit ecc1031

Please sign in to comment.