Reputation: 379
I'm trying to mavenize a project, which is using IBM MQ. In our Nexus-server, only the pom exists:
<dependency>
<groupId>com.ibm</groupId>
<artifactId>com.ibm.mq</artifactId>
<version>5.3.07</version>
<type>pom</type>
</dependency>
This is, as I understand, MQ is proprietary software. I do have the jar-files for MQ. How do I add these to the project, and also keep the dependencies that is specified by the pom.
Can I upload the jars to our Nexus, so the it also contains the jar (With the pom), or can I add both a pom dependency and some cand of system or import, with the jar in the project?
Upvotes: 0
Views: 1906
Reputation: 21851
I'd recommend you to upload the jar into your corporate repository. This way, any developer will be able to use this dependency without any issues. You just need to perform deploy:deploy-file with the following 2 options:
-DgeneratePom=false
Upvotes: 2