EMP-Connector icon indicating copy to clipboard operation
EMP-Connector copied to clipboard

push to maven?

Open tuddman opened this issue 7 years ago • 16 comments

Is it possible to push a jar to maven? thanks.

tuddman avatar May 02 '17 17:05 tuddman

Will hopefully be doing so soon.

sfdc-hhildebrand avatar May 08 '17 22:05 sfdc-hhildebrand

@sfdc-hhildebrand any update on this?

tmichels-brightplan avatar May 15 '17 19:05 tmichels-brightplan

My apologies. I will try to see if I can get this done - at least in SNAPSHOT mode - soonish (safe harbor n' all that). I would hope to get the crank turned at least once by the end of the week.

sfdc-hhildebrand avatar May 16 '17 02:05 sfdc-hhildebrand

@sfdc-hhildebrand thanks that would be great. If anyone wants to reference jar locally here is the workaround. Point the systemPath to where your jar is.

<dependency>
   <groupId>com.salesforce.conduit</groupId>
   <artifactId>emp-connector</artifactId>
   <version>0.0.1-SNAPSHOT</version>
   <systemPath>${project.basedir}/lib/emp-connector-0.0.1-SNAPSHOT-phat.jar</systemPath>
</dependency>

tmichels-brightplan avatar May 16 '17 02:05 tmichels-brightplan

Any updates on this?

mrkam2 avatar Jul 11 '17 22:07 mrkam2

Apologies. We're a few weeks away from release and there's a lot going on, unfortunately. This would have been done already, but our internal CIs are restricted and protected (of course) and can't build external systems and such. Thus, I have to go do some external stuff and it's a decent amount of bureaucratic stuff to deal with.

sfdc-hhildebrand avatar Jul 12 '17 13:07 sfdc-hhildebrand

Any update on this? I couldn't seem to find emp-connector on maven.

shandicejohnson avatar Mar 23 '18 17:03 shandicejohnson

@tmichels-brightplan - Could you please share the jar file that you have created to reference it locally. Also, I request you to provide the steps to be followed for creating the local jar file. Thanks!

prudhvikonda avatar May 31 '18 19:05 prudhvikonda

@prudhvikonda when you do mvn clean install the jar should be built, follow these steps to deploy the jar into your project: https://thysmichels.com/2017/06/04/heroku-deploy-local-jar-to-maven-dependencies/

tmichels-brightplan avatar May 31 '18 19:05 tmichels-brightplan

ping :)

we need maven :)

ottovw avatar Jul 10 '18 23:07 ottovw

how can this be pushed out for so long? :-)

yushuyao avatar Mar 21 '19 17:03 yushuyao

Any updates on this?

hongminzhu avatar May 09 '19 14:05 hongminzhu

You can use jitpack as workaround for this: https://jitpack.io/#forcedotcom/EMP-Connector

mascheck avatar Jul 26 '19 10:07 mascheck

push a jar to maven

@tuddman What do you mean push to maven? How do you exactly want to implement this? Do you mean pushing the EMP-Connector JAR to maven repository and referencing it in your POM.xml file? As others have pointed out, you can just reference this locally..

madzskill avatar Oct 08 '19 05:10 madzskill

@madzskill by 'push to maven': yes, I meant pushing the JAR to maven repository ... so that any & all projects in the world that may want to include the EMP-Connector as a dependency can do so in a deterministic, version-ed way that can be built and tested in all sorts of CI/CD or cloud based environments.

I'll leave it to others to cite the many reasons why this approach is universally preferred to 'just reference this locally'

tuddman avatar Oct 13 '19 16:10 tuddman

@sfdc-hhildebrand any update on this? It seems this is package definitely has enough traffic so as to publish it to maven. I would definitely not prefer to host this jar locally. We need this package for our production SalesForce workflow. Please advise.

michael-knight avatar Aug 05 '21 19:08 michael-knight