bufanliu / as3-commons

Automatically exported from code.google.com/p/as3-commons
0 stars 0 forks source link

as3-commons-bytecode 1.1-SNAPSHOT some maven dependencies need to be optional #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am attaching two zip files test-fixed.zip and test.zip, each contains a 
flex-mojo maven project created with:

mvn archetype:generate \                               
      -DarchetypeRepository=http://repository.sonatype.org/content/groups/public\
      -DarchetypeGroupId=org.sonatype.flexmojos \
      -DarchetypeArtifactId=flexmojos-archetypes-application \
      -DarchetypeVersion=4.1-beta

The problem is that the test harness generated code kept being generated with 
all sorts of AIR stuff in it even though the project was for building a swf. 

http://groups.google.com/group/flex-mojos/browse_thread/thread/53fba74905bcd315

I have discovered that the dependency on as3-commons-bytecode 1.1-SNAPSHOT was 
pulling in a lot of other dependencies (see file 
as3-commons-bytecode.dependencies.txt (attached)).

I have excluded some of those dependencies, and now everything works again. 

Because the bug is so obscure and difficult to track down (flex-mojos being a 
PITA as usual), I suggest you make these dependencies optional.

Thanks,

Bryan Hunt

Original issue reported on code.google.com by sentimen...@gmail.com on 16 Dec 2011 at 12:35

Attachments:

GoogleCodeExporter commented 9 years ago
Hey there,

I saw that in the as3-bytecode pom there were a couple of AIR/Flex dependencies 
that weren't scoped to 'test', I believe that was the reason that things got 
mixed up in your build.
I've updated the -bytecode pom and correctly scoped those dependencies, I hope 
that solves a few things for you.

Cheers,

Roland

Original comment by ihatelivelyids on 18 Dec 2011 at 3:09

GoogleCodeExporter commented 9 years ago

Original comment by ihatelivelyids on 18 Dec 2011 at 3:09

GoogleCodeExporter commented 9 years ago
thanks, Roland

Original comment by sentimen...@gmail.com on 19 Dec 2011 at 12:11

GoogleCodeExporter commented 9 years ago

Original comment by ihatelivelyids on 19 Dec 2011 at 7:03