[akka-user] No configuration setting found for key 'akka.version' when running jar-with-dependencies

2016-08-03 Thread Dean Schulze
I've added the maven-shade-plugin from the Akka docs 
 to my 
pom.xml, and it is the first plugin in .  The shade plugin 
is doing something as evidenced by this in my maven by this output in my 
maven build

[INFO] --- maven-shade-plugin:1.5:shade (default) @ remoting.example ---
[INFO] Including com.typesafe.akka:akka-remote_2.11:jar:2.4.8 in the shaded 
jar.
[INFO] Including org.scala-lang:scala-library:jar:2.11.8 in the shaded jar.
[INFO] Including com.typesafe.akka:akka-protobuf_2.11:jar:2.4.8 in the 
shaded jar.
[INFO] Including io.netty:netty:jar:3.10.6.Final in the shaded jar.
[INFO] Including org.uncommons.maths:uncommons-maths:jar:1.2.2a in the 
shaded jar.
[INFO] Including com.typesafe.akka:akka-actor_2.11:jar:2.4.8 in the shaded 
jar.
[INFO] Including com.typesafe:config:jar:1.3.0 in the shaded jar.
[INFO] Including org.scala-lang.modules:scala-java8-compat_2.11:jar:0.7.0 
in the shaded jar.
[INFO] Attaching shaded artifact.



When I execute the jar-with-dependencies it still gives

Exception in thread "main" com.typesafe.config.ConfigException$Missing: No 
configuration setting found for key 'akka.version'


What do I have to do to build a jar-with-dependencies with akka?

Thanks.

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


[akka-user] Re: No configuration setting found for key 'akka.version' when running jar-with-dependencies

2016-08-06 Thread Dean Schulze
I did exactlyl that, and also tried with a newer version of the plugin but 
I still get the exception.

Do I have to roll back to an older version of akka in order to make this 
work?  The maven-shade-plugin isn't working with the current version of 
akka.


On Thursday, August 4, 2016 at 6:03:29 AM UTC-6, Johan Andrén wrote:
>
> Hi Dean,
>
> You must make sure all the reference.conf files are concatenated into one 
> file if you want to put all the akka modules inside one jar like that.
>
> This is described in the docs you linked to: 
> http://doc.akka.io/docs/akka/current/general/configuration.html#When_using_JarJar__OneJar__Assembly_or_any_jar-bundler
>
> --
> Johan
> Akka Team
>

-- 
>>  Read the docs: http://akka.io/docs/
>>  Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.


Re: [akka-user] Re: No configuration setting found for key 'akka.version' when running jar-with-dependencies

2016-08-08 Thread Dean Schulze
I did a copy and paste from the documentation page for the 
maven-shade-plugin.  Is the documentation page wrong?

This is a show stopper for me with akka.


On Monday, August 8, 2016 at 3:09:19 AM UTC-6, Akka Team wrote:
>
> No, there has not been any change to how Akka deals with the reference 
> configuration for a long long while so that would not help. 
>
> I'd guess your configuration of the shade plugin is missing something. 
> 'akka.version' is defined in the file 'version.conf' which you should be 
> able to confirm is not in your shade output jar.
>
> --
> Johan
> Akka Team
>
> On Sat, Aug 6, 2016 at 9:36 PM, Dean Schulze  > wrote:
>
>> I did exactlyl that, and also tried with a newer version of the plugin 
>> but I still get the exception.
>>
>> Do I have to roll back to an older version of akka in order to make this 
>> work?  The maven-shade-plugin isn't working with the current version of 
>> akka.
>>
>>
>> On Thursday, August 4, 2016 at 6:03:29 AM UTC-6, Johan Andrén wrote:
>>>
>>> Hi Dean,
>>>
>>> You must make sure all the reference.conf files are concatenated into 
>>> one file if you want to put all the akka modules inside one jar like that.
>>>
>>> This is described in the docs you linked to: 
>>> http://doc.akka.io/docs/akka/current/general/configuration.html#When_using_JarJar__OneJar__Assembly_or_any_jar-bundler
>>>
>>> --
>>> Johan
>>> Akka Team
>>>
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: 
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to akka-user+...@googlegroups.com .
>> To post to this group, send email to akka...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>>>>>>>>>  Read the docs: http://akka.io/docs/
>>>>>>>>>>  Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>  Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.