jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-4182

Properties from profiles.xml are not replaced when builing in parent module

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 2.1.0
  • Fix Version/s: Issues to be reviewed for 3.x
  • Component/s: Profiles
  • Labels:
    None
  • Environment:
    Windows Vista
  • Complexity:
    Intermediate

Description

When running a submodule in its own directory properties form a parent profiles.xml are honored.

Trying to build in the parent, this properties are not honored. The properties are not replaced.

I get this result with help:effective-pom. See the ${appletkeyalias} instead of the proper replacment.

<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<keystore>../${keystore}</keystore>
<alias>${appletkeyalias}</alias>
<storepass>${keystorepass}</storepass>
<jarPath>C:\Users\widerstand_2\Documents\mobifetch\apps\coupon\j2se
coupon-install-applet\target/coupon-install-applet-1.0.2-SNAPSHOT-jar-with-depe
dencies.jar</jarPath>
<signedjar>C:\Users\widerstand_2\Documents\mobifetch\apps\coupon\j2
e\coupon-install-applet\target/signed/coupon-install-applet-1.0.2-SNAPSHOT-jar-
ith-dependencies.jar</signedjar>
<verify>true</verify>
</configuration>
</plugin>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Benjamin Bentmann added a comment - 25/Jun/09 12:20 PM

Karsten, could you provide a minimal test project that demonstrates the issue?

Show
Benjamin Bentmann added a comment - 25/Jun/09 12:20 PM Karsten, could you provide a minimal test project that demonstrates the issue?

People

  • Assignee:
    Unassigned
    Reporter:
    Karsten Ohme
Vote (0)
Watch (1)

Dates

  • Created:
    31/May/09 9:06 PM
    Updated:
    20/Sep/10 11:12 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.