Skip to content

Commit f3fce3a

Browse files
committed
more plugins to fix failing tests
1 parent afc64b0 commit f3fce3a

File tree

1 file changed

+97
-30
lines changed

1 file changed

+97
-30
lines changed

msal4j-brokers/pom.xml

Lines changed: 97 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,23 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6-
<packaging>jar</packaging>
76
<groupId>com.microsoft.azure</groupId>
87
<artifactId>msal4j-brokers</artifactId>
98
<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>
1023
<dependencies>
1124
<!-- https://mvnrepository.com/artifact/com.microsoft.azure/msal4j -->
1225
<dependency>
@@ -16,37 +29,91 @@
1629
</dependency>
1730
</dependencies>
1831

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>
1951
<build>
52+
<sourceDirectory>${project.build.directory}/delombok</sourceDirectory>
2053
<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>
50117
</plugins>
51118
</build>
52119

0 commit comments

Comments
 (0)