HibernateExporterMojo.java

Diff Revision Date Message Lines Author Branch
3138 10 May 08

APF-969: Added appfuse:copy-templates to copy templates from SVN into local project

+2 -2 Matt Raible trunk
2926 05 Sep 07

APF-874: Changed the appfuse-maven-plugin's groupId to org.appfuse. In order to get the appfuse-maven-plugin uploaded to Maven's Central repository, it can't have org.codehaus.mojo as its groupId. The original reason I started using this groupId is because I couldn't get the "appfuse" prefix to work w/o it. Now the prefix seems to work fine (at least locally). http://jira.codehaus.org/browse/MAVENUPLOAD-1701 NOTE: We realize it makes good sense to change the groupIds to be more specific than "org.appfuse" for many of AppFuse's modules. However, it seems somewhat risky to do this late in the 2.0 game. If we do decide to change them, we'll likely do it for 2.1. Please comment on the following thread if you have any opinions on this: http://www.nabble.com/Thinking-out-loud-about-groupIds-tf4387544s2369.html

+1 -1 Matt Raible trunk
2918 03 Sep 07

APF-757: Doh! Reverting removal of setProject method.

+5 Matt Raible trunk
2916 03 Sep 07

APF-870: Polishing

+2 -19 Matt Raible trunk
2915 03 Sep 07

APF-870: Fixed gen-model so it generates files from database properly. Use "ant test-gen-model" in plugins/appfuse-maven-plugin to test.

+8 -1 Matt Raible trunk
2908 02 Sep 07

APF-757: Added iBATIS support to AMP

+7 -20 Matt Raible trunk
2776 05 Jun 07

Removed unnecessary logging and null check (since it seems to always be null, no matter what I configure).

+7 -11 Matt Raible trunk
2775 05 Jun 07

Improvements to allow appfuse:gen to run from projects with nested war modules (like web/module). Also fixed issues with components: if you have @Embedded on a class, it's ignored.

+12 -6 Matt Raible trunk
2699 22 May 07

APF-754: Fixed issue when using AMP on modular project. You no longer need to duplicate hibernate.cfg.xml in the web module.

+19 -9 Matt Raible trunk
2697 21 May 07

APF-675: Added "full-source" plugin that pulls AppFuse's source from SVN and replaces AppFuse dependencies with one from the pom.xml's it pulls in. Current only tested with basic projects. Modular support coming in next release. You can test both AMP and the Full Source plugin using Ant targets in plugins/appfuse-maven-plugin/build.xml. Just run "ant -p" in the appfuse-maven-plugin directory to see all the options. Reading the source code of build.xml will show issues that currently exist (amp requires you to copy hibernate.cfg.xml to the "web/src/main/resources" directory on a modular project. Also, the full source plugin has not been modified to work with (or tested on) modular projects.

+1 Matt Raible trunk
2694 21 May 07

Began working on "full-source" mojo. It's far from complete - SVN export works, but there's lots of pom.xml manipulation that still needs to happen.

+1 -1 Matt Raible trunk
2692 17 May 07

Added messages to prevent running plugin from pom project. Added tests and verified modular project gen/install works. Remaining issues before M5: * id and Long hard coded in templates (change to lookup from $pojo) * web module can't read hibernate.cfg.xml from core.jar * create documentation for plugin * create "full-source" mojo that allows svn export and adding dependencies to pom.xml files * update Confluence to reflect that applicationContext.xml might already exist

+8 -2 Matt Raible trunk
2686 14 May 07

Modified install mojo so it can handle different web frameworks. Polished Spring templates so they actually work. Prepared for full-source projects by changing "org.appfuse" to use project.getGroupId() when full-source is used.

+11 -1 Matt Raible trunk
2684 09 May 07

* Added "gen-core" and "gen-web" and renamed "gen-ui" (the motherload) to "gen". The "install" mojo is still not aware of core vs. web, so you'll get errors about missing files if you try to use it with anything but "gen". * Fixed templates and install (non generics-based) install for backend. Remaining items todo: ------------------------- * Add logic to Action/Controller templates that generate different setters/imports for generic/impl * aggregate "gen and install" so they can be run in single call vs. two separate ones (lifecycles?) * get working with other web frameworks (only tested with Struts 2) * get working with other persistence frameworks (only tested with Hibernate) * get working with modular projects * modify install mojo to handle gen-core and gen-web * Call ModelGeneratorMojo from AppFuseGeneratorMojo to generate from db

+276 Matt Raible trunk
2683 08 May 07

Removed AMP from Sandbox to eliminate confusion

deleted Matt Raible trunk
2674 08 May 07

Code generation plugin based on Hibernate3 Plugin, Hibernate Tools and previous AppFuse Maven Plugin (especially for installation code)

+267 Matt Raible trunk
2656 02 May 07

All templates now generate correctly (except need to figure out how to properly escape JSTL's ${} with FreeMarker). Also added "gen-model" goal for generating POJOs from database tables.

+1 -2 Matt Raible root:
2630 05 Apr 07

Vegas baby!

+65 -96 Matt Raible root:
2625 04 Apr 07

Added appfuse-maven-plugin based on hibernate3-maven-plugin to sandbox

+299 Matt Raible root: