You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mirko Friedenhagen <mf...@gmail.com> on 2011/05/26 21:41:18 UTC

Maven3: Best way to include dependencies not available from a maven repository (jython, jruby)

Hello there,

jython and jruby do not seem to be accessible from a repository. I am
inspecting a patch for a jenkins plugin and always get these warnings:

[mirko@borg email-ext-plugin]$ mvn3 clean package 2>&1 | tee log
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.jenkins-ci.plugins:email-ext:hpi:2.15-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for
org.python:jython-standalone:jar should not point at files within the
project directory,
${basedir}/src/main/webapp/WEB-INF/lib/jython-standalone-2.5.2.jar
will be unresolvable by dependent projects @ line 97, column 14
[WARNING] 'dependencies.dependency.systemPath' for
org.ruby:jruby-complete:jar should not point at files within the
project directory,
${basedir}/src/main/webapp/WEB-INF/lib/jruby-complete-1.6.0.jar will
be unresolvable by dependent projects @ line 106, column 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.

The complete URL is available at
https://github.com/slide/email-ext-plugin/blob/3ea0063611a2396b163ddded421a9299758d477c/pom.xml

What are the recommendations for this usecase?

Regards
Mirko
-- 
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven3: Best way to include dependencies not available from a maven repository (jython, jruby)

Posted by Benson Margulies <bi...@gmail.com>.
You asked for the 'best way'. The best way it to stand up a repository
manager and deploy them there.

The other best way is to help everyone else out by pushing them to
central via ossrh. Their third-party policy allows anyone to push
something like this if the original author isn't willing.

The next worst way is to script the use of install:install-file, and
the worst is a 'system' dependency.


On Thu, May 26, 2011 at 3:41 PM, Mirko Friedenhagen
<mf...@gmail.com> wrote:
> Hello there,
>
> jython and jruby do not seem to be accessible from a repository. I am
> inspecting a patch for a jenkins plugin and always get these warnings:
>
> [mirko@borg email-ext-plugin]$ mvn3 clean package 2>&1 | tee log
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective
> model for org.jenkins-ci.plugins:email-ext:hpi:2.15-SNAPSHOT
> [WARNING] 'dependencies.dependency.systemPath' for
> org.python:jython-standalone:jar should not point at files within the
> project directory,
> ${basedir}/src/main/webapp/WEB-INF/lib/jython-standalone-2.5.2.jar
> will be unresolvable by dependent projects @ line 97, column 14
> [WARNING] 'dependencies.dependency.systemPath' for
> org.ruby:jruby-complete:jar should not point at files within the
> project directory,
> ${basedir}/src/main/webapp/WEB-INF/lib/jruby-complete-1.6.0.jar will
> be unresolvable by dependent projects @ line 106, column 19
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer
> support building such malformed projects.
>
> The complete URL is available at
> https://github.com/slide/email-ext-plugin/blob/3ea0063611a2396b163ddded421a9299758d477c/pom.xml
>
> What are the recommendations for this usecase?
>
> Regards
> Mirko
> --
> http://illegalstateexception.blogspot.com/
> https://github.com/mfriedenhagen/
> https://bitbucket.org/mfriedenhagen/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org