/ Published in: Java
URL: http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
Expand |
Embed | Plain Text
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>generate-as3</id> <phase>compile</phase> <configuration> <tasks> <taskdef name="gas3" classname="org.granite.generator.ant.AntJavaAs3Task" /> <gas3 outputdir="${project.build.directory}/classes/as3"> <!-- entitytemplate="${basedir}/gen-templates/as3/entity.gsp" entitybasetemplate="${basedir}/gen-templates/as3/entityBase.gsp" --> <classpath> <pathelement location="${project.build.directory}/classes"/> </classpath> <fileset dir="${project.build.directory}/classes"> <include name="com/cybercomgroup/sio/ejb3/entity/*.class"/> <!--exclude name="com/cybercomgroup/sio/ejb3/entity/BaseEntity.class"/--> </fileset> </gas3> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.granite</groupId> <artifactId>gas3</artifactId> <version>1.1.0</version> </dependency> <dependency> <groupId>org.granite</groupId> <artifactId>granite-generator</artifactId> <version>1.1.0</version> </dependency> <dependency> <groupId>groovy</groupId> <artifactId>groovy-all</artifactId> <version>1.5.6</version> </dependency> <dependency> <groupId>com.cybercomgroup.sio</groupId> <artifactId>sio-util</artifactId> <version>2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>antlr</groupId> <artifactId>antlr</artifactId> <version>2.7.6</version> </dependency> <dependency> <groupId>asm</groupId> <artifactId>asm-all</artifactId> <version>2.2</version> </dependency> <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.3</version> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-commons-annotations</artifactId> <version>3.3.0.ga</version> <exclusions> <exclusion> <groupId>asm</groupId> <artifactId>asm</artifactId> </exclusion> <exclusion> <groupId>asm</groupId> <artifactId>asm-attrs</artifactId> </exclusion> </exclusions> </dependency> </dependencies> </plugin>
You need to login to post a comment.
