Play with Nexus OSS: module not found: com.typesafe.activator#activator-launcher;1.3.9

390 views
Skip to first unread message

Guofeng Zhang

unread,
Apr 14, 2017, 12:16:20 PM4/14/17
to play-fr...@googlegroups.com
Hi,

I want use Nexus OSS .3.0-01 to try proxy typesafe ivy-releases repository. I created a maven2 proxy in Nexus using http://repo.typesafe.com/typesafe/ivy-releases/, and see the following in Nexus log:
  Remote connection status of repository ivy-releases set to Ready to Connect.
so I think at lease I type the url correctly for the nexus proxy.

I set up
    SBT_OPTS=-Dsbt.override.build.repos=true -Dsbt.repository.config=C:\repositories 
and clean up .sbt and .ivy2 directory, then run "activator update".

I got:
    .....
    module not found: com.typesafe.activator#activator-launcher;1.3.9
    .....

I tried for fix the issue for days and do not know what cause the issue. Is there any more configuration in the server site or sbt client missed?

If you are using Nexus with Sbt, please give me some help. Your advice is very appreciated.
 
The content of the file repositories is as the following:
[repositories]
  local
  my-ivy-proxy-releases: http://localhost:8081/repository/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]

The following is the Sbt console output:

CTIVATOR_HOME=C:\projects
Getting org.fusesource.jansi jansi 1.11 ...
        [SUCCESSFUL ] org.fusesource.jansi#jansi;1.11!jansi.jar (353ms)
:: retrieving :: org.scala-sbt#boot-jansi
        confs: [default]
        1 artifacts copied, 0 already retrieved (111kB/100ms)
Getting com.typesafe.activator activator-launcher 1.3.9 ...

:: problems summary ::
:::: WARNINGS
                module not found: com.typesafe.activator#activator-launcher;1.3.9

        ==== local: tried

          C:\Users\guofeng\.ivy2\local\com.typesafe.activator\activator-launcher\1.3.9\ivys\ivy.xml

          -- artifact com.typesafe.activator#activator-launcher;1.3.9!activator-launcher.jar:

          C:\Users\guofeng\.ivy2\local\com.typesafe.activator\activator-launcher\1.3.9\jars\activator-launcher.jar

        ==== my-ivy-proxy-releases: tried


        ==== my-maven-proxy-releases: tried


          -- artifact com.typesafe.activator#activator-launcher;1.3.9!activator-launcher.jar:


                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: com.typesafe.activator#activator-launcher;1.3.9: not found

                ::::::::::::::::::::::::::::::::::::::::::::::

Thanks for your help.

activator-launch-1.3.12, JDK 1.8.0_111, Play 2.5.14.

Guofeng

R.M.

unread,
Apr 17, 2017, 4:45:52 AM4/17/17
to Play Framework
You need to create three Ivy repositories in Sonatype.  They have the format "raw," not "maven2."  See screenshot:



ivy1 has this remote storage URL:  http://repo.typesafe.com/typesafe/ivy-releases/
ivy-all is a group repository that has ivy1 and ivy2 as members

Then your repositories file should use the url http://localhost:8081/repository/ivy-all (instead of http://localhost:8081/repository/ivy-releases).

Guofeng Zhang

unread,
Apr 18, 2017, 9:29:01 PM4/18/17
to play-fr...@googlegroups.com
Got it. Thanks very much!

Guofeng

--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e631778f-6059-4728-b7bc-db5c5ce1036a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages