Last active
November 13, 2020 00:29
-
-
Save suhdev/446d70f6b48c58519ebe4092963cb5c5 to your computer and use it in GitHub Desktop.
Bash script to download adal4j jars to setup azure integrated authenticated on IntelliJ DataGrip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOT >> pom.xml | |
<?xml version="1.0" encoding="UTF-8"?> | |
<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> | |
<groupId>com.foo</groupId> | |
<artifactId>bar</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>com.microsoft.azure</groupId> | |
<artifactId>adal4j</artifactId> | |
<version>1.6.2</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<directory>lib</directory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<configuration> | |
<outputDirectory> | |
${project.build.directory} | |
</outputDirectory> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> | |
EOT | |
mvn clean dependency:copy-dependencies |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment