|
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | | - <packaging>jar</packaging> |
7 | 6 | <groupId>com.microsoft.azure</groupId> |
8 | 7 | <artifactId>msal4j-brokers</artifactId> |
9 | 8 | <version>0.0.1</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + <description> |
| 11 | + Microsoft Authentication Library for Java - Brokers helps you integrate with the broker |
| 12 | + on windows machine to secure Access tokens and refresh tokens. |
| 13 | + </description> |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>MIT License</name> |
| 17 | + </license> |
| 18 | + </licenses> |
| 19 | + <inceptionYear>2022</inceptionYear> |
| 20 | + <properties> |
| 21 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 22 | + </properties> |
10 | 23 | <dependencies> |
11 | 24 | <!-- https://mvnrepository.com/artifact/com.microsoft.azure/msal4j --> |
12 | 25 | <dependency> |
|
16 | 29 | </dependency> |
17 | 30 | </dependencies> |
18 | 31 |
|
| 32 | + <!-- force https --> |
| 33 | + <repositories> |
| 34 | + <repository> |
| 35 | + <id>central</id> |
| 36 | + <url>https://repo1.maven.org/maven2</url> |
| 37 | + <snapshots> |
| 38 | + <enabled>false</enabled> |
| 39 | + </snapshots> |
| 40 | + </repository> |
| 41 | + </repositories> |
| 42 | + <pluginRepositories> |
| 43 | + <pluginRepository> |
| 44 | + <id>central</id> |
| 45 | + <url>https://repo1.maven.org/maven2</url> |
| 46 | + <snapshots> |
| 47 | + <enabled>false</enabled> |
| 48 | + </snapshots> |
| 49 | + </pluginRepository> |
| 50 | + </pluginRepositories> |
19 | 51 | <build> |
| 52 | + <sourceDirectory>${project.build.directory}/delombok</sourceDirectory> |
20 | 53 | <plugins> |
21 | | - <plugin> |
22 | | - <groupId>org.apache.maven.plugins</groupId> |
23 | | - <artifactId>maven-javadoc-plugin</artifactId> |
24 | | - <version>3.1.0</version> |
25 | | - <configuration> |
26 | | - <sourcepath>${project.build.directory}/delombok</sourcepath> |
27 | | - </configuration> |
28 | | - <executions> |
29 | | - <execution> |
30 | | - <id>attach-javadocs</id> |
31 | | - <goals> |
32 | | - <goal>jar</goal> |
33 | | - </goals> |
34 | | - </execution> |
35 | | - </executions> |
36 | | - </plugin> |
37 | | - <plugin> |
38 | | - <groupId>org.apache.maven.plugins</groupId> |
39 | | - <artifactId>maven-source-plugin</artifactId> |
40 | | - <version>2.2.1</version> |
41 | | - <executions> |
42 | | - <execution> |
43 | | - <id>attach-sources</id> |
44 | | - <goals> |
45 | | - <goal>jar</goal> |
46 | | - </goals> |
47 | | - </execution> |
48 | | - </executions> |
49 | | - </plugin> |
| 54 | + <plugin> |
| 55 | + <groupId>org.projectlombok</groupId> |
| 56 | + <artifactId>lombok-maven-plugin</artifactId> |
| 57 | + <version>1.18.2.0</version> |
| 58 | + <executions> |
| 59 | + <execution> |
| 60 | + <goals> |
| 61 | + <goal>delombok</goal> |
| 62 | + </goals> |
| 63 | + </execution> |
| 64 | + </executions> |
| 65 | + <configuration> |
| 66 | + <sourceDirectory>src/main/java</sourceDirectory> |
| 67 | + <outputDirectory>${project.build.directory}/delombok</outputDirectory> |
| 68 | + <addOutputDirectory>false</addOutputDirectory> |
| 69 | + </configuration> |
| 70 | + </plugin> |
| 71 | + <plugin> |
| 72 | + <groupId>org.apache.maven.plugins</groupId> |
| 73 | + <artifactId>maven-surefire-plugin</artifactId> |
| 74 | + <version>2.10</version> |
| 75 | + <configuration> |
| 76 | + <argLine>-noverify</argLine> |
| 77 | + </configuration> |
| 78 | + </plugin> |
| 79 | + <plugin> |
| 80 | + <groupId>org.apache.maven.plugins</groupId> |
| 81 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 82 | + <version>3.1.0</version> |
| 83 | + <configuration> |
| 84 | + <sourcepath>${project.build.directory}/delombok</sourcepath> |
| 85 | + </configuration> |
| 86 | + <executions> |
| 87 | + <execution> |
| 88 | + <id>attach-javadocs</id> |
| 89 | + <goals> |
| 90 | + <goal>jar</goal> |
| 91 | + </goals> |
| 92 | + </execution> |
| 93 | + </executions> |
| 94 | + </plugin> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-source-plugin</artifactId> |
| 98 | + <version>2.2.1</version> |
| 99 | + <executions> |
| 100 | + <execution> |
| 101 | + <id>attach-sources</id> |
| 102 | + <goals> |
| 103 | + <goal>jar</goal> |
| 104 | + </goals> |
| 105 | + </execution> |
| 106 | + </executions> |
| 107 | + </plugin> |
| 108 | + <plugin> |
| 109 | + <groupId>org.apache.maven.plugins</groupId> |
| 110 | + <artifactId>maven-compiler-plugin</artifactId> |
| 111 | + <version>3.7.0</version> |
| 112 | + <configuration> |
| 113 | + <source>8</source> |
| 114 | + <target>8</target> |
| 115 | + </configuration> |
| 116 | + </plugin> |
50 | 117 | </plugins> |
51 | 118 | </build> |
52 | 119 |
|
|
0 commit comments