diff options
-rw-r--r-- | framework/src/main/resources/log4j.properties | 2 | ||||
-rw-r--r-- | pom.xml | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/framework/src/main/resources/log4j.properties b/framework/src/main/resources/log4j.properties index 72c290ca..1b352b5b 100644 --- a/framework/src/main/resources/log4j.properties +++ b/framework/src/main/resources/log4j.properties @@ -2,7 +2,7 @@ log4j.rootLogger=ERROR, file # Redirect log messages to a log file, support file rolling. log4j.appender.file=org.apache.log4j.RollingFileAppender -log4j.appender.file.File=${ONAP_CLI_HOME}/logs/oclip.log +log4j.appender.file.File=${ONAP_CLI_HOME}/logs/onap-cli.log log4j.appender.file.MaxFileSize=5MB log4j.appender.file.MaxBackupIndex=10 log4j.appender.file.layout=org.apache.log4j.PatternLayout @@ -34,7 +34,7 @@ <package.name>cli</package.name> </properties> - <modules> + <modules> <module>framework</module> <module>plugins</module> <module>main</module> @@ -51,7 +51,16 @@ <build> <pluginManagement> - <plugins> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <ONAP_CLI_HOME>.</ONAP_CLI_HOME> + </systemPropertyVariables> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> |