Hi Sahoo,

Development process is just like you see here: Checkout the source and
build.

If it requires a snapshot build from another project (like in your case) you
have two options:
- checkout that project and build as well
- add https://oss.sonatype.org/content/repositories/ops4j-snapshots/ to your
maven repository set.

On the other hand, you always can pick a stable release build (in pax exam
case its 1.2.4) from maven central.

Toni

On Thu, Mar 3, 2011 at 11:42 AM, Sanjeeb Sahoo <[email protected]> wrote:

> I checked out latest code for exam1 from github and while trying to build
> from top level, it failed like this:
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.ops4j.pax.runner:pax-runner-no-jcl:jar:1.6.0-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.ops4j.pax.runner
> -DartifactId=pax-runner-no-jcl -Dversion=1.6.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=org.ops4j.pax.runner
> -DartifactId=pax-runner-no-jcl -Dversion=1.6.0-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>       1) org.ops4j.pax.exam:pax-exam-container-default:jar:1.2.4-SNAPSHOT
>       2) org.ops4j.pax.runner:pax-runner-no-jcl:jar:1.6.0-SNAPSHOT
>
> I tried to check out runner from github and that failed as well because of
> a missing scanner artifact. I would like understand the development process.
> Do I go about checking out all the referenced pax subprojects and build them
> first before I can build higher level projects like exam. Should there not
> be non-snapshot dependencies among the projects?
>
> Thanks,
> Sahoo
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
*Toni Menzel - http://www.okidokiteam.com*
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to