Skip to content
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

Back-ends/Stores abstraction #69

Merged
merged 967 commits into from
Feb 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
967 commits
Select commit Hold shift + click to select a range
3d1132f
add annotations in tests
yvrng Sep 7, 2017
d5baf3d
add unique identifiers for `Backend`s + add missing loggers for HBase…
yvrng Sep 7, 2017
8634692
optimize/split/merge some methods in `PersistentEObject`
yvrng Sep 7, 2017
da9c010
reorganize some classes and update from dependencies
yvrng Sep 8, 2017
155a570
add `serialVersionUID` in `Serializer` instances
yvrng Sep 8, 2017
5c4a4e6
add some statistics in `TransientBackend`s
yvrng Sep 8, 2017
089bacc
increase memory in `travis.yml`
yvrng Sep 8, 2017
87cc1a9
remove `Xmx` configuration in Travis/Maven build
yvrng Sep 8, 2017
3c4888d
revert GC parameters for surefire execution
yvrng Sep 9, 2017
4af129e
remove some unnecessary and expensive calls in `AbstractStoreAdapter`
yvrng Sep 11, 2017
12e7979
some renaming
yvrng Sep 11, 2017
596e2db
change the behavior of `metaClassFor`
yvrng Sep 13, 2017
26c9c4b
review structure, optimize `io` and complete export to XMI/ZXMI
yvrng Sep 14, 2017
1f08a7a
move test-cases that don't depend on backends from `tests` to `io`
yvrng Sep 14, 2017
0a216bd
add `io` in benchmarks, and use parametrable options when creating a …
yvrng Sep 14, 2017
a330b67
review `MetamodelRegistry` in `eclipse-ui`
yvrng Sep 15, 2017
814d3e5
move inner classes of `DefaultEPersistentEObject` to upper level
yvrng Sep 15, 2017
990fc2f
move `bind` annotations in another package
yvrng Sep 15, 2017
5069a01
add javadoc in tests
yvrng Sep 15, 2017
45cfe9e
rename some `Backend` implementations
yvrng Sep 15, 2017
d7de3e4
add `FeatureMap` support (require additional tests)
yvrng Sep 15, 2017
f930561
refactoring in `data` modules
yvrng Sep 16, 2017
048bb6c
optimize `indexOf` and `lastIndexOf` `DefaultBlueprintsBackend`
yvrng Sep 16, 2017
ad11d61
update dependencies
yvrng Sep 16, 2017
dd00779
reformat `DefaultBlueprintsBackend`
yvrng Sep 16, 2017
e97fe61
review resource creation and adaptation in benchmarks + add conversio…
yvrng Sep 16, 2017
7fca360
review creation queries in benchmarks
yvrng Sep 16, 2017
7ee93ae
exclude `neoemf-hbase` and `neoemf-tests` from Docker build
yvrng Sep 17, 2017
aa299aa
optimize `Blueprints` backend
yvrng Sep 17, 2017
88c7e59
rename some methods of `DataMapper`
yvrng Sep 17, 2017
8e32165
optimize `Blueprints` backend (2)
yvrng Sep 17, 2017
4ada5c2
review Travis configuration
yvrng Sep 17, 2017
bc6ee47
replace `RuntimeException`s
yvrng Sep 17, 2017
bf3a5a0
replace custom loggers
yvrng Sep 17, 2017
3968d6f
remove a default benchmark option: now optional
yvrng Sep 17, 2017
30f4801
optimize `allInstancesOf`
yvrng Sep 17, 2017
3876382
add some TODOs
yvrng Sep 17, 2017
2aa1310
review stores and default options
yvrng Sep 17, 2017
61c8085
implement `allInstancesOf` in all backends
yvrng Sep 17, 2017
f241fcc
decrease feature size in `AbstractTransientBackend`
yvrng Sep 17, 2017
fda68d2
adapt cache sizes
yvrng Sep 17, 2017
4eb1404
update Neo4j dependencies
yvrng Sep 18, 2017
386f56e
exclude embed dependencies for Neo4j bundle
yvrng Sep 18, 2017
daba580
update Neo4j version in benchmarks
yvrng Sep 18, 2017
1a86795
include Cypher dependency in Neo4j bundle
yvrng Sep 18, 2017
dd5e14d
update examples
yvrng Sep 18, 2017
85720e0
reorganize benchmark methods
yvrng Sep 18, 2017
eb5eef1
add `LazyObject`s
yvrng Sep 18, 2017
e003500
add a default implementation of `FeatureListIterator` without `isSet`…
yvrng Sep 18, 2017
d12f286
disable `isSet` calls in `ContentsList`
yvrng Sep 18, 2017
d9d2234
fix issue #77: intercept errors in Eclipse UI
yvrng Sep 19, 2017
f36ea34
update JTA version in Neo4j bundle
yvrng Sep 19, 2017
c253e64
fix issues #62 & #61: improve resource unloading & attachment
yvrng Sep 20, 2017
0978072
add tests for issue #62
yvrng Sep 20, 2017
aa82502
reorganize benchmark methods
yvrng Sep 20, 2017
76b9884
externalize `EAttribute` & `FeatureMap.Entry` converters
yvrng Sep 20, 2017
f9366f3
persist Java primitive types instead of their `String` representation
yvrng Sep 20, 2017
2405018
unload all resources after each tests
yvrng Sep 20, 2017
4d41db8
reformat code
yvrng Sep 20, 2017
c3a978f
replace the hashing function (128bit to 64bit)
yvrng Sep 21, 2017
c0b294c
add more links between io` and EMF to avoid data redundancy
yvrng Sep 21, 2017
34123b7
move the `Id` creation methods to an `IdProvider`, to avoid direct ca…
yvrng Sep 21, 2017
81c42e2
replace "Murmur3" hash function by "xx"
yvrng Sep 22, 2017
daae5fd
use `long` instead of `String` for `Id`
yvrng Sep 22, 2017
3e62717
some refactoring
yvrng Sep 22, 2017
f5e0fbb
use `int` instead of `String` for feature name
yvrng Sep 23, 2017
03b511b
some refactoring
yvrng Sep 23, 2017
bfde0b0
fix Blueprints properties key (GraphML)
yvrng Sep 23, 2017
fd54059
optimize serialization
yvrng Sep 24, 2017
abc1b98
remove `has***` and `hasAny***` methods
yvrng Sep 25, 2017
89e1549
make `Backend` registration asynchronous and concurrent
yvrng Sep 25, 2017
e68df02
update examples
yvrng Sep 25, 2017
ed55db3
use arrays in `AbstractMapperFactory`
yvrng Sep 25, 2017
9c7b20a
fix dependencies in OSGi bundles
yvrng Sep 25, 2017
278c681
migrate to JUnit 5
yvrng Sep 26, 2017
00170f9
reduce overhead in `io` + add tests
yvrng Sep 27, 2017
632fa30
replace `Iterable`s by `Stream`s on lazy iterators in `all***Of` + re…
yvrng Sep 27, 2017
4a4e13b
add missing tests and copyright
yvrng Sep 28, 2017
304c004
review `Store`s
yvrng Sep 28, 2017
c06a8af
update dependent projects
yvrng Sep 28, 2017
47c5094
complete refactoring in tests
yvrng Sep 28, 2017
939ee16
add `StoreStats` and improve `StatsRecorder`
yvrng Sep 29, 2017
d293a21
fix an issue when loading a model that no longer exists
yvrng Sep 30, 2017
6aeb224
complete review of configuration
yvrng Oct 2, 2017
2fa6128
update stores priority
yvrng Oct 2, 2017
7609bd8
fix `all***Of` logging value
yvrng Oct 2, 2017
22ea26a
use `PersistentEObject` instead of `InternalEObject` in `DefaultPersi…
yvrng Oct 2, 2017
0d87d1d
fix an inconsistency issue when removing a reference in Blueprints ba…
yvrng Oct 2, 2017
da8c18f
fix benchmarks methods (bad return type)
yvrng Oct 2, 2017
dc24402
update imports from `commons` changes
yvrng Oct 3, 2017
60a3434
update badges
yvrng Oct 4, 2017
655d82e
add `LocalPersistentBackend` and `DistributedPersistentBackend` inter…
yvrng Oct 4, 2017
da6fb47
update `CHANGELOG.md` with recent modifications
yvrng Oct 4, 2017
3272be5
add a timeout and logging in `ClasspathAnalyzer` for Travis debug
yvrng Oct 4, 2017
af6d72d
use several specialized `ExecutorService`s for classpath analysis
yvrng Oct 4, 2017
4876e90
remove logging in `ClasspathAnalyzer`
yvrng Oct 4, 2017
aaf78e6
add Fleep webhook for Travis
yvrng Oct 4, 2017
b6e0d18
remove CodeCov comments on PR
yvrng Oct 4, 2017
a92d789
change license to EPL v2.0
yvrng Oct 5, 2017
b9ebf90
merge Neo4j wrapper
yvrng Oct 5, 2017
401e9ec
fix Fleep integration in Travis conf
yvrng Oct 5, 2017
ea9ec04
add tests for uncommon classes (`Invalid**`, `Undefined**`, `Closed**…
yvrng Oct 5, 2017
5e2d815
exclude `Exception` instances from CodeCov report
yvrng Oct 5, 2017
a52bf09
update CodeCov configuration
yvrng Oct 5, 2017
d6a0958
add unit tests for EMF-based classes
yvrng Oct 10, 2017
345a6dd
some fixes in `core`
yvrng Oct 11, 2017
0f1b1d8
fix Jacoco reports
yvrng Oct 11, 2017
517cfb3
remove Fleep integration
yvrng Oct 11, 2017
b4ada34
add SonarCloud addon in Travis
yvrng Oct 12, 2017
b852595
fix issues from Sonar
yvrng Oct 12, 2017
44eb49b
add tags on slow tests
yvrng Oct 12, 2017
1b871df
reformat JUnit5 tests
yvrng Oct 12, 2017
21aae2c
activate pull requests analysis
yvrng Oct 12, 2017
7737503
add `FeatureMap.Entries` in `StoreAdapterTest`
yvrng Oct 12, 2017
1342fea
add/remove `TODO`s
yvrng Oct 12, 2017
f55d085
refactoring in `core`
yvrng Oct 12, 2017
7d9ecec
reduce size of Docker image
yvrng Oct 13, 2017
dc6e64b
add documentation for DockerHub
yvrng Oct 13, 2017
69af3a8
move `io` integration tests from `neoemf-tests` to `neoemf-io`
yvrng Oct 13, 2017
b51829f
rename global `ArgumentsProvider`s
yvrng Oct 13, 2017
3b7475e
remove unnecessary generics
yvrng Oct 13, 2017
ca0629e
fix compilation warnings
yvrng Oct 15, 2017
a534a5b
add `VOLUME` declaration in `Dockerfile`
yvrng Oct 15, 2017
aa22aa3
review Blueprints bundles
yvrng Oct 15, 2017
507d1dc
merge `TransientBackend` and `PersistentBackend`; create a dedicated …
yvrng Oct 16, 2017
940b24f
some refactoring in `Config`s
yvrng Oct 17, 2017
20afe64
cut the methods of `PersistentResource` to improve readability
yvrng Oct 17, 2017
f17ebf8
add missing notifications in `DefaultPersistentResource` and move inn…
yvrng Oct 17, 2017
db2ba48
change test variables
yvrng Oct 17, 2017
bcb9c33
fix padding for `logState`; add javadoc
yvrng Oct 17, 2017
4504d09
update `README.md`; add `neoemf-io` in the main Eclipse plugin
yvrng Oct 17, 2017
83c5678
some minor fixes
yvrng Oct 18, 2017
1370ff0
improve `Bindings`
yvrng Oct 19, 2017
22b397e
add a `StoreListener` abstraction for logging and stats recording
yvrng Oct 19, 2017
a79a5f0
add tests for EMF collections behind a `PersistentEObject`
yvrng Oct 20, 2017
c601a29
fix BerkeleyDB `close()`
yvrng Oct 20, 2017
6d3f015
increase CDO timeout
yvrng Oct 21, 2017
f34c4af
remove a special case in benchmarks
yvrng Oct 25, 2017
b4a2730
add/remove TODOs
yvrng Oct 25, 2017
e8c2c2d
update dependencies and rename tests
yvrng Oct 30, 2017
321dec2
rename misnamed classes
yvrng Oct 31, 2017
a5b2351
remove a dummy method in `AbstractBackendFactoryTest`
yvrng Nov 1, 2017
02589c4
simplify `AbstractUriBuilderTest` and implementations
yvrng Nov 1, 2017
fb374f1
use a bean to intercept method calls in `AbstractListenerStore`s
yvrng Nov 1, 2017
8c20ded
add javadoc
yvrng Nov 1, 2017
fc9f963
reformat `*.md`
yvrng Nov 1, 2017
0928658
simplify reflective `DataMapper` creation
yvrng Nov 1, 2017
5722dc9
add a `TODO`
yvrng Nov 1, 2017
3b0407a
update links in `README.md`
yvrng Nov 1, 2017
7475d79
merge some parts in the `README.md` with the wiki
yvrng Nov 1, 2017
2d1f871
update javadoc for `BackendFactory` instances
yvrng Nov 2, 2017
944f592
add assertions in `AbstractDataMapperTest`
yvrng Nov 3, 2017
7583d49
update Eclipse examples
yvrng Nov 20, 2017
1bb7abf
clean a deleted dependency
yvrng Nov 20, 2017
4b3c470
some minor fixes
yvrng Nov 20, 2017
d91375e
review `neoemf-core` bundle and its association with `commons-core`
yvrng Nov 20, 2017
f91a213
reformat Javadoc
yvrng Nov 20, 2017
c619f9f
add messages for `Preconditions` uses
yvrng Nov 21, 2017
65439e2
improve and generalize bindings analysis
yvrng Nov 21, 2017
04b364c
update the Javadoc and add missing `package-info.java` files
yvrng Nov 21, 2017
3beb396
fix the asynchronous classpath analysis
yvrng Nov 21, 2017
837bd4e
fix deleted imports in tests
yvrng Nov 21, 2017
ed62c38
update build scripts for Travis
yvrng Nov 21, 2017
bcc12a8
improve build scripts with functions
yvrng Nov 22, 2017
4cf4fe3
update dependencies
yvrng Nov 22, 2017
3204f1d
some minor fixes
yvrng Nov 24, 2017
155aeb2
remove logging from store and processor creation
yvrng Nov 24, 2017
3600162
some minor fixes
yvrng Nov 28, 2017
3eaa62f
update dependencies
yvrng Nov 30, 2017
79bbba7
generify `AbstractDataMapperTest`
yvrng Jan 3, 2018
801a458
refactor and improve `Bindings`
yvrng Jan 3, 2018
d5eff01
improve `BackendFactory` and subclasses
yvrng Jan 3, 2018
e8fa3b5
fix exception thrown when a value doesn't exist when calling `valueFo…
yvrng Jan 3, 2018
59dbf70
split methods in `AbstractBackendFactory`
yvrng Jan 3, 2018
ad8068e
refactor `UriBuilder` and `AbstractUriBuilder`
yvrng Jan 3, 2018
9a76bc5
optimize Blueprints mapping
yvrng Jan 4, 2018
3465ed0
update copyrights
yvrng Jan 5, 2018
f0530bc
add `BackendManager`
yvrng Jan 12, 2018
72c06a3
rename `DataManager` to `Savable`
yvrng Jan 20, 2018
378b6ce
replace the Blueprints field names delimiter (`:` to `_`)
yvrng Jan 20, 2018
d85648c
clean-up code
yvrng Jan 20, 2018
9edc0bf
some minor fixes + improve `Throwable` management and `Preconditions`
yvrng Jan 21, 2018
54ac759
add a Maven archetype for creating a new extension (requires modifica…
yvrng Jan 22, 2018
f8d2a34
automate `BackendFactory` name initialization with archetype
yvrng Jan 22, 2018
1ec1584
generalize common exceptions
yvrng Jan 22, 2018
032dd97
update dependencies
yvrng Jan 22, 2018
657203e
move common methods to the `commons` module + rename `Bindings` to `B…
yvrng Jan 23, 2018
e101592
remove some `@SuppressWarnings`
yvrng Jan 24, 2018
9011e6c
some cleaning + update all modules from main
yvrng Jan 24, 2018
11a4b9f
improve `Preconditions` usages
yvrng Jan 24, 2018
6212ace
improve bindings (configuration and inheritance by reflection)
yvrng Jan 25, 2018
1763c1d
improve `DataMapper` and `StoreAdapter` tests
yvrng Jan 25, 2018
172557b
simplify `BlueprintsConfig` implementations
yvrng Jan 26, 2018
9bf8543
extract `TreeIterator` implementations from `PersistentEObject#eAllCo…
yvrng Jan 26, 2018
2690fbf
optimize `AbstractBlueprintsBackend#get()` and `***#getOrCreate()`
yvrng Jan 26, 2018
f5d423e
extract `Iterator` from `ContentsList` and refactoring in EMF `Iterat…
yvrng Jan 27, 2018
4ab98d4
simplify and optimize `AllContentsIterator`
yvrng Jan 27, 2018
0782dea
simplify and optimize `ContentsListIterator`
yvrng Jan 29, 2018
82b4bda
fix a misnamed test
yvrng Jan 29, 2018
38dd2e1
simplify and optimize `ContentsList`
yvrng Jan 30, 2018
a32a79e
simplify and optimize all lazy collections
yvrng Jan 30, 2018
830f017
optimize `ContentsList` and `ContentsListIterator`
yvrng Feb 1, 2018
1717d92
implements `ContentsListIterator#fastAdvance(int)` to optimize calls …
yvrng Feb 1, 2018
db9628c
remove size check when creating a new `ListIterator` with `index == 0`
yvrng Feb 2, 2018
295096b
re-implements `LazyIterator`s
yvrng Feb 2, 2018
226764e
use lazy-loading in benchmarks
yvrng Feb 2, 2018
b801d16
clean dependencies
yvrng Feb 2, 2018
9baf79a
add missing annotations
yvrng Feb 2, 2018
88aa08c
add a "default" configuration for Blueprints:required by the binding …
yvrng Feb 2, 2018
76ec84e
update the code with `commons-core` optimizations
yvrng Feb 3, 2018
1380ce4
refactor iteration helpers
yvrng Feb 3, 2018
18702f8
fix `RunnerState` in benchmarks
yvrng Feb 4, 2018
7712000
add a builder structure for I/O beans
yvrng Feb 4, 2018
0ef9a70
add JProfiler profiling support for benchmarks in Docker
yvrng Feb 4, 2018
6b621ec
re-implement delegated methods of `LazyStoreList` and `LazyStoreFeatu…
yvrng Feb 5, 2018
d899de8
change `ROOT` identifier
yvrng Feb 5, 2018
742d618
move caches initialization of `StoreAdapter`s
yvrng Feb 5, 2018
dbfc512
change default stores in benchmarks (AMC -> A)
yvrng Feb 5, 2018
65981eb
unable lazy loading of resources in benchmarks
yvrng Feb 6, 2018
f84f566
some minor optimizations in I/O
yvrng Feb 6, 2018
bfe248a
complete refactoring of queries in benchmarks
yvrng Feb 7, 2018
6fe24b9
update copyrights
yvrng Feb 7, 2018
25b4482
refactor collections creation
yvrng Feb 7, 2018
b89dd45
use BlackHole to avoid JVM optimisations in benchmarks
yvrng Feb 7, 2018
e831c0f
split queries related to ASE 2015
yvrng Feb 7, 2018
3ce209d
move inner `IdGraph` to upper level
yvrng Feb 8, 2018
748dbd6
minor optimizations in collections
yvrng Feb 8, 2018
a5377d1
minor refactoring in mappings
yvrng Feb 8, 2018
8f11aca
some improvements in I/O
yvrng Feb 10, 2018
6dede6a
add javadoc on `MockBackendFactory`
yvrng Feb 10, 2018
77cabe6
refactoring in Blueprints module + fix index
yvrng Feb 10, 2018
0abdcf2
replace calls to `Vertex#addEdge()` by `Graph#addEdge()`
yvrng Feb 10, 2018
33fd48e
move vertices cache at `Graph` level
yvrng Feb 11, 2018
44ca150
improve `Converter`s management
yvrng Feb 12, 2018
8ee80d9
fix CodeCov integration
yvrng Feb 12, 2018
6fdf84e
update CodeCov coverage range
yvrng Feb 12, 2018
27c97d4
replace calls to `IntStream#forEach` by `IntStream#forEachOrdered`
yvrng Feb 14, 2018
387fc8d
simplify some methods in `StoreAdapter`s
yvrng Feb 14, 2018
99e4b1e
change default parameters in benchmarks
yvrng Feb 15, 2018
148800c
some adjustment in `StoreAdapter`
yvrng Feb 15, 2018
206c8ea
update changelog
yvrng Feb 15, 2018
8f2bcf1
add a flexible structure for Blueprints
yvrng Feb 15, 2018
02c1683
rename some methods
yvrng Feb 15, 2018
5c7ba30
rename some method parameters
yvrng Feb 15, 2018
599abd7
change the failure message when comparing models in tests
yvrng Feb 15, 2018
c1c7bac
add failure message when using `Preconditions#checkNotContainsNull`
yvrng Feb 15, 2018
2378298
locally cache the URI of `ClassVertex`
yvrng Feb 15, 2018
5d21b16
Merge branch 'master' into backend-abstraction
yvrng Feb 15, 2018
672ed4f
add javadoc in Blueprints structure
yvrng Feb 16, 2018
3ade744
fix javadoc (missing declarations, parameters,...)
yvrng Feb 16, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 12 additions & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
comment: false
coverage:
precision: 2
range:
- 50.0
- 90.0
round: down
range: 50...75

status:
changes: false
patch: true
project: true
project: true

ignore:
# Ignore tests
- "**/tests/.*"

# Ignore `Exception` instances
- "**/*Exception.java"

comment: false
65 changes: 9 additions & 56 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,64 +1,22 @@
### Windows

# Windows image file caches
**/Thumbs.db
**/ehthumbs.db

# Folder config file
**/Desktop.ini

# Recycle Bin used on file shares
**/$RECYCLE.BIN/

# Windows Installer files
**/*.cab
**/*.msi
**/*.msm
**/*.msp

# Windows shortcuts
**/*.lnk

### OSX

**/.DS_Store
**/.AppleDouble
**/.LSOverride

# Icon must end with two \r
**/Icon

# Thumbnails
**/._*

# Files that might appear in the root of a volume
**/.DocumentRevisions-V100
**/.fseventsd
**/.Spotlight-V100
**/.TemporaryItems
**/.Trashes
**/.VolumeIcon.icns

# Directories potentially created on remote AFP share
**/.AppleDB
**/.AppleDesktop
**/Network Trash Folder
**/Temporary Items
**/.apdisk

### Linux

**/*~

# Temporary files which can be created if a process still has a handle open of a deleted file
**/.fuse_hidden*

# KDE directory preferences
**/.directory

# Linux trash folder which might appear on any partition or disk
**/.Trash-*

### JetBrains

**/.idea/
Expand All @@ -78,13 +36,6 @@
### Eclipse

**/.metadata
**/bin/
**/tmp/
**/*.tmp
**/*.bak
**/*.swp
**/*~.nib
**/local.properties
**/.settings/
**/.loadpath
**/.recommenders
Expand Down Expand Up @@ -119,16 +70,18 @@
### Others

**/*.log
**/java-gen
**/java-gen/

.gitignore
CHANGELOG.md
README.md
LICENCE
.travis.yml
.codecov.yml
.keystore
**.md
**.yml
**.html

.git
.util
examples
plugins
plugins

### Docker
!Dockerfile
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@

**/.idea/
**/*.iml
**/*.iws
**/*.eml
**/*.iws

### NetBeans

Expand Down Expand Up @@ -125,3 +125,5 @@

**/*.log
**/java-gen

.keystore
46 changes: 28 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,52 @@
language: java

os: linux
sudo: false
dist: trusty

language: java
jdk: oraclejdk8

branches:
except:
- gh-pages
only:
- /.*/

env:
global:
- JAVA_OPTS="-Xms256m -Xmx2g"
# GH_TOKEN
- secure: Mc7Pm9YGZiw3jr2NKBtIVozgC+iyrJ6F7V3UvpGPWQgn/IbJ6AM5YBSwvOk2P+jZI9k1vIgsrWIIKfu/1NYoJ5MC1mk94942ZNC+DJW1n+thgJ84xyLc4wXD8sYCdofWGcSrLYNZQpXkpbSuL8gVYk4iMQ8tI+jIoxRye1fgfYiBle2W3Pt/e4g0OGD339+ghSoKgBduM91elZmqFvf25CXYPcPtqZaXapmor9wBZyf8j7HLZsXLg2paA0Owpbn+WSdzFxKTvT3vn7ZY/iB6O80KYZTM/CcpzONdEEQUkMGc2bKfOVQ1lgqCbZyjbSyp8eTA43m949o+WOujhYQxqfZkg/1FPB5urIf+VF4o+hFFF/zZ8bJ6zPvD8MA7E4i3/LpNP7uNVndv6p8ijfm6fbuNe2MaK19yUQqMbriFlY6KfVy+o0yrc9InNoEFP+cbRMIoTVY/wIL5OIf06AE1RG7hNW7/jd8Nh4yuGLCgL87QybTxu37Jeho/K1XHZ2y7xi+6B3vbajvRpUgvyks/C0nnrpip5cnwS89XhEb/dj7rPvanfRiUUmoWxJKKEYut257SkP8AMxgUwc4TJb+GAsT7EyruToFsft4zzAXvejd6HM1QjAcq/96BbY8f6n+LnAHyKmwJbbLis0SxlmFMeyCeCJwcXmqzN7Axd/76gR4=
# CI_DEPLOY_USERNAME
- secure: XqrcRD3UdVubycFT8yDN7Lv8tSpmpGOCPb5WlKBkSM+dO5xr02MG7lX9lEFwdBM6od3/vqLggNMgRGDZYQBX5LV+qimhpOltuvO8umzIf8ff/ztKUsz8gBgCxZaSuxOf66iTPp///o2WwENoxn3qT7vF8ePmksx9FYArhl8Pa32yj6GY9Meu139XomMg5qbkgN9s0h8d+XV4DFaUAd3a+ovuENGphFyJzWY3h/7CaHRdi5WyVSmsPwSvUoEwa9Y7ujlpImZBrkm7slo8lYMZDSWD/bCaNcP4G/bWetWjwz+sU5lGFxljlcNo79Q87yn0Vc6zMjFzh8CmUu1lfdUEH5RL3HQkimoO0oxenj/tuHcn+FSbUQ1LpP/za3CNJOSRG7pQJPZUsENKnRokRKuyh3/WW/cTANevZcbu/o7jtlR5CmH4zpuZMBnxpZgVmZOBWIakJ9IU15Fgmb/g/GAnTtYl+WPI4qS4WnFLZmOTEWVUjwSIPUykAePUvF0zxO2nyh6kd5yyfRqY14kJloA7/ZkVIsmAOecwlxdEU1izVb/CTpY45SeWe5g3FE3ltL45ZPdCA+h0yKRy4eaVeuTNO6zKX3D5uQu193X9Rq2oYckdkDfd/TJ1wf2DiBZ7WFIOCp0MmevFJ82w7M++jkiLYII72DSzJg7ePfyo+IhVs3E=
# CI_DEPLOY_PASSWORD
- secure: FbSKxzPkjTrkom1EAjqbOKfSLmeWDfUj6FZks5pmTvdO6bFX641HRPOkWQ7o3p0QnXTWIl3KaT6PLCdRlVmIdepHbHjJt1x1HTuD/j82aOxUl1JUhiG3WFWE2V4tOuvABE8eRyvE1uGJ5Ik0F5BXy1QYwlWpbO9VORA3Kz4Xm6yu/kroH2EQlRxJN4LtM6ufDeimfU3LmbSSPs54Et3e45GNzbAw0KmupOvphfr5sJd3xpS3vQMtdHbVlCoDu0/F9ntEgBzwrOphX7rpo90MOU2j8dakAGGMku1DddPEuOckCkn0KjYfcvBwETJWd09my6L3BFCyto3doaYpjv361/GYc5508eYLmGom+AQVybhXTVOzIDn8gdr7UkvgJgeown8STMiiTKfq7HmJ3vTXpNrAXzS6Oa9la2OFa+wW54hs+nABfsPLNkIuaC9X5FXt8X356OgAOv0GUn3EiofMXH928dIXb3kftnF9Y+oS7OE+mwnbp5SfrOOp3TF8v0E3fOuWs/Wfe1QWuDu3+xa7wXfMLLxBb6HqsUV5A4/DaCqwcH4/tMge3PVWJ56jWIpzL33On7wMuzaRnxjbuO6brL3ywLWgXJnuGv2FVfe3CYpLLgT4zstspM/oftREBQlAQffpYQMiaSRuqm+rMbQuXpH2Fi+AO7jA2ENiQBkOk98=

before_install:
# Replace 'nexus.codehaus.org' from '.m2/settings.xml' in Travis (see https://github.com/travis-ci/travis-ci/issues/4629#issuecomment-131214465)
- sed -i.bak -e 's|https://nexus.codehaus.org/snapshots/|https://oss.sonatype.org/content/repositories/codehaus-snapshots/|g' ~/.m2/settings.xml
#addons:
# sonarcloud:
# organization: atlanmod
# token:
# secure: UxzN9mjAfVsvkNu9uMoJyLH6nM5jrAA+ubEWicUJ3TK4PwH/P05V4MG2eiRU6VZmeazBFAIOD9dgEhQjKu8vpsd16T8QMBoowsugP4L/uYXullV5RP+u+0zdrXl78yQL7ndlyvLlEIjQ6cnxPY5Fs8+yTnWXAau2+ls6lJhUlwJtNmQei2aEWEG6RHnGZ16PcGmSuyO2kZVv9bsui47FekkEdx2l0zzNOIxTq6qazl5jaMfnSui0njl2odk2A40BeVdBsdyn6yDLfzH8ScBBXpEMBLuE2KRctNc8IMprCyJ+ZdcNo7C5xw9je90RWG9YGHTcIEhx5OanrejZoBmMa3Xp2pKPDMnn5bG5pK2p6h7pj+6KPfpkR02PiRbO2fluksUypklWTZolwVXS/Z8IEcitN0k1r5pg4VJ2hI7g7P8YkKB3mybUgfPt/u7UxY/z+tjTNPblI6c+kRSXTzwdMSP+vhq0J2Uv/wuP3k/TV0wl37rHF3Rj4yhsU4zrQBx0JUYfeLFtYpg8/DzuZtvPwR1jDBMA1zfhMAoo/Mvzkcu1sj8sFUSZ9DweSUO8RBWt1nFiIBsSQhsVC+oxSiDnM/3gH28CEU+oaGnQhBbt6pc+23IchiTdd5G8szRlwr075hBJMeYBLjC6jwxKZRj8YCvsOrEyOtbsmf7tKUofhVQ=
# github_token:
# secure: eWigAAzroYCg6Q6WPAy+FjT0jLJHZ9+QZbsBobKvF/Gwv2nBLw7BkN10oY2cv6dx+a3jGJrLM0xbHCzxsas4Dq/WKFabDa/lku/FgmxOTyzDtlhY5Sf30C+6zn9Cr520iCVlprAOghs+iJjO74rrvZ8jaMl1abOB14BAkZ8UXmcbyT98W03z4WQikCnAOZiLa7UCo9Lbtoz5Wk5DH8pLXWFdv/EerCNWUAfnKKVYCOTCe1f2wdFKsFtc+qjGiuxLAA9QCEWCTxRjHDUnbdJu32/sOyhYUgQkfVx8SXpfTrDcwLvJZesVsLf9G3Bjr/6MmEih9r5uEE7J1q44uICWhgigOSWtnuGyeDlIJ7bq5W1ktrwXWbki196Y94YjNtafKdEnmKFQ6rF5L7+U3I9o1ku0p3zjtotLCPI+1/L7J9IXphPNQxEriSaCN3EXrozt96Yan3rbjwxEVvILURVQu2m4N/6VnUb1XeY+oi8vGeC67NVDQi1HE0RF/JObapGmmDyKlwMOQSsOUcalAZlSk+17LPVGcdTLmBPUrDhbybM72zy1TycO5UIPj7jhu2kOBFQq1yLtKikvgXlV5wlh2BOevBQvONRK8cXZkGqtYg/zuNZ+I2EK/0ZSJ82x5bNIDH+UFJ3BD5G4IZMS93Y+9a52FKKVpsG1caHLnWBtdb0=

cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'

install:
# Resolve all dependencies
- mvn -B -V -q -DskipTests install

script:
# Build and test with code coverage
- mvn -B jacoco:prepare-agent install jacoco:report jacoco:report-aggregate
# Build and test with code coverage (add `verify sonar:sonar` to enable the Sonar analysis)
- mvn -B jacoco:prepare-agent test jacoco:report jacoco:report-aggregate

after_success:
# Publish code coverage in CodeCov
- bash <(curl -s https://codecov.io/bash)

# Deploy snapshot in Maven central
- bash .util/deploy_snapshot.sh

# Publish Javadoc in Github
- bash .util/publish_javadoc.sh
# Publish snapshot in Maven central
- bash .util/publish_snapshot.sh
# Publish update-site in Github
- bash .util/publish_eclipse.sh

# Publish update-site of Eclipse plugin in Github
- bash .util/publish_plugin.sh

notifications:
slack:
Expand Down
19 changes: 2 additions & 17 deletions .util/releasing.md → .util/RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ The procedure is the same as in the main project.

- Commit __(without push)__ the modifications
- Tag the commit with name `vX.Y.Z`
- Create a new branch named `vX.Y.Z`

# Deploy a release

Expand All @@ -67,34 +66,20 @@ Maven must be configured to handle signature and deployment.
The following `settings.xml` file must be filled and placed at the root of your `.m2` directory:

```xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<settings>
<servers>
<server>
<id>ossrh</id>
<username>{OSS-USERNAME}</username>
<password>{OSS-PASSWORD}</password>
</server>
</servers>
<profiles>
<profile>
<id>deployment</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg2</gpg.executable>
<gpg.passphrase>{GPG-PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
</profiles>
</settings>
```

Once is done, you can deploy your artifacts on Maven Central with the following:
```
mvn clean package javadoc:jar source:jar-no-fork gpg:sign install deploy -DskipTests
mvn clean deploy -DskipTests -P deploy-artifacts
```

Artifacts are now staged and wait for validation and deployment on the [Nexus Repo Manager][oss-sonartype] (Note that staged artifacts, are not definitive, they can be removed/cancelled): A full description of different steps is available [here][oss-sonartype-release].
Expand Down
Loading