3.9.0-rc.2 released

55 views
Skip to first unread message

Manfred Moser (simpligility)

unread,
May 27, 2014, 4:56:59 PM5/27/14
to maven-androi...@googlegroups.com
Hi all!

I have released 3.9.0-rc.2 to central for you all to test and get the last fixes in for the 4.0.0 release.

I have yet to assemble full release notes and update the samples project ... stay tuned for that later tonight. Until then

Happy testing and hacking

manfred

Malachi de AElfweald

unread,
May 27, 2014, 5:36:44 PM5/27/14
to maven-androi...@googlegroups.com
Any idea how long until it appears on Central?


--
You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-android-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Thank you,
Malachi de Ælfweald | Technology Team | Upsight
Mobile: +1 503-307-1597
Skype: malachid69 | Find me on 
LinkedIn

Get the Best Mobile Marketing and Analytics free | Upsight is Hiring!

Check Out Our Blog |  Follow Us @GetUpsight


Manfred Moser

unread,
May 27, 2014, 6:51:55 PM5/27/14
to maven-androi...@googlegroups.com
I just released it now from staging so should be there very shortly.

http://central.sonatype.org/pages/ossrh-guide.html

manfred

Manfred Moser (simpligility)

unread,
May 27, 2014, 8:42:41 PM5/27/14
to maven-androi...@googlegroups.com
Something went wrong on the backend with the sync to central. It is available from https://oss.sonatype.org/content/groups/jayway/com/jayway/maven/plugins/android/generation2/android-maven-plugin/

I will work on getting the sync fixed as soon as I can get a hold of central support staff able to fix this.

manfred

Manfred Moser (simpligility)

unread,
May 27, 2014, 10:03:06 PM5/27/14
to maven-androi...@googlegroups.com

William Ferguson

unread,
May 27, 2014, 10:19:32 PM5/27/14
to maven-androi...@googlegroups.com
Manfred suggest you unpin the 3.8.2 release announcement and pin this one.

Manfred Moser (simpligility)

unread,
May 27, 2014, 11:52:12 PM5/27/14
to maven-androi...@googlegroups.com
Yep.. thats part of my work for tonight ;-) 

Malachi de Ælfweald

unread,
May 28, 2014, 10:51:57 AM5/28/14
to maven-androi...@googlegroups.com
Confirmed there and working =)

--

Johan Lindquist

unread,
May 28, 2014, 2:31:04 PM5/28/14
to maven-androi...@googlegroups.com
Can confirm I have a successful build as well - good stuff!

Johan

thierryd

unread,
May 29, 2014, 9:46:55 AM5/29/14
to maven-androi...@googlegroups.com
I had an issue with a custom attribute. The custom attributes was defines in attrs.xml in LibA and was used in styles.xml in "LibB" (using the no-namespace trick). It worked fine when I switched from apklib to aar.

tdr :)

William Ferguson

unread,
May 29, 2014, 6:06:44 PM5/29/14
to maven-androi...@googlegroups.com
@theirryd Could you please provide a link to a cut down github project showing the error.


--
You received this message because you are subscribed to a topic in the Google Groups "Maven Android Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maven-android-developers/0THB-RydadM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maven-android-deve...@googlegroups.com.

thierryd

unread,
Jun 2, 2014, 9:05:35 AM6/2/14
to maven-androi...@googlegroups.com
@William Furgeson I have uploaded a sample project at:


The library "SampleLib2" use a attribute from "SampleLib1". It works fine when I compile with version 3.8.1, but fails when I switch to 3.9.0-rc2. Note that I use apklib and not aar.

tdr :)

Malachi de AElfweald

unread,
Jun 2, 2014, 11:26:26 AM6/2/14
to maven-androi...@googlegroups.com
I built your app successfully using 3.8.1

Then, when trying to build with 3.9.0-rc.2, it complained about:

[INFO] Generating R file for com.example.sample:SampleApp-app:apk:1.0.0-SNAPSHOT
[INFO] /home/malachi/work/public/jayway/SampleMvn/SampleApp/target/unpacked-libs/ces_SampleApp-Lib2/res/values/styles.xml:5: error: Error: No resource found that matches the given name: attr 'fontName'.
[ERROR] Error when generating sources.


I'm not sure why it was throwing the error; but the fix was to remove the duplicate dependency in the SampleApp/pom.xml (which I know defeats the purpose of the test case).
Now it builds and runs fine with 3.9.0-rc.2

I decompiled the APK output from both for comparison:

malachi@beast:~/work/public/jayway/SampleMvn/SampleApp/tmp$ tree SampleApp-app-3.8.1/res/
SampleApp-app-3.8.1/res/
├── drawable-hdpi
│   └── ic_launcher.png
├── layout
│   ├── activity_lib1.xml
│   └── activity_main.xml
└── values
    ├── attrs.xml
    ├── ids.xml
    ├── public.xml
    ├── strings.xml
    └── styles.xml

3 directories, 8 files

malachi@beast:~/work/public/jayway/SampleMvn/SampleApp/tmp$ tree SampleApp-app-3.9.0-rc.2/res/
SampleApp-app-3.9.0-rc.2/res/
├── drawable-hdpi
│   └── ic_launcher.png
├── layout
│   ├── activity_lib1.xml
│   └── activity_main.xml
└── values
    ├── attrs.xml
    ├── ids.xml
    ├── public.xml
    ├── strings.xml
    └── styles.xml

3 directories, 8 files

also:
diff -r SampleApp-app-3.8.1/res/values SampleApp-app-3.9.0-rc.2/res/values
shows no differences


--
You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-android-deve...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

William Ferguson

unread,
Jun 2, 2014, 6:21:38 PM6/2/14
to maven-androi...@googlegroups.com
@malachi which dependency are you referring to as the duplicate (that you removed) in SampleApp/pom.xml?

They seem to be OK.


--
You received this message because you are subscribed to a topic in the Google Groups "Maven Android Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maven-android-developers/0THB-RydadM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maven-android-deve...@googlegroups.com.

Malachi de AElfweald

unread,
Jun 2, 2014, 6:25:31 PM6/2/14
to maven-androi...@googlegroups.com
In the SampleApp, I removed the dependency on SampleLib1 (which was auto-inherited from SampleLib2) and I was able to build/run with 3.9.0-rc.2

thierryd

unread,
Jun 2, 2014, 8:45:03 PM6/2/14
to maven-androi...@googlegroups.com
I have tested the sample app with the dependency removed and it works fine.

That's interesting. I didn't realize apklib are auto-inherited, but it makes sense.

tdr :)

Malachi de AElfweald

unread,
Jun 3, 2014, 10:08:28 AM6/3/14
to maven-androi...@googlegroups.com
Well, technically what is happening is that the lib1 dependency is showing up as a transitive dependency when you go to build the apk. As such, it's being included into the APK.


--
You received this message because you are subscribed to the Google Groups "Maven Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maven-android-deve...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages