Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] persistence.xml with filter var - error: cannot be resolved

Running into a problem where a persistence.xml has a filter variable and Eclipse m2e (m2e-wtp) is having trouble resolving this.

Versions:
  • Eclipse Kepler Service Release 1
  • m2e - Maven Integration for Eclipse 1.4.0.20130601-0317
  • m2e-wtp - JPA configurator for WTP 1.0.1.e43-20130911-1546
  • m2e-wtp - Maven Integration for WTP 1.0.1.20130911-1545
Example persistence.xml:

<persistence>
    <persistence-unit>
        ...
        <jar-file>some-jar-${some.version}.jar</jar-file>
        ...
    </persistence-unit>
</persistence>

Error:
  • Type: JPA Problem
  • Description: JAR file "some-jar-${some.version}.jar" cannot be resolved  persistence.xml

Any help?

Thank you,

Marcus



Back to the top