fastconnect / tibco-bwmaven

FastConnect TIBCO Factory - BWMaven, application lifecycle management for TIBCO BusinessWorks projects
http://fastconnect.github.io/tibco-factory/bw-maven-plugin/
Apache License 2.0
13 stars 7 forks source link

Missing aliasesFile(-a) parameter in CompileProjlibMojo class #13

Open mikolajmorawski opened 7 years ago

mikolajmorawski commented 7 years ago

Hi, I was trying to build projlib with the following parameter: true</bw.hide.library.resources> During this operation i have found that buildlibrary.exe is executed without -a parameter. This causes that all depended projlibs are always skipped in buildlibrary process.

Diff this two classes: src/main/java/fr/fastconnect/factory/tibco/bw/maven/compile/CompileProjlibMojo.java src/main/java/fr/fastconnect/factory/tibco/bw/maven/compile/CompileEARMojo.java

Missing lines in buildProjlib method: File aliasesFile = new File(directory, ALIASES_FILE); if (aliasesFile.exists()) { arguments.add("-a"); arguments.add(aliasesFile.getAbsolutePath()); }

Regards, Mikołaj

jcarmena commented 5 years ago

I've just generated pull request #15 that solves this issue.