]
Pete Muir closed WELD-659.
--------------------------
Assignee: Pete Muir
Fix Version/s: 1.1.0.Beta3
(was: 1.1.0.CR1)
Resolution: Done
hello-world example - unexpected behavior
-----------------------------------------
Key: WELD-659
URL:
https://jira.jboss.org/browse/WELD-659
Project: Weld
Issue Type: Bug
Components: Examples
Affects Versions: 1.1.0.Beta1
Reporter: Jozef Hartinger
Assignee: Pete Muir
Priority: Minor
Fix For: 1.1.0.Beta3
According to documentation, the example should print "Hello ${name}" where name
is an environment property passed to maven i.e. "mvn -Drun -Dname=Pete".
However, the following profile configuration
<configuration>
<mainClass>org.jboss.weld.environment.se.StartMain</mainClass>
<arguments>
<argument>${project.name}</argument>
</arguments>
</configuration>
results in "Hello Weld Examples: Hello World (Java SE)" to be printed every
time independently on the name environment property.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: