Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
df40179
Change build order to fix build issue
sergehuber May 5, 2020
cebcd61
[maven-release-plugin] prepare release unomi-root-1.5.0
May 5, 2020
3eafea6
[maven-release-plugin] prepare for next development iteration
May 5, 2020
7ac416e
- Update copyrights from 2019 to 2020
sergehuber May 6, 2020
847e7a3
Revert to version 1.5.0-SNAPSHOT
sergehuber May 6, 2020
049a49b
- Fix versions that were not properly updated
sergehuber May 6, 2020
206b646
[maven-release-plugin] prepare release unomi-root-1.5.0
May 6, 2020
954d7e5
[maven-release-plugin] prepare for next development iteration
May 6, 2020
823386a
Make it possible to white list and black list classes used in OGNL an…
May 12, 2020
4886cf0
Fix missing version updates
sergehuber May 12, 2020
75c6cf5
[maven-release-plugin] prepare release unomi-root-1.5.1
May 13, 2020
962fe8f
update version to 1.5.2-SNAPSHOT
Jun 30, 2020
bade4b1
update to karaf cellar 4.2.0-SNAPSHOT
Jun 30, 2020
8ae5965
Add profileId to the ContextRequest, and create profile with this id …
shirbr Jul 7, 2020
3a6c094
Depoly unomi from tag to jfrog
shirbr Jul 10, 2020
ca5d4aa
Depoly unomi from tag to jfrog
shirbr Jul 10, 2020
1bbc341
Merge branch 'releases' of github.com:YotpoLtd/unomi into releases
shirbr Jul 21, 2020
0f509fb
Unomi-336 fix past event count using custom timestamp (#160)
nlevitsky May 20, 2020
43194dc
Add itests for sending a new event with profile id
shirbr Jul 20, 2020
2d7e15c
Use profile ID in case session ID is null, to check if event has alre…
liatiusim Jul 20, 2020
8689bc9
Merge branch 'releases' of github.com:YotpoLtd/unomi into releases
shirbr Jul 21, 2020
6c7c05b
remove tag reset
liatiusim Jul 21, 2020
7ddec79
test check
liatiusim Jul 21, 2020
98c5033
remove reset
liatiusim Jul 21, 2020
1be9ee8
Merge pull request #9 from YotpoLtd/remove-reset-tag
liatiusim Jul 21, 2020
e5b5696
use 4.2.0
shirbr Jul 21, 2020
149dfa8
Merge pull request #11 from YotpoLtd/update-cellar-version
lyogev Jul 21, 2020
08f2923
deploy only on master
shirbr Jul 21, 2020
b56aabc
Merge pull request #12 from YotpoLtd/add-build-step
shirbr Jul 21, 2020
14f9f84
run tests when running mvn install
shirbr Jul 21, 2020
fae071e
Merge pull request #13 from YotpoLtd/run-with-tests
shirbr Jul 21, 2020
ec52806
working scroller id
liatiusim Jul 22, 2020
44532d1
scroller-test
liatiusim Jul 23, 2020
ceb0c94
itest for scroller
liatiusim Jul 23, 2020
8c77ebb
revert test
liatiusim Jul 23, 2020
d92817c
Merge pull request #14 from YotpoLtd/DATA-3346-unomi-scroller
shirbr Jul 23, 2020
deae78a
feat(Scroller-itest) - Add itest for scroller queries (#15)
liatiusim Jul 23, 2020
00ed8ae
feat(Remove-refreshPersistence) - Remove refreshPersistence call from…
liatiusim Jul 23, 2020
23410f9
feat(1.5.2-SNAPSHOT) - Use 1.5.2-SNAPSHOT in itests (#17)
liatiusim Jul 23, 2020
7c2b410
fix branch name
liatiusim Jul 27, 2020
3f6a5b1
Merge pull request #18 from YotpoLtd/fix-publish
shirbr Jul 27, 2020
bef1e3e
remove maen cahce from travis
shirbr Jul 27, 2020
c8b92fc
add --update-snapshots
shirbr Jul 28, 2020
ef60bb0
Merge pull request #19 from YotpoLtd/mvn-update-snapshots
shirbr Jul 29, 2020
6affd95
update version to 1.5.2-YOTPO-SNAPSHOT
shirbr Jul 29, 2020
c56190b
Merge pull request #21 from YotpoLtd/update-version
lyogev Jul 29, 2020
9ad58da
Return server error on elastic exception
liatiusim Aug 3, 2020
43a88c5
Fix unit test by not re-using event IDs
sergehuber Jul 21, 2020
808cb35
Merge pull request #29 from YotpoLtd/fix-contextIT-test
liatiusim Aug 10, 2020
42680dc
fix profile service it tests
liatiusim Aug 10, 2020
738ca76
Merge branch 'releases' into fix-ProfileIT-test
shirbr Aug 10, 2020
1e2e8dc
Merge pull request #30 from YotpoLtd/fix-ProfileIT-test
liatiusim Aug 10, 2020
609c087
Add itests run, use cache in travis
liatiusim Aug 10, 2020
f69ef1e
check test
liatiusim Aug 11, 2020
fb91f1f
Merge pull request #32 from YotpoLtd/add-travis-itest
liatiusim Aug 11, 2020
8b3ac80
Add itest for checkout event existence with profile id
liatiusim Jul 26, 2020
a6e13f7
remove refreshPersistence
liatiusim Aug 11, 2020
b3da4a2
Merge branch 'releases' into DATA-3240-return-error
liatiusim Aug 11, 2020
3215b1b
Merge pull request #33 from YotpoLtd/add-itest-for-null-profileID
liatiusim Aug 11, 2020
e237dd9
Add itest that checks exception return from elasticImpl
liatiusim Aug 12, 2020
c565ec1
YOTPO - Change default throw exception to true in custom properties
liatiusim Aug 12, 2020
b05bf12
Merge branch 'releases' into DATA-3240-return-error
liatiusim Aug 13, 2020
02dd7b1
YOTPO - fix no snapshot option
liatiusim Aug 13, 2020
a6f08a9
Fix broken test
liatiusim Aug 13, 2020
dbdd832
YOTPO - Disable non stable tests
liatiusim Aug 13, 2020
2b495a1
Merge pull request #34 from YotpoLtd/fix-no-snapshot
shirbr Aug 13, 2020
164cfa6
Merge branch 'releases' into DATA-3240-return-error
shirbr Aug 13, 2020
19a3afc
Merge pull request #22 from YotpoLtd/DATA-3240-return-error
liatiusim Aug 16, 2020
b9c789f
Stop Unomi if reactor stopped
liatiusim Aug 16, 2020
465029c
Merge pull request #36 from YotpoLtd/DATA-3548-reactor-error-new
liatiusim Aug 20, 2020
621c3b9
feat(DATA_3381-merging-monthly-indices): remove itemsMonthlyIndexed f…
amitco1 Sep 6, 2020
411b744
fix(elasticsearch): start using if_seq_no and primary_term where poss…
Sep 11, 2020
0d1fd54
Merge pull request #41 from YotpoLtd/optimistic_locking
lyogev Sep 17, 2020
487d11b
fix(elasticsearch): fix event save after the addition of optimistic c…
Sep 19, 2020
dcf33df
Merge pull request #43 from YotpoLtd/fix_event_save_optimistic
lyogev Sep 19, 2020
b35dee6
fix(elasticsearch): event should always overwrite
Sep 20, 2020
a11326f
Merge pull request #44 from YotpoLtd/another_optimistic_fix
lyogev Sep 20, 2020
1c264cc
feat(mergeOnProfile): enable merge of profiles when event does not in…
Sep 15, 2020
ab6f08a
fix merge elastic conflict- when saving profile on merge- load profil…
Sep 23, 2020
ae4c2cb
Use stop bundle in order to stop unomi in case of an illegal fatal st…
liatiusim Sep 22, 2020
81e4cc8
fix(elasticsearch): save should update the item with metadata
Oct 5, 2020
e66423e
fix(elasticsearch): allow to always refresh before query/count
Oct 5, 2020
4ebac7e
expand past event to have also from/to date
liatiusim Sep 30, 2020
ccc77cd
feat(support_addValues): add list to profile
amitco1 Oct 18, 2020
079b903
Optimize past event queries
liatiusim Oct 10, 2020
fda6a98
feat(segment): retry segment update if failes for conflict
Oct 26, 2020
3100ea0
add mappingOverride parameter, to enable mapping override
shirbr Oct 26, 2020
1655d0e
UNOMI-368 add propertyValueDouble to condition evaluator (#185)
shirbr Oct 29, 2020
cd35644
feat(geo location condition): add support for getting location path f…
shirbr Nov 1, 2020
d352821
Revert "fix(elasticsearch): allow to always refresh before query/coun…
shirbr Nov 6, 2020
1f827e6
Add option to use a custom condition hook
liatiusim Oct 26, 2020
9b4aa08
Fix NPE in SetEventOccurenceCountAction
Nov 7, 2020
08ef7b9
refactor segmentService with retry
Nov 17, 2020
0026b0c
Expose refresh policy
liatiusim Nov 22, 2020
7aed2ce
feat(segment): update segment in bulk request
Dec 1, 2020
7ce4ebc
rename item.metadata to item.systemMetadata
Dec 2, 2020
c800c34
fix itest build after variable rename
Dec 2, 2020
56b0872
add nested property and fix bug in property condition evaluator for e…
liatiusim Dec 8, 2020
22892c6
Support direct property from getNestedProperty
liatiusim Dec 27, 2020
9f7a7b6
feat(UpdateProfilePropertiesAction): support addToSet
Dec 27, 2020
14b01b1
feat(mergeProfileOnPropertyAction): support take Events profile as ma…
Dec 23, 2020
e00e784
fix when bulk updating empty bulk
Jan 18, 2021
d52369d
fix for mergeToSelf when profile changes mergeIdentifier
Jan 21, 2021
493bb1c
feat(segment): save segment definition only if all passes. log except…
Jan 24, 2021
b549451
create a method for match calculation
liatiusim Jan 25, 2021
7df97b6
check - use size 1000 when querying from merge action
liatiusim Feb 1, 2021
2ac41ee
feat(segment): fix update segment by allowing overwrite (#87)
Feb 2, 2021
d2970f1
fix(merge-action): when changing identifier to existing, take event p…
Feb 17, 2021
2e57e09
fix(updatePropertoesAction): fix override statrategy when updating pr…
Feb 18, 2021
4c1f6bf
Add explicit update for the current event, to avoid race condition
liatiusim Feb 18, 2021
2bb1959
add persistent to hard coded values
liatiusim Feb 18, 2021
5b5c8f1
fix bug in update event in merge
liatiusim Feb 24, 2021
448ceac
fix(update-event) on merge action
liatiusim Feb 26, 2021
2d0e215
add is merged parameter
liatiusim Mar 2, 2021
6585517
fix(rest): add optional error messages
Mar 4, 2021
21ee053
Revert "fix(rest): add optional error messages"
liatiusim Mar 8, 2021
5c69c7b
Add protection from cycle in merge profiles
liatiusim Mar 11, 2021
c7bb2ec
Add option to query with exclude fields
liatiusim Mar 8, 2021
f7b844d
feat(DefaultPropertyMergeStrategyExecutor) : handle nested properties…
Mar 14, 2021
4d7ee3d
fix(rest): add optional error messages
Mar 16, 2021
c510b2b
feat(log): log times for segment update (#103)
Apr 14, 2021
6344abd
feat(Item): add getter to metadata in Item, to have it when objectMap…
Apr 25, 2021
434a407
feat(GeoPoint): fix GeoLocationByPointSessionConditionEvaluator path…
Apr 25, 2021
5cddc08
Revert "feat(Item): add getter to metadata in Item, to have it when o…
Apr 25, 2021
d507d6f
feat(propertyConditionEvaluator): not in condition should be true whe…
Apr 26, 2021
9dd9ba1
Use configuration param for the default strategy
liatiusim Apr 26, 2021
589b855
feat(segments):update segment's profiles via 'update-by-query' (#107)
OrenBY Apr 29, 2021
7721ad3
feat(DATA-4535):New MultiGetRequest for PersistenceService
Irenez753 Apr 28, 2021
455fb48
feat(SegmentService): calculate once a day segments with TimeExpr (#110)
May 5, 2021
bf832cf
add missing setter (#113)
May 5, 2021
e7f0a63
feat(segments):Remove segment's profiles via 'update-by-query'
OrenBY Apr 19, 2021
670d486
fix daily segment eval after first run, run once a day (#115)
May 6, 2021
a2cdaa4
fix(Elasticsearch):fix slice size property
OrenBY May 6, 2021
40ca0a7
feat(PropertyConditionEvaluator) : fix notEquals when null values, sh…
May 9, 2021
e0a4e22
feat(UNOMI-482-setPropertyAction-eventArrivalTime):added eventArrival…
amitco1 May 5, 2021
9a36207
when building a property condition query, throw exception if comparis…
sagyr May 12, 2021
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ GeoLite2-City.mmdb
allCountries.zip
rest/.miredot-offline.json
/extensions/salesforce-connector/test.properties
extensions/web-tracker/javascript/dist/*
extensions/web-tracker/javascript/snippet.min.*
**/*.versionsBackup
27 changes: 27 additions & 0 deletions .travis.settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<servers>
<server>
<username>${JFROG_USER}</username>
<password>${JFROG_PASSWORD}</password>
<id>snapshots</id>
</server>
</servers>
<profiles>
<profile>
<repositories>
<repository>
<snapshots />
<id>snapshots</id>
<name>maven</name>
<url>https://yotpo.jfrog.io/artifactory/maven</url>
</repository>
</repositories>
<id>artifactory</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>artifactory</activeProfile>
</activeProfiles>
</settings>
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
group: edge

services:
- docker

cache:
directories:
- $HOME/.m2/
before_cache:
rm -rf $HOME/.m2/repository/org/apache/unomi

language: java

stages:
- name: build
if: branch != releases
- name: build and deploy
if: branch = releases

install: skip

jobs:
include:
- stage: build
name: "Build Unomi"
jdk: openjdk8
script:
- ./build.sh
- stage: build and deploy
name: "Build and deploy Unomi"
jdk: openjdk8
script:
- ./buildAndDeploy.sh
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Unomi
Copyright 2015-2019 The Apache Software Foundation
Copyright 2015-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache Unomi
Copyright 2016 The Apache Software Foundation
Copyright 2015-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
7 changes: 5 additions & 2 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.unomi</groupId>
<artifactId>unomi-root</artifactId>
<version>1.5.0-SNAPSHOT</version>
<version>1.5.2-YOTPO-SNAPSHOT</version>
</parent>

<artifactId>unomi-api</artifactId>
Expand All @@ -37,7 +37,10 @@
<version>2.2.11</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
</dependencies>

<reporting>
Expand Down
18 changes: 18 additions & 0 deletions api/src/main/java/org/apache/unomi/api/ContextRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class ContextRequest {
private Profile profileOverrides;
private Map<String, Object> sessionPropertiesOverrides;
private String sessionId;
private String profileId;

/**
* Retrieves the source of the context request.
Expand Down Expand Up @@ -242,4 +243,21 @@ public String getSessionId() {
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}

/**
* Retrieve the profileId passed along with the request. All events will be processed with this profileId as a
* default
* @return the identifier for the profile
*/
public String getProfileId() {
return profileId;
}

/**
* Sets the profileId in the request.
* @param profileId an unique identifier for the profile
*/
public void setProfileId(String profileId) {
this.profileId = profileId;
}
}
25 changes: 25 additions & 0 deletions api/src/main/java/org/apache/unomi/api/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.unomi.api;

import org.apache.commons.lang3.StringUtils;
import org.apache.unomi.api.actions.ActionPostExecutor;

import javax.xml.bind.annotation.XmlTransient;
Expand Down Expand Up @@ -323,6 +324,30 @@ public Object getProperty(String name) {
return properties.get(name);
}

/**
* Retrieves the value of the nested property identified by the specified name.
*
* @param name the name of the property to be retrieved, splited in the nested properties with "."
* @return the value of the property identified by the specified name
*/
public Object getNestedProperty(String name) {
if (!name.contains(".")) {
return getProperty(name);
}

Map properties = this.properties;
String[] propertyPath = StringUtils.substringBeforeLast(name, ".").split("\\.");
String propertyName = StringUtils.substringAfterLast(name, ".");

for (String property: propertyPath) {
properties = (Map) properties.get(property);
if (properties == null) {
return null;
}
}
return properties.get(propertyName);
}

/**
* Retrieves the properties.
*
Expand Down
10 changes: 10 additions & 0 deletions api/src/main/java/org/apache/unomi/api/Item.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.slf4j.LoggerFactory;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

Expand Down Expand Up @@ -63,6 +64,7 @@ public static String getItemType(Class clazz) {
protected String itemType;
protected String scope;
protected Long version;
protected Map<String, Object> systemMetadata = new HashMap<>();

public Item() {
this.itemType = getItemType(this.getClass());
Expand Down Expand Up @@ -140,4 +142,12 @@ public Long getVersion() {
public void setVersion(Long version) {
this.version = version;
}

public Object getSystemMetadataMetadata(String key) {
return systemMetadata.get(key);
}

public void setSystemMetadata(String key, Object value) {
systemMetadata.put(key, value);
}
}
25 changes: 25 additions & 0 deletions api/src/main/java/org/apache/unomi/api/Profile.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.apache.unomi.api;

import org.apache.commons.lang3.StringUtils;
import org.apache.unomi.api.segments.Scoring;
import org.apache.unomi.api.segments.Segment;

Expand Down Expand Up @@ -94,6 +95,30 @@ public Object getProperty(String name) {
return properties.get(name);
}

/**
* Retrieves the value of the nested property identified by the specified name.
*
* @param name the name of the property to be retrieved, splited in the nested properties with "."
* @return the value of the property identified by the specified name
*/
public Object getNestedProperty(String name) {
if (!name.contains(".")) {
return getProperty(name);
}

Map properties = this.properties;
String[] propertyPath = StringUtils.substringBeforeLast(name, ".").split("\\.");
String propertyName = StringUtils.substringAfterLast(name, ".");

for (String property: propertyPath) {
properties = (Map) properties.get(property);
if (properties == null) {
return null;
}
}
return properties.get(propertyName);
}

/**
* Retrieves a Map of all property name - value pairs for this profile.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.apache.unomi.api.conditions;


public interface ConditionHook {

void executeHook(Condition condition);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.apache.unomi.api.conditions;


public interface ConditionHookFactory {

ConditionHook createConditionHook();
}
19 changes: 19 additions & 0 deletions api/src/main/java/org/apache/unomi/api/query/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public class Query implements Serializable {
private String sortby;
private Condition condition;
private boolean forceRefresh;
private String scrollTimeValidity;
private String scrollIdentifier;

/**
* Instantiates a new Query.
Expand Down Expand Up @@ -150,4 +152,21 @@ public boolean isForceRefresh() {
public void setForceRefresh(boolean forceRefresh) {
this.forceRefresh = forceRefresh;
}

public String getScrollIdentifier() {
return scrollIdentifier;
}

public void setScrollIdentifier(String scrollIdentifier) {
this.scrollIdentifier = scrollIdentifier;
}

public String getScrollTimeValidity() {
return scrollTimeValidity;
}

public void setScrollTimeValidity(String scrollTimeValidity) {
this.scrollTimeValidity = scrollTimeValidity;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.apache.unomi.api.PluginType;
import org.apache.unomi.api.PropertyMergeStrategyType;
import org.apache.unomi.api.ValueType;
import org.apache.unomi.api.actions.Action;
import org.apache.unomi.api.actions.ActionType;
import org.apache.unomi.api.conditions.Condition;
import org.apache.unomi.api.conditions.ConditionType;
Expand Down Expand Up @@ -205,6 +206,21 @@ public interface DefinitionsService {
*/
boolean resolveConditionType(Condition rootCondition);

/**
* Resolves (if possible) the {@link ActionType} for the specified action
*
* @param action the action for which we want to resolve type
* @return {@code true}
*/
boolean resolveActionType(Action action);

/**
* Resolves (if possible) the {@link ActionType}s for the specified action
*
* @param actions the actions for which we want to resolve type
* @return {@code true}
*/
boolean resolveActionTypes(List<Action> actions);
/**
* Forces a refresh of the definitions from the persistence service. Warning: this may seriously impact performance
* so it is recommended to use this in specific cases such as for example in integration tests.
Expand Down
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -ev

#mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean install -P integration-tests -Drat.skip=true --no-snapshot-updates
#(cd itests && mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -P integration-tests -Dit.test=org.apache.unomi.itests.ProfileServiceWithoutOverwriteIT --no-snapshot-updates verify)
mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean install -Drat.skip=true --no-snapshot-updates
5 changes: 5 additions & 0 deletions buildAndDeploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -ev

cp .travis.settings.xml $HOME/.m2/settings.xml
mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn clean install deploy -DskipTests -P integration-tests -Drat.skip=true --no-snapshot-updates -DaltDeploymentRepository=snapshots::default::https://yotpo.jfrog.io/artifactory/maven
2 changes: 1 addition & 1 deletion buildAndRunNoTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PROGNAME=`basename "$0"`
if [ -f "$DIRNAME/setenv.sh" ]; then
. "$DIRNAME/setenv.sh"
fi
mvn clean install -P \!integration-tests,\!performance-tests,rat -DskipTests
mvn clean install -P \!integration-tests,\!performance-tests,rat,\!run-tests -DskipTests
if [ $? -ne 0 ]
then
exit 1;
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.unomi</groupId>
<artifactId>unomi-root</artifactId>
<version>1.5.0-SNAPSHOT</version>
<version>1.5.2-YOTPO-SNAPSHOT</version>
</parent>

<artifactId>unomi-common</artifactId>
Expand Down
Loading