Ticket #113 (closed defect: fixed)
Allow pustefix-webapp-plugin declaration in parent pom
| Reported by: | StefanSeelmann | Owned by: | StefanSeelmann |
|---|---|---|---|
| Priority: | trivial | Milestone: | 0.15.0 |
| Component: | Build System | Version: | |
| Keywords: | Cc: |
Description
It should be possible to declare the pustefix-webapp-plugin in a parent pom. When doing this an exeption is thrown because a pom project doesn't contain a src/main/java directory:
Source directory doesn't exist: /home/seelmann/Development/pfix/svn/pfx-devel-trunk/maven/poms/webdev-app/src/main/java
at org.pustefixframework.maven.plugins.Apt.getModifiedFiles(Apt.java:71) at org.pustefixframework.maven.plugins.Apt.execute(Apt.java:55) at org.pustefixframework.maven.plugins.PustefixWebappMojo?.execute(PustefixWebappMojo?.java:149)
A simple solution is to skip exection if project packaging is "pom".
Change History
Note: See
TracTickets for help on using
tickets.
