Dear Ahmed,

Please find my comments inline. As I think, you have built OODT correctly.

On 25 May 2018 at 00:50, Ahmed Ifhaam <ahmedifha...@gmail.com> wrote:

> Hi all,
>
> I'm trying to improve Drat web interface as part of my GSOC task.
> For that i need an API in oodt which i'm implementing in [1]
> WorkflowResource.java file
>
> But to start developing when i initially clone the repo and run
>
> *mvn -Dmaven.test.skip=true clean install*
>
> im running into and error like this[2]
>
> Failed to execute goal on project 'maven-cas-install-plugin : Couldn't
> resolve dependencies for project
> org.apache.oodt:maven-cas-install-plugin:1.1-SNAPSHOT : could not find
> artifact org.apache.oodt:metadata:jar:1.1-SNAPSHOT in apache.snapshots (
> http://repository.apache.org/snapshots
>
> things i tried
>
> 1. Initially tried with master since it didn't work moved some other
> branches and tried didn't work either.
> 2. Tried to clean all cached files in .m2 and tried result was negative
> 3. switched to maven 2 and it built the project but didnt create the
> distribution folder
>

What do you mean by the distribution folder? In OODT usually RADIX build is
the distribution. Unlike in DRAT, OODT doesn't have a separate distribution
folder.

I assume, for your requirement, running "mvn clean install -DskipTests"
will be enough. Then the built artifacts will be copied to you local maven
repository (~/.m2).
Therefore, build DRAT again. Then, when you run DRAT using the distribution
built, you will automatically be using the latest OODT artifacts inside.


>
> and in the documentation it's declared as it works with maven3
> here is my maven version which didn't work
>
> Apache Maven 3.5.2
>
> Java Version 1.8
>
> OS ubuntu
>
> This link [2] has the screen shot of the error
>
> Thank youhttps://
> drive.google.com/file/d/17hmIJ4ney2t64ZC1VATUS_OVLp56aCIx/view?usp=sharing
>
>
> [1]
> https://github.com/apache/oodt/blob/master/webapp/
> wmservices/src/main/java/org/apache/oodt/cas/wmservices/
> resources/WorkflowResource.java
> [2]
> https://drive.google.com/file/d/17hmIJ4ney2t64ZC1VATUS_
> OVLp56aCIx/view?usp=sharing
>
> --
> *Ahmed Ifhaam *
> University of Kelaniya | MIT '19
> Tel :- 0662244937 | Mob :- 0776699609
> ahmedifha...@gmail.com <e-mail-ahmedifha...@gmail.com>
>

Cheers,
Imesha

Reply via email to