qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

asdoc library-path resolves non-swc dependencies #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. flex project with non-swc dependencies (i.e. pom)
2. mvn asdoc:asdoc

What is the expected output? What do you see instead?
asdoc fails with:
Error: unable to load SWC actionscript-api-5.2.0.pom: 
/Users/logan/.m2/repository/com/mapquest/actionscript-api/5.2.0/actionscript-api
-
5.2.0.pom is not a SWC file.
because 
/Users/logan/.m2/repository/com/mapquest/actionscript-api/5.2.0/actionscript-api
-
5.2.0.pom has been added to the -library-path

It should filter out non-swc files for the -library-path

Original issue reported on code.google.com by RedB...@gmail.com on 7 May 2008 at 9:15

GoogleCodeExporter commented 9 years ago
committed simple fix in r358 to only allow swc dependencies in -library-path. I 
tried filtering in 
MavenUtils.getDependencyArtifacts(), but I couldnt' get TypeArtifactFilter to 
work the way I expected, so I fell 
back to the simple solution for now.

Original comment by RedB...@gmail.com on 8 May 2008 at 4:51