Maven 1.x Ant Plugin

Goal ant:generate-build has a bug

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.7
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    1

Description

When I try to execute goal ant:generate-build I get the following exceptions:


E:\projects\maf2\implementation\common>maven ant:generate-build
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.1-SNAPSHOT

Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@1c4f0f8. Reason: java.lang.NumberFormatException: For input string: "includes"
java.lang.NumberFormatException: For input string: "includes"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.valueOf(Integer.java:574)
at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
...
Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@a89ce3. Reason: java.lang.NumberFormatException: For input string: "excludes"
java.lang.NumberFormatException: For input string: "excludes"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.valueOf(Integer.java:574)
at org.apache.commons.jexl.util.Coercion.coerceInteger(Coercion.java:95)
...
BUILD SUCCESSFUL
Total time: 2 seconds

Issue Links

Activity

Hide
Arnaud Heritier added a comment -

Bug Fix if pom.build.unitTest.resources doesn't exist.

Show
Arnaud Heritier added a comment - Bug Fix if pom.build.unitTest.resources doesn't exist.
Hide
Arnaud Heritier added a comment -

I'll apply it tonight if I can.

Show
Arnaud Heritier added a comment - I'll apply it tonight if I can.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: