Ticket #113 (closed defect: fixed)

Opened 23 months ago

Last modified 23 months ago

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

Changed 23 months ago by StefanSeelmann

  • status changed from new to assigned

Changed 23 months ago by StefanSeelmann

  • status changed from assigned to closed
  • resolution set to fixed

Changed 23 months ago by MichaelHartmeier

  • milestone changed from 0.14.8 to 0.15.0
Note: See TracTickets for help on using tickets.