Skip to content
Merged
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
4 changes: 2 additions & 2 deletions build-coatjava.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ cp external-dependencies/jclara-4.3-SNAPSHOT.jar $prefix_dir/lib/utils
# build (and test)
unset CLAS12DIR
if $runUnitTests; then
$mvn install # also runs unit tests
$mvn install -DskipTests=false
else
$mvn install -DskipTests
$mvn install
fi

# run spotbugs
Expand Down
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@
</repository>
</repositories>

<profiles>
<profile> <!-- skip unit tests by default -->
<id>skip-tests</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<skipTests>true</skipTests>
</properties>
</profile>
</profiles>

<!-- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->

<dependencyManagement>
Expand Down