Coder Social home page Coder Social logo

fastconnect / tibco-bwmaven Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 7.0 1.56 MB

FastConnect TIBCO Factory - BWMaven, application lifecycle management for TIBCO BusinessWorks projects

Home Page: http://fastconnect.github.io/tibco-factory/bw-maven-plugin/

License: Apache License 2.0

Java 99.84% XSLT 0.14% Batchfile 0.01% Shell 0.01%

tibco-bwmaven's People

Contributors

debovema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tibco-bwmaven's Issues

Mavenization failed : No common path element found for 'C:\mavenexamples\project-root\C:\mavenexamples\project-root' and ''

generated based root project with

mvn archetype:generate -DarchetypeGroupId=fr.fastconnect.factory.tibco  -DarchetypeArtifactId=archetype-default-pom -DarchetypeVersion=2.4.1  -DgroupId=com.company.project   -DartifactId=project-root -Dversion=1.0.0-SNAPSHOT  -DprojectName=ProjectName  -DbwMavenPluginVersion=2.4.1 -DcodeReviewPluginVersion=2.0.0 -DfcUnitPluginVersion=2.0.0

after that placed project TestWebService inside the project

and ran

mvn bw:mavenize-bw-projects -DdoIt=true -e

getting below error

[INFO] Scanning recursively 'C:\mavenexamples\project-root' with patterns '[**/]'
[INFO] ---
[INFO] project-root
[INFO] Location of the BW project : TestWebService
[INFO] Location of the project (POM) : C:\mavenexamples\project-root
[INFO] The root project is : com.company.project:project-root:1.0.0
[INFO] The root project location is :
[INFO] Mavenized project will be : com.company.project:project-root:1.0.0
[INFO]
[WARNING] Mavenization failed : No common path element found for 'C:\mavenexamples\project-root\C:\mavenexamples\project-root' and ''
[INFO]
[INFO] 1 project was found.
[INFO] 1 project failed the mavenization.
[INFO] 0 project was successfully mavenized.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.835 s
[INFO] Finished at: 2021-02-14T17:00:36+01:00
[INFO] ------------------------------------------------------------------------

Unable to execute Mojo

Hello,

I'm facing issue while executing BW mavenize which is unable to execute Mojo.
Also it will be helpful if you can provide document with screenshot to convert existing BW 5 project into Maven project.
There are couple of more issue such as:

  1. It's creating folder structure by default even after modifying the pom
  2. Also it's creating test cases and review folder even though it's not required
  3. Also whole code is getting copied into target folder which I don't want to do.
  4. New project is getting created into BW 7 format whereas I'm using BW 5.13.

Missing aliasesFile(-a) parameter in CompileProjlibMojo class

Hi,
I was trying to build projlib with the following parameter:
<bw.hide.library.resources>true</bw.hide.library.resources>
During this operation i have found that buildlibrary.exe is executed without -a <alias.path> 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

can't retrieve some dependencies

Hey

can't retrieve the following dependencies
com.tibco.hawk:console:jar:4.9,
com.tibco.hawk:talon:jar:4.9,
com.tibco.hawk:util:jar:4.9,
com.tibco.rv:tibrvj:jar:8.3.
image

if I remove them from bw-maven-plugin pom I get the following error
image

any help please

Implementation of JAXB-API has not been found on module path or classpath

PS C:\Users\brock\Documents\Work\eclipse-workspace\HelloTibco> mvn bw:generate-properties-from-xml
[INFO] Scanning for projects...
[WARNING] The POM for com.sun.xml.ws:jaxws-rt:jar:2.2.10 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --------------------< com.brockrockatul:HelloTibco >--------------------
[INFO] Building HelloTibco project 1.0-SNAPSHOT
[INFO] -------------------------------[ bw-ear ]-------------------------------
[INFO]
[INFO] --- bw-maven-plugin:2.4.1:generate-properties-from-xml (default-cli) @ HelloTibco ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.129 s
[INFO] Finished at: 2018-05-27T23:00:08+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal fr.fastconnect.factory.tibco.bw.maven:bw-maven-plugin:2.4.1:generate-properties-from-xml (default-cli) on project HelloTibco: Failed to load properties from XML file 'C:\Users\brock\Documents\Work\eclipse-workspace\HelloTibco\target\package\HelloTibco-1.0-SNAPSHOT.xml': Implementation of JAXB-API has not been found on module path or classpath. com.sun.xml.internal.bind.v2.ContextFactory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
PS C:\Users\brock\Documents\Work\eclipse-workspace\HelloTibco>

Question about dependency order

Hi,

I have a project for which the projlib dependency order is important. And I have several projlib dependecies.
But when I launch designer, the DTL order is different from pom order. This might cause problem.
I see that the resolved file order is different from pom. Wouldn't it be better to rely on dependency:tree (in this case, I would have the correct order) ?

Regards,

PS : great plugin anyway !

NullPointException on goal bw:extract-xml-from-ear

Hi,
I am getting a NullPointException when I execute the goal bw:extract-xml-from-ear, I can generate the ear file with is located in /target/package without any error.
the POM I used is attached.
pom.txt
can you give me please details about this issue ?

thanks

How to set java.extended.properties in tra file just for one ear ?

Hello,

I'm using fastconnect plugin to deploy almost 40 ear.
My need is to update java.extended.properties in tra file for one ear only.
I would like to automatized it with fastconnect because tra file is erased during each deployment.
The point is if I update bwengine.xml with new property, this property will be deploy for each ear.

Is it possible with fastconnect to deploy a property in tra file for one ear only ?

Thank you for your reponse.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.