The new link is https://www.cloudbees.com/blog/playing-trade-offs-maven *BUT* somebody managed to completely screw up the XML formatting when migrating from the old blog hosting to the new blog hosting...
On 26 October 2015 at 17:21, Curtis Rueden <[email protected]> wrote: > Hi Reena, > > Stephen Connelly wrote a great blog post a couple of years ago addressing > similar use cases. The URL is/was: > > http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html > > Unfortunately, it seems the CloudBees Developer Blog is currently not > working (it redirects to the main CloudBees page). But you can use Google's > cache to read it: > > http://webcache.googleusercontent.com/search?q=cache:g6o4OFBnC9wJ:developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html+&cd=1&hl=en&ct=clnk&gl=us > > HTH, > Curtis > > On Mon, Oct 26, 2015 at 11:50 AM, Wayne Fay <[email protected]> wrote: > >> Sounds like you know the answer. Use the "mvn install" file command. >> >> Wayne >> >> On Mon, Oct 26, 2015 at 9:53 AM, reena upadhyay <[email protected]> >> wrote: >> > Can you please provide some code snippet, how to add it to local repo >> > through pom.xml. I don't want it add to my local maven repo using mvn >> > install file command. >> > >> > On Mon, Oct 26, 2015 at 8:21 PM, Anders Hammar <[email protected]> >> wrote: >> > >> >> The system scope is deprecated and the issues you're running into is >> likely >> >> due to that. The solution is to add the library to your internal >> (remote) >> >> repo or at least your local repo. >> >> >> >> /Anders >> >> >> >> On Mon, Oct 26, 2015 at 3:26 PM, reena upadhyay <[email protected]> >> >> wrote: >> >> >> >> > I want dependencies that are having system scope to be part of my >> project >> >> > final executable jar. I tried maven-assembly, maven-shade and >> >> > maven-dependency plugin. But using these plugins, only those >> dependency >> >> of >> >> > my project which were present in my local maven repository were >> getting >> >> > added. Dependency with system scope (not present in my local maven >> repo) >> >> > are not getting added in the final executable jar. >> >> > >> >> > I tried searching over google, but most of the links are suggesting to >> >> add >> >> > it local maven repo first. I have some limitations so I cannot add >> those >> >> > dependency on local repo. I want it to picked from file system >> directly, >> >> > and wanted it to be part of final executable jar. >> >> > >> >> > <!-- Teradta jdbc dependency --> >> >> > <dependency> >> >> > <groupId>org.teradata</groupId> >> >> > <artifactId>teradata</artifactId> >> >> > <version>4.0</version> >> >> > <scope>system</scope> >> >> > >> >> > >> >> >> <systemPath>${basedir}/../../../lib/terajdbc4.jar</systemPath></dependency> >> >> > >> >> > Above dependency is not getting added in the final jar that maven is >> >> > building. >> >> > >> >> > Please suggest me the right plugin with its usage for this use case. >> >> > >> >> > Any help on this would be really appreciated. >> >> > >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
