Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

NEXUS-4520: fixing migration plugin wrt some not updated properties

  • Loading branch information...
commit 9f58f2e28754215ca8be9ae8015a905f36b88963 1 parent 3b61e3d
@cstamas cstamas authored
View
4 .../nexus-migration-plugin-artifactory/src/main/resources/META-INF/log/logback-migration.xml
@@ -17,13 +17,13 @@
<included>
<appender name="migrationlogfile" class="ch.qos.logback.core.rolling.RollingFileAppender">
- <File>${plexus.nexus-work}/logs/migration.log</File>
+ <File>${bundleBasedir}/logs/migration.log</File>
<Append>true</Append>
<encoder>
<pattern>${appender.pattern}</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
- <fileNamePattern>${plexus.nexus-work}/logs/migration.log.%d{yyyy-MM-dd}</fileNamePattern>
+ <fileNamePattern>${bundleBasedir}/logs/migration.log.%d{yyyy-MM-dd}</fileNamePattern>
</rollingPolicy>
</appender>
View
2  ...t/java/org/sonatype/nexus/plugin/migration/artifactory/ArtifactoryFileLocationPRTest.java
@@ -36,7 +36,7 @@ protected void customizeContext( Context ctx )
try
{
- System.setProperty( "plexus." + WORK_CONFIGURATION_KEY, (String) ctx.get( WORK_CONFIGURATION_KEY ) );
+ System.setProperty( "bundleBasedir", (String) ctx.get( WORK_CONFIGURATION_KEY ) );
}
catch ( Exception e )
{
Please sign in to comment.
Something went wrong with that request. Please try again.