Skip to content

Commit c87952e

Browse files
authored
Merge pull request #2 from scanoss/SP-272-update-default-urls
Update default scanning URIs
2 parents 1319053 + 55e2468 commit c87952e

File tree

11 files changed

+572
-27
lines changed

11 files changed

+572
-27
lines changed

.mvn/wrapper/maven-wrapper.jar

61.1 KB
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Upcoming changes...
1313

14+
## [0.6.0] - 2024-03-26
15+
### Changed
16+
- Updated free default URL to now point to `https://api.osskb.org`
17+
- Updated premium default URL to now point to `https://api.scanoss.com`
18+
1419
## [0.5.5] - 2023-10-25
1520
### Fixed
1621
- Fixed issue with `processFileList` file path
@@ -63,3 +68,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6368
[0.5.3]: https://github.com/scanoss/scanoss.java/compare/v0.5.2...v0.5.3
6469
[0.5.4]: https://github.com/scanoss/scanoss.java/compare/v0.5.3...v0.5.4
6570
[0.5.5]: https://github.com/scanoss/scanoss.java/compare/v0.5.4...v0.5.5
71+
[0.6.0]: https://github.com/scanoss/scanoss.java/compare/v0.5.5...v0.6.0

Makefile

+19-11
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,52 @@ help: ## This help
1111

1212
clean: ## Run maven clean
1313
@echo "Running package clean..."
14-
mvn clean
14+
./mvnw clean
1515

1616
test: ## Run package tests
1717
@echo "Running package tests..."
18-
mvn test
18+
./mvnw test
19+
20+
dep_update_check: ## Run maven versions command to check for dependency updates
21+
@echo "Running dependency update check..."
22+
./mvnw versions:display-dependency-updates
23+
24+
dep_use_next_version: ## Run maven to update dependencies to next available version
25+
@echo "Running dependency update check..."
26+
./mvnw versions:use-next-versions
1927

2028
compile: ## Run maven compile goal
2129
@echo "Running package compilation..."
22-
mvn compile
30+
./mvnw compile
2331

2432
verify: ## Run maven verify goal
2533
@echo "Running package verify..."
26-
mvn verify
34+
./mvnw verify
2735

2836
package: ## Run maven package goal
2937
@echo "Running package..."
30-
mvn package
38+
./mvnw package
3139

3240
deploy: ## Deploy the package to central repos
3341
@echo "Deploying latest package..."
34-
mvn deploy
42+
./mvnw deploy
3543

3644
native: ## Run maven native binary build
3745
@echo "Running native package..."
38-
mvn -Pnative -DskipTests package -X
46+
./mvnw -Pnative -DskipTests package -X
3947

4048
inc_patch: ## Increment the patch version on pom.xml
4149
@echo "Incrementing patch version..."
42-
mvn build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.nextIncrementalVersion}' versions:commit
50+
./mvnw build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.nextIncrementalVersion}' versions:commit
4351

4452
inc_minor: ## Increment the minor version on pom.xml
4553
@echo "Incrementing minor version..."
46-
mvn build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.nextMinorVersion}.$${parsedVersion.incrementalVersion}' versions:commit
54+
./mvnw build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.majorVersion}.$${parsedVersion.nextMinorVersion}.$${parsedVersion.incrementalVersion}' versions:commit
4755

4856
inc_major: ## Increment the major version on pom.xml
4957
@echo "Incrementing major version..."
50-
mvn build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.nextMajorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.incrementalVersion}' versions:commit
58+
./mvnw build-helper:parse-version versions:set -DnewVersion='$${parsedVersion.nextMajorVersion}.$${parsedVersion.minorVersion}.$${parsedVersion.incrementalVersion}' versions:commit
5159

5260
version: ## Show the current version of the package
5361
@echo "Getting package version..."
54-
VER=$(shell mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
62+
VER=$(shell ./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Include in a maven project using:
1616
<dependency>
1717
<groupId>com.scanoss</groupId>
1818
<artifactId>scanoss</artifactId>
19-
<version>0.1.0</version>
19+
<version>0.6.0</version>
2020
</dependency>
2121
```
2222

0 commit comments

Comments
 (0)