Skip to content

Commit

Permalink
asm renamed to accessors-smart
Browse files Browse the repository at this point in the history
  • Loading branch information
UrielCh committed Mar 11, 2015
1 parent 81fc3c9 commit dd76b1c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 15 deletions.
20 changes: 14 additions & 6 deletions asm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<!-- this POM is released under an Apache 2.0 license -->
<modelVersion>4.0.0</modelVersion>

<artifactId>asm</artifactId>
<artifactId>accessors-smart</artifactId>
<packaging>bundle</packaging>
<version>1.0.2</version>
<version>1.0.3</version>

<parent>
<groupId>net.minidev</groupId>
Expand All @@ -14,22 +14,30 @@
<relativePath>../parent/pom.xml</relativePath>
</parent>

<name>ASM helper Minidev</name>
<name>ASM based accessors helper used by json-smart</name>

<description>
ASM Optimisation Package
</description>
<description>Java reflect give poor performance on getter setter an constructor calls,

accessors-smart use ASM to speed up those calls.
</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>5.0.3</version>
</dependency>
<!--
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>3.3.1</version>
</dependency>
-->
<!-- <dependency> -->
<!-- <groupId>asm</groupId> -->
<!-- <artifactId>asm-util</artifactId> -->
Expand Down
2 changes: 1 addition & 1 deletion asm/src/test/java/net/minidev/asm/TestDateConvert.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void fullTestDate(Date expectedDate, Locale locale) throws Exception {
e.printStackTrace();
}
String resultStr = sdf.format(parse);
System.err.println("TEST: " + testDate + " readed as: " + resultStr);
//System.err.println("TEST: " + testDate + " readed as: " + resultStr);
if (testDate.contains("59"))
assertEquals(expectedDateText, resultStr);
}
Expand Down
17 changes: 12 additions & 5 deletions json-smart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>json-smart</artifactId>
<packaging>bundle</packaging>
<version>2.1.1</version>

<!-- <version>2.1.1</version> -->
<parent>
<groupId>net.minidev</groupId>
<artifactId>parent</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>

Expand All @@ -30,10 +29,12 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>net.minidev</groupId>
<artifactId>asm</artifactId>
<artifactId>accessors-smart</artifactId>
</dependency>

</dependencies>
<build>
<plugins>
Expand All @@ -47,7 +48,13 @@
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>net.minidev.json,net.minidev.json.annotate,net.minidev.json.parser,net.minidev.json.serialiser,net.minidev.reader,net.minidev.json.writer</Export-Package>
<Export-Package>
net.minidev.json,
net.minidev.json.annotate,
net.minidev.json.parser,
net.minidev.json.reader,
net.minidev.json.writer
</Export-Package>
<!-- Private-Package></Private-Package -->
</instructions>
</configuration>
Expand Down
6 changes: 3 additions & 3 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.minidev</groupId>
<artifactId>parent</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
<name>Minidev super pom</name>
<description>minidev common properties.</description>
<packaging>pom</packaging>
Expand Down Expand Up @@ -272,8 +272,8 @@ https://oss.sonatype.org/content/repositories/snapshots
</dependency>
<dependency>
<groupId>net.minidev</groupId>
<artifactId>asm</artifactId>
<version>1.0.2</version>
<artifactId>accessors-smart</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>net.minidev</groupId>
Expand Down

0 comments on commit dd76b1c

Please sign in to comment.