Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #265 from sonatype/walk-fix2
Browse files Browse the repository at this point in the history
Walking speed fix2
  • Loading branch information
cstamas committed Feb 6, 2012
2 parents 55f9cc1 + b78c1fc commit 08a3319
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions nexus/nexus-proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<scope>compile</scope>
</dependency>

<!-- Local and remote storage techs -->
<dependency>
<groupId>com.ning</groupId>
Expand Down Expand Up @@ -132,11 +138,11 @@
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-charger</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-resource-scanner</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-resource-scanner</artifactId>
<version>1.0</version>
</dependency>

<!-- Testing -->
<dependency>
Expand Down Expand Up @@ -178,13 +184,7 @@
<artifactId>shiro-web</artifactId>
<scope>test</scope>
</dependency>

<!-- NEXUS-4628: Attributes perf tests, for now the "alternate" imples are in tests not getting into core -->
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<scope>test</scope>
</dependency>
<!-- For the Jackson XML Marshaller that is slower than JSON and will remain in test to not pollute core -->
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>jackson-xml-databind</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class DefaultLSAttributeStorage
* Instantiates a new FSX stream attribute storage.
*/
@Inject
public DefaultLSAttributeStorage( @Named( "xstream-xml" ) final Marshaller marshaller )
public DefaultLSAttributeStorage( @Named( "jackson-json" ) final Marshaller marshaller )
{
this.marshaller = marshaller;
getLogger().info( "Default LS AttributeStorage in place." );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private void executeTask( String taskName, String repository, int cacheAge )

private Marshaller getMarshaller()
{
return new XStreamMarshaller();
return new JacksonJSONMarshaller();
}

private void changeProxyAttributeDate( File attributeFile, int daysFromToday )
Expand Down
6 changes: 3 additions & 3 deletions nexus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -756,19 +756,19 @@
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.9.2</version>
<version>1.9.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.2</version>
<version>1.9.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.fasterxml</groupId>
<artifactId>jackson-xml-databind</artifactId>
<version>0.6.1</version>
<version>0.6.2</version>
<exclusions>
<exclusion>
<groupId>javax.xml.stream</groupId>
Expand Down

0 comments on commit 08a3319

Please sign in to comment.