Reg:- Sbt Compiler

35 views
Skip to first unread message

Shyam Gurram

unread,
Mar 27, 2017, 2:51:52 PM3/27/17
to simple-build-tool
Hi Team,
  1. I have installed sbt compiler successfully. When I am going to next step that is running sbt compile command it is downloading all the jar files and creating directories of .ivy2 and .sbt.
  2. We have created our own repositories in our maven central.
  3. I have replaced the typesafe-ivy-releases(https://repo.typesafe.com/typesafe/ivy-releases/) and sbt-ivy-snapshots(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/) url's with our maven cenral repository.
  4. The problem for me is when I want to replace the http://repo1.maven.org/maven2/ which is present in the IBiblioResolver.class file with our maven central URL (http://mavencentral.it.att.com:8084/nexus/content/repositories/repo1-manven2-proxy/).
  5. I am unable to do this, because this is .class file. I have decompiled and ran as a .Java file. I am getting an error as shown in the images(compile.jpeg)

classfileconvertedtojava.jpg
compile.jpg

Naftoli Gugenheim

unread,
Mar 28, 2017, 12:08:42 AM3/28/17
to simple-build-tool
That's not how you're supposed to do it.

What are you trying to achieve? Why do you mean by "We have created our own repositories in our maven central"?

I think you need to just add a Resolver.

You've outlined the steps you took but it's not clear what problem you're trying to solve.

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-build-tool.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages