Looks like the QRScanner lib includes its own copies of the cn1-codescan classes, which makes it conflict. https://github.com/littlemonkeyltd/QRScanner/tree/master/src/com/codename1/ext/codescan
This is problematic. I'm not sure if the solution is that it no longer depends on cn1-codescan (i.e. remove the cn1-codescan dependency), or if those classes need to renamed in the QRScanner lib, or if those classes need to be removed in the QRScanner lib. The compliance check complains about duplicate classes because it uses proguard - and I haven't figured out a way to tell it *not* to complain about this. But it is technically correct. Having duplicates is going to bite you down the road, especially since they probably aren't identical, so behaviour is undefined. You can "turn off" the compliance check by looking for "<goal>compliance-check</goal>" in your common/pom.xml file, but this is not a good long-term solution since that disables compile-time checks for compliance with supported APIs, and it may just kick the can to the build server. Judging by the QRCodescanner lib repo, I suspect there will be other problems as it hasn't been updated in 5 years. It is highly likely that it some other aspects may run afoul of current Google and iOS appstore acceptance standards. On Mon, May 10, 2021 at 7:27 AM Carlos Verdier <[email protected]> wrote: > No Just one entry: > > <!-- Add your cn1lib dependencies to this section --> > <dependencies> > <dependency> > <groupId>com.codenameone</groupId> > <artifactId>codenameone-core</artifactId> > <scope>provided</scope> > </dependency> > > <dependency> > <artifactId>review-QRScanner</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > <dependency> > <artifactId>review-CN1CircleProgress</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > <dependency> > <artifactId>review-ZipSupport</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > <dependency> > <artifactId>review-Connectivity</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > <dependency> > <artifactId>review-cn1-codescan</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > <dependency> > <artifactId>review-AnimatedGifSupport</artifactId> > <groupId>com.yourappeasy.reviewer</groupId> > <version>1.0-SNAPSHOT</version> > <type>pom</type> > </dependency> > > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/codenameone-discussions/b95949d5-10f6-4391-bb93-e78d94e0d52bn%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/b95949d5-10f6-4391-bb93-e78d94e0d52bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKW%2BHr20SY%3Dp_xGEf8mMZX%3DXTk0q%3DCZsbnNPYLxjW67uqw%40mail.gmail.com.
