Maven dependency for message-flow and expressions jar

I am trying to add maven dependency for com.apigee.edge:message-flow and com.apigee.edge:expressions. I am getting dependency not found.

Are these moved to different Maven repo?

Below dependency is not getting resolved

<dependency><br>    <groupId>com.apigee.edge</groupId><br>    <artifactId>message-flow</artifactId><br>    <version>1.0.0</version><br></dependency><br><dependency><br>    <groupId>com.apigee.edge</groupId><br>    <artifactId>expressions</artifactId><br>    <version>1.0.0</version><br></dependency>
Solved Solved
1 2 4,029
1 ACCEPTED SOLUTION

HI @MNarayan

These jars are not available in the Public central maven repo so if you add them to your pom, it will not be able to download to your local repo.

If you have the jars with you locally, please run the following commands to get them added to you local maven repository (in your machine). Once this is done when you include those dependencies in your project pom, they can grab from your local repo and build

mvn install:install-file \
   -Dfile=/Path/To/expressions-1.0.0.jar \
   -DgroupId=com.apigee.edge \
   -DartifactId=expressions \
   -Dversion=1.0.0 \
   -Dpackaging=jar \
   -DgeneratePom=true


   
mvn install:install-file \
-Dfile=/Path/To/message-flow-1.0.0.jar \
-DgroupId=com.apigee.edge \
-DartifactId=message-flow \
-Dversion=1.0.0 \
-Dpackaging=jar \
-DgeneratePom=true

There are many samples available in our GitHub repo for your reference

NOTE: These jars are only required for your development. You should not include these jars in your proxy bundle.

Hope this clarifies.

View solution in original post

2 REPLIES 2

HI @MNarayan

These jars are not available in the Public central maven repo so if you add them to your pom, it will not be able to download to your local repo.

If you have the jars with you locally, please run the following commands to get them added to you local maven repository (in your machine). Once this is done when you include those dependencies in your project pom, they can grab from your local repo and build

mvn install:install-file \
   -Dfile=/Path/To/expressions-1.0.0.jar \
   -DgroupId=com.apigee.edge \
   -DartifactId=expressions \
   -Dversion=1.0.0 \
   -Dpackaging=jar \
   -DgeneratePom=true


   
mvn install:install-file \
-Dfile=/Path/To/message-flow-1.0.0.jar \
-DgroupId=com.apigee.edge \
-DartifactId=message-flow \
-Dversion=1.0.0 \
-Dpackaging=jar \
-DgeneratePom=true

There are many samples available in our GitHub repo for your reference

NOTE: These jars are only required for your development. You should not include these jars in your proxy bundle.

Hope this clarifies.