|
6 | 6 |
|
7 | 7 | <groupId>com.scanoss</groupId> |
8 | 8 | <artifactId>scanoss</artifactId> |
9 | | - <version>0.8.1</version> |
| 9 | + <version>0.8.2</version> |
10 | 10 | <packaging>jar</packaging> |
11 | 11 | <name>scanoss.java</name> |
12 | 12 | <url>https://github.com/scanoss/scanoss.java</url> |
|
44 | 44 | </properties> |
45 | 45 |
|
46 | 46 | <distributionManagement> |
47 | | - <!-- <repository>--> |
48 | | - <!-- <id>github</id>--> |
49 | | - <!-- <name>GitHub SCANOSS Apache Maven Packages</name>--> |
50 | | - <!-- <url>https://maven.pkg.github.com/scanoss/scanoss.java</url>--> |
51 | | - <!-- </repository>--> |
52 | 47 | <snapshotRepository> |
53 | 48 | <id>ossrh</id> |
54 | 49 | <name>Maven Central Snapshot Repo</name> |
|
62 | 57 | </distributionManagement> |
63 | 58 |
|
64 | 59 | <dependencies> |
65 | | - <dependency> |
66 | | - <groupId>junit</groupId> |
67 | | - <artifactId>junit</artifactId> |
68 | | - <version>4.13.2</version> |
69 | | - <scope>test</scope> |
70 | | - </dependency> |
71 | | - <dependency> |
72 | | - <groupId>com.squareup.okhttp3</groupId> |
73 | | - <artifactId>mockwebserver</artifactId> |
74 | | - <version>4.12.0</version> |
75 | | - <scope>test</scope> |
76 | | - </dependency> |
77 | | - <dependency> |
78 | | - <groupId>org.projectlombok</groupId> |
79 | | - <artifactId>lombok</artifactId> |
80 | | - <version>1.18.36</version> |
81 | | - <optional>true</optional> |
82 | | - </dependency> |
| 60 | + <!-- Core compile dependencies --> |
83 | 61 | <dependency> |
84 | 62 | <groupId>com.squareup.okhttp3</groupId> |
85 | 63 | <artifactId>okhttp</artifactId> |
86 | 64 | <version>4.12.0</version> |
| 65 | + <scope>compile</scope> |
87 | 66 | </dependency> |
88 | 67 | <dependency> |
89 | 68 | <groupId>com.squareup.okhttp3</groupId> |
90 | 69 | <artifactId>okhttp-tls</artifactId> |
91 | 70 | <version>4.12.0</version> |
| 71 | + <scope>compile</scope> |
92 | 72 | </dependency> |
93 | 73 | <dependency> |
94 | 74 | <groupId>commons-codec</groupId> |
95 | 75 | <artifactId>commons-codec</artifactId> |
96 | 76 | <version>1.17.1</version> |
| 77 | + <scope>compile</scope> |
97 | 78 | </dependency> |
98 | 79 | <dependency> |
99 | 80 | <groupId>org.slf4j</groupId> |
100 | 81 | <artifactId>slf4j-api</artifactId> |
101 | 82 | <version>${slf4jVersion}</version> |
102 | | - </dependency> |
103 | | - <dependency> |
104 | | - <groupId>org.slf4j</groupId> |
105 | | - <artifactId>slf4j-simple</artifactId> |
106 | | - <version>${slf4jVersion}</version> |
| 83 | + <scope>compile</scope> |
107 | 84 | </dependency> |
108 | 85 | <dependency> |
109 | 86 | <groupId>org.apache.tika</groupId> |
110 | 87 | <artifactId>tika-core</artifactId> |
111 | 88 | <version>2.9.2</version> |
112 | | - </dependency> |
113 | | - <dependency> |
114 | | - <groupId>info.picocli</groupId> |
115 | | - <artifactId>picocli</artifactId> |
116 | | - <version>4.7.6</version> |
| 89 | + <scope>compile</scope> |
117 | 90 | </dependency> |
118 | 91 | <dependency> |
119 | 92 | <groupId>com.google.code.gson</groupId> |
|
125 | 98 | <groupId>com.github.package-url</groupId> |
126 | 99 | <artifactId>packageurl-java</artifactId> |
127 | 100 | <version>1.5.0</version> |
| 101 | + <scope>compile</scope> |
| 102 | + </dependency> |
| 103 | + <dependency> |
| 104 | + <groupId>info.picocli</groupId> |
| 105 | + <artifactId>picocli</artifactId> |
| 106 | + <version>4.7.6</version> |
| 107 | + <optional>true</optional> |
| 108 | + <scope>compile</scope> |
| 109 | + </dependency> |
| 110 | + <dependency> |
| 111 | + <groupId>org.projectlombok</groupId> |
| 112 | + <artifactId>lombok</artifactId> |
| 113 | + <version>1.18.36</version> |
| 114 | + <optional>true</optional> |
| 115 | + <scope>compile</scope> |
| 116 | + </dependency> |
| 117 | + |
| 118 | + |
| 119 | + <!-- Test dependencies --> |
| 120 | + <dependency> |
| 121 | + <groupId>org.slf4j</groupId> |
| 122 | + <artifactId>slf4j-simple</artifactId> |
| 123 | + <version>${slf4jVersion}</version> |
| 124 | + <scope>runtime</scope> |
| 125 | + </dependency> |
| 126 | + <dependency> |
| 127 | + <groupId>junit</groupId> |
| 128 | + <artifactId>junit</artifactId> |
| 129 | + <version>4.13.2</version> |
| 130 | + <scope>test</scope> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>com.squareup.okhttp3</groupId> |
| 134 | + <artifactId>mockwebserver</artifactId> |
| 135 | + <version>4.12.0</version> |
| 136 | + <scope>test</scope> |
128 | 137 | </dependency> |
129 | 138 | </dependencies> |
130 | 139 | <build> |
|
172 | 181 | </descriptorRefs> |
173 | 182 | </configuration> |
174 | 183 | </execution> |
175 | | - <execution> |
176 | | - <id>without-slf4j</id> |
177 | | - <phase>package</phase> |
178 | | - <goals> |
179 | | - <goal>single</goal> |
180 | | - </goals> |
181 | | - <configuration> |
182 | | - <inlineDescriptors> |
183 | | - <inlineDescriptor> |
184 | | - <id>with-dependencies-exclude-slf4j-simple</id> |
185 | | - <formats> |
186 | | - <format>jar</format> |
187 | | - </formats> |
188 | | - <includeBaseDirectory>false</includeBaseDirectory> |
189 | | - <dependencySets> |
190 | | - <dependencySet> |
191 | | - <outputDirectory>/</outputDirectory> |
192 | | - <useProjectArtifact>true</useProjectArtifact> |
193 | | - <unpack>true</unpack> |
194 | | - <excludes> |
195 | | - <exclude>org.slf4j:slf4j-simple</exclude> |
196 | | - </excludes> |
197 | | - </dependencySet> |
198 | | - </dependencySets> |
199 | | - </inlineDescriptor> |
200 | | - </inlineDescriptors> |
201 | | - </configuration> |
202 | | - </execution> |
203 | 184 | </executions> |
204 | 185 | </plugin> |
205 | 186 | <plugin> |
|
283 | 264 | <buildArg>-H:+ReportExceptionStackTraces</buildArg> |
284 | 265 | <buildArg>-H:ReflectionConfigurationFiles=../config/reflect-config.json</buildArg> |
285 | 266 | <buildArg>-H:ResourceConfigurationFiles=../config/resource-config.json</buildArg> |
286 | | - <!-- <buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg> --> |
287 | 267 | <buildArg>--verbose</buildArg> |
288 | 268 | <buildArg>--no-fallback</buildArg> |
289 | 269 | <buildArg>-march=native</buildArg> |
290 | | - <!-- For Quick Build (22.1+) --> |
291 | | -<!-- <buildArg>-Ob</buildArg>--> |
292 | 270 | </buildArgs> |
293 | 271 | </configuration> |
294 | 272 | </plugin> |
|
0 commit comments