yahoo / egads

A Java package to automatically detect anomalies in large scale time-series data
Other
1.17k stars 330 forks source link

Build Failed #36

Closed zohairzohair4 closed 7 years ago

zohairzohair4 commented 7 years ago

I have tried making build and i am getting error i am attaching image of error and also my version information in the same picture. Can you please tell me what could be the problem.

error

sbourke commented 7 years ago

I was getting the same problem. I got everything to work by removing the comments for the plugin defined on line 81 and 88 https://github.com/yahoo/egads/blob/master/pom.xml#L81

sachinrase commented 7 years ago

uncomment the build section in pom.xml

       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <configuration>
           <descriptorRefs>
             <descriptorRef>jar-with-dependencies</descriptorRef>
           </descriptorRefs>
         </configuration>
       </plugin>

now do following

mvn clean compile assembly:single mvn clean install ### This will do the trick mvn clean compile assembly:single

also you will need to symlink

cd target/ && ln -s egads-0.1-SNAPSHOT-jar-with-dependencies.jar egads-jar-with-dependencies.jar