[
https://issues.jboss.org/browse/ELY-49?page=com.atlassian.jira.plugin.sys...
]
Pawel Wtorek commented on ELY-49:
---------------------------------
The maven-injection-plugin works fine, I use it and I have no reservations. Are you using
the <className> tag in the section:
{code}
<bytecodeInjection>
<expression>${mavenVersion}</expression>
<targetMembers>
<methodBodyReturn>
<className>com.project.MyClassVersion</className>
<methodName>getVersionMaven</methodName>
</methodBodyReturn>
</targetMembers>
</bytecodeInjection>
{code}
I suspect this error is due to an invalid path in className and because of missing correct
class name or path
Unable to build wildfly-sasl using the IBM JDK
----------------------------------------------
Key: ELY-49
URL:
https://issues.jboss.org/browse/ELY-49
Project: WildFly Elytron
Issue Type: Bug
Components: SASL
Environment: java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27-20131115_04)
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20131114_175264 (JIT
enabled, AOT enabled)
J9VM - R27_Java727_GA_20131114_0833_B175264
JIT - tr.r13.java_20131113_50523
GC - R27_Java727_GA_20131114_0833_B175264_CMPRSS
J9CL - 20131114_175264)
JCL - 20131113_01 based on Oracle 7u45-b18
Reporter: Darran Lofthouse
Assignee: David Lloyd
Fix For: 1.0.0.Alpha1
The build currently fails with the following error: -
{noformat}
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wildfly-sasl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ wildfly-sasl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 47 source files to
/home/darranl/src/wildfly/wildfly-sasl/target/classes
[INFO]
[INFO] --- maven-injection-plugin:1.0.2:bytecode (default) @ wildfly-sasl ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.377 s
[INFO] Finished at: 2014-06-25T11:42:26+00:00
[INFO] Final Memory: 17M/34M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.jboss.maven.plugins:maven-injection-plugin:1.0.2:bytecode (default) on project
wildfly-sasl: Unable to resolve class file path: NullPointerException -> [Help 1]
[ERROR]
{noformat}
As the local testsuite now contains interoperability testing with JDK supplied
implementations being able to run the build with other vendors implementations is
important.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)