Skip to content

Mavenize #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Maven
run: ./mvnw --batch-mode clean verify
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ dist/
reports/
bin/
build/
pom.xml
perf/
target/
.idea/
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
18 changes: 18 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.7/apache-maven-3.8.7-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,25 @@ Informatics Department), of the Università degli Studi di Milano.
Building
--------

You need [Ant](https://ant.apache.org/) and [Ivy](https://ant.apache.org/ivy/).
Then, run `ant ivy-setupjars jar`.
Uses [Apache Maven](https://maven.apache.org/) but you need Java 1.8+ only, project uses Maven Wrapper (no need to install anything).
Btw, my own preferred way to install Java and Maven as well is [SDKMAN](https://sdkman.io/).

To build:
```
./mvnw clean verify
```

To build with slow tests also:
```
./mvnw clean verify -P slow
```

To "quick-build" (produce all artifacts but skip all test execution -- `-Dtest=void` matches no UT/IT to run):
```
./mvnw clean verify -Dtest=void -P vigna-release
```

Available profiles:
* vigna-release -- used by release plugin (adds sources, javadoc, gpg, skip tests)
* slow -- runs "slow tests" as part of build as well

seba (<mailto:sebastiano.vigna@unimi.it>)
Binary file removed bnd/biz.aQute.bnd-5.2.0.jar
Binary file not shown.
30 changes: 0 additions & 30 deletions build.properties

This file was deleted.

279 changes: 0 additions & 279 deletions build.xml

This file was deleted.

Loading