Appfuse goals

 

Goals available for this plugin:

GoalDescription
appfuse:gen-web Generates Java classes and tests for DAOs and Managers from set of annotated POJOs.
appfuse:refactor-packages Refactors appfuse.org from imports, files, mappings, etc.
appfuse:remove This mojo is used to "remove" installed artifacts installed by AMP.
appfuse:install This mojo is used to "install" generated artifacts (Java files, XML files) into an AppFuse project.
appfuse:gen-core Generates Java classes and tests for DAOs and Managers from set of annotated POJOs.
appfuse:gen Generates Java classes from set of annotated POJOs. Use -DdisableInstallation to prevent installation. If using this goal in a "core" module or project, only DAOs and Managers will be created. For "web" modules, the same principle applies.
appfuse:gen-model Generates Java classes from existing database tables. If you want to customize the reverse engineering strategy, you can modify the default hibernate.reveng.xml and put it in src/test/resources. You can also override the location by specifying the "revengfile" property in the <configuration>. For example:
<configuration>
<componentProperties>
<revengfile>path/to/hibernate.reveng.xml</revengfile>
</componentProperties>
<genericCore>${amp.genericCore}</genericCore>
<fullSource>${amp.fullSource}</fullSource>
</configuration>

Oracle Users: If you create a custom hibernate.reveng.xml, make sure to capitalize the table names in <schema-selection match-schema="MY_SCHEMA_NAME"/>. You'll also need to add the following line to your jdbc.properties file:

hibernatetool.metadatadialect=org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect
appfuse:copy-templates This mojo is used to copy FreeMarker templates from AMP into an AppFuse project.
appfuse:hbmtemplate Generic exporter that can be controlled by a user provided template or class.
appfuse:full-source This mojo is used to "install" source artifacts from Subversion into an AppFuse project. If you get an OutOfMemoryError when running this plugin, you should be able to fix it by setting your MAVEN_OPTS environment variable to "-Xms128M -Xmx256M".
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值