Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
I would like to use Apache Maven as a development platform for my Java projects (Windchill customizations).
It seems that the structure of Windchill Java libraries and codebase is quite specific.
I am looking for some tips on how to represent Windchill codebase as Maven artifacts.
Has anyone tried to develop custom Windchill applications in Java using Apache Maven?
Would you share your experience?
Thank you in advance
Michal Palicka
I found this link:
GitHub - nexiles/windchill-maven: Windchill Maven Setup
better description here:
https://www.ekito.fr/people/windchill-tips-building-project-maven/
But I don't like to create a jar file with codebase classes and ser files. It seems that can cause some problems.
A user library have the same problem, only jar files can be managed, can't add codebase dir. and no variables can be used to define classpath.
At the moment I use a .classpath file based on a path variable WT_HOME, but I'm not completely satisfied about it... I'm searching for a better solution.
https://www.ekito.fr/people/windchill-tips-building-project-maven/ - This repo doesn't exist. Is there a way to find anywhere ?
@ptc-4428645 , Windchill uses Apache Ant, not Maven or Gradle, try to stay consistent with the software and do not add extra frameworks!
The POM package in Windchill has nothing to do with Maven, it's regarding the Persistence Framework which is not compliant with JPA spec.
I got your idea, you would like to package your delivery code? You can create your own Ant script; I see many developers doing this.