fix missing value in a bean constructor

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164150 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-01 16:41:50 +00:00
parent 55f94e09f6
commit 9be7bece75
5 changed files with 32 additions and 1 deletions

View File

@ -65,6 +65,7 @@ public class ManagedRepository
this.snapshots = snapshots;
this.releases = releases;
this.blockRedeployments = blockRedeployments;
this.cronExpression = cronExpression;
}
public String getId()

View File

@ -101,7 +101,8 @@ public class AddManagedRepositoryAction
}
catch ( RepositoryAdminException e )
{
addActionError( "Repository Administration Exception: " + e.getMessage() );
log.error( e.getMessage(), e );
addActionError( "Check your server logs, Repository Administration Exception: " + e.getMessage() );
result = INPUT;
}

View File

@ -151,6 +151,10 @@
<level value="error"/>
</logger>
<logger name="com.opensymphony.xwork2.ognl.OgnlValueStack">
<level value="error"/>
</logger>
<root>
<priority value ="info" />
<appender-ref ref="rolling" />

View File

@ -48,6 +48,10 @@
<level value="debug"/>
</logger>
<logger name="com.opensymphony.xwork2.ognl.OgnlValueStack">
<level value="error"/>
</logger>
<root>
<priority value ="info" />
<appender-ref ref="console" />

21
pom.xml
View File

@ -1614,5 +1614,26 @@
</repository>
</repositories>
</profile>
<profile>
<id>jrebel</id>
<build>
<plugins>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<version>1.0.7</version>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>