Can you access http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-maven-plugin/maven-metadata.xml <http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-maven-plugin/maven-metadata.xml> and http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/flexmojos/flexmojos-maven-plugin/3.4-SNAPSHOT/flexmojos-maven-plugin-3.4-20090910.140145-60.pom
On Thu, Sep 10, 2009 at 1:53 PM, Jimic79 <[email protected]> wrote: > > When i change my plugin from 3.3.0 to 3.4-SNAPSHOT, i get > > [ERROR] > Error scanning for extensions: Cannot resolve pre-scanned plugin > artifact (for use as an extension): org.sonatype.flexmojos:flexmojos- > maven-plugin: Failed to resolve extension plugin: > org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4- > SNAPSHOT > > With > <pluginRepositories> > <pluginRepository> > <id>flex-mojos-repository</id> > <url> > http://repository.sonatype.org/content/groups/flexgroup</url> > <releases> > <enabled>true</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > </pluginRepository> > </pluginRepositories> > > And the top of my plugin def as: > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.4-SNAPSHOT</version> > <extensions>true</extensions> > > > any idea why? > > > On Sep 10, 12:45 pm, Jimic79 <[email protected]> wrote: > > Don't know if this will help, but, here's what our ant task looked > > like (before the jump to maven) > > > > <target name="as3.generate"> > > <delete includeemptydirs="true"> > > <fileset dir="src/as3/entities" includes="**/*.as" /> > > </delete> > > <gas3 outputdir="src/as3/entities" classpathref="lib" > tide="true" > > entitybasetemplate="entitybase2.gsp" entitytemplate="entity.gsp"> > > <classpath> > > <pathelement location="bin" /> > > </classpath> > > <fileset dir="bin"> > > <include > name="com/groupId/asset/entities/model/**/*.class"/> > > </fileset> > > </gas3> > > </target> > > > > See how there's a classpath then a fileset? It would allow the files > > in the fileset to extend things on the classpath, but not generate the > > as3 for things on the classpath. It seems that your implementation of > > gas3 doesn't allow that. > > > > On Sep 10, 12:32 pm, Jimic79 <[email protected]> wrote: > > > > > D:\repo\groupId-lib\com.groupId.asset\trunk>mvn -e install > > > "SETTING MAVEN OPTS" > > > + Error stacktraces are turned on. > > > [INFO] Scanning for projects... > > > [INFO] Reactor build order: > > > [INFO] com.groupId.asset > > > [INFO] com.groupId.asset-jar > > > [INFO] com.groupId.asset-swc > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Building com.groupId.asset > > > [INFO] task-segment: [install] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [site:attach-descriptor] > > > [INFO] [install:install] > > > [INFO] Installing D:\repo\groupId-lib\com.groupId.asset\trunk\target > > > \pom-transformed.xml to C:\Users\usernamec\.m2\repository\com\groupId > > > \asset\1.0.0\asset-1.0.0.pom > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Building com.groupId.asset-jar > > > [INFO] task-segment: [install] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [build-helper:add-source {execution: add-source}] > > > [INFO] Source directory: D:\repo\groupId-lib\com.groupId.asset\trunk > > > \src\java\core added. > > > [INFO] Source directory: D:\repo\groupId-lib\com.groupId.asset\trunk > > > \src\java\entities added. > > > [INFO] [resources:resources] > > > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > > > resources, i.e. build is platform dependent! > > > [INFO] Copying 3 resources > > > [INFO] [compiler:compile] > > > [INFO] Nothing to compile - all classes are up to date > > > [INFO] [resources:testResources] > > > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > > > resources, i.e. build is platform dependent! > > > [INFO] skip non existing resourceDirectory D:\repo\groupId-lib > > > \com.groupId.asset\trunk\src\java\src\test\resources > > > [INFO] [compiler:testCompile] > > > [INFO] No sources to compile > > > [INFO] [surefire:test] > > > [INFO] No tests to run. > > > [INFO] [jar:jar] > > > [INFO] [install:install] > > > [INFO] Installing D:\repo\groupId-lib\com.groupId.asset\trunk\target > > > \com.groupId.asset-jar-1.0.0.jar to C:\Users\usernamec\.m2\repository > > > \com\groupId\asset-jar\1.0.0\asset-jar-1.0.0.jar > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Building com.groupId.asset-swc > > > [INFO] task-segment: [install] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] [dependency:copy-dependencies {execution: copy-dependencies}] > > > [INFO] mvc-1.0.0.swc already exists in destination. > > > [INFO] os-swc-1.0.0.swc already exists in destination. > > > [INFO] granite-essentials-swc-2.0.0.SP1.swc already exists in > > > destination. > > > [INFO] granite-swc-2.0.0.SP1.swc already exists in destination. > > > [INFO] [flexmojos:generate {execution: default}] > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > > file > > > [INFO] Calling the generator for each Java class. > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\AssetBase.as > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\Asset.as > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\FontAssetBase.as > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\FontAsset.as > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\ImageAssetBase.as > > > [INFO] Skipping: D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities\com\groupId\asset\entities\model\ImageAsset.as > > > [INFO] Files affected: 0 (nothing to do). > > > [INFO] [resources:resources] > > > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > > > resources, i.e. build is platform dependent! > > > [INFO] skip non existing resourceDirectory D:\repo\groupId-lib > > > \com.groupId.asset\trunk\src\as3\src\main\resources > > > [INFO] [flexmojos:compile-swc] > > > [INFO] Flexmojos 3.3.0 - Apache License (NO WARRANTY) - See COPYRIGHT > > > file > > > [WARNING] Nothing expecified to include. Assuming source and resources > > > folders. > > > [INFO] Flex compiler configurations: > > > -compiler.accessible=false > > > -compiler.actionscript-file-encoding UTF-8 > > > -compiler.allow-source-path-overlap=false > > > -compiler.as3=true > > > -compiler.debug=true > > > -compiler.es=false > > > -compiler.external-library-path D:\repo\groupId-lib\com.groupId.asset > > > \trunk\target\as3-classes\libraries\playerglobal.swc C:\Users\usernamec > > > \.m2\repository\com\adobe\flex\framework\flex > > > \3.3.0.4852\flex-3.3.0.4852.swc C:\Users\usernamec\.m2\repository\com > > > \adobe\flex\framework\framework\3.3.0.4852\framewo > > > rk-3.3.0.4852.swc C:\Users\usernamec\.m2\repository\com\adobe\flex > > > \framework\rpc\3.3.0.4852\rpc-3.3.0.4852.swc C:\Users\usernamec > > > \.m2\repository\com\adobe\flex\framework\utilities > > > \3.3.0.4852\utilities-3.3.0.4852.swc C:\Users\usernamec\.m2\repository > > > \com\groupId\mvc\1.0.0\mvc-1.0.0.swc C:\Users\usernamec\.m2\re > > > pository\org\graniteds\granite-swc\2.0.0.SP1\granite-swc-2.0.0.SP1.swc > > > C:\Users\usernamec\.m2\repository\org\graniteds\granite-essentials-swc > > > \2.0.0.SP1\granite-essentials-swc-2.0.0.SP1.swc > > > -compiler.fonts.local-fonts-snapshot D:\repo\groupId-lib > > > \com.groupId.asset\trunk\target\as3-classes\fonts.ser > > > -compiler.headless-server=false > > > -compiler.include-libraries= > > > -compiler.keep-all-type-selectors=false > > > -compiler.keep-generated-actionscript=false > > > -compiler.library-path C:\Users\usernamec\.m2\repository\com\groupId > > > \os-swc\1.0.0\os-swc-1.0.0.swc > > > -compiler.locale= > > > -compiler.optimize=true > > > -compiler.source-path D:\repo\groupId-lib\com.groupId.asset\trunk\src > > > \as3\entities > > > -compiler.strict=true > > > -compiler.use-resource-bundle-metadata=true > > > -compiler.verbose-stacktraces=false > > > -compute-digest=true > > > -default-background-color 8821927 > > > -default-frame-rate 24 > > > -default-script-limits 1000 60 > > > -default-size 500 375 > > > -licenses.license flexbuilder3 <removed> > > > -licenses.license flexbuilder3.displayed20DaysLeftMessage true > > > -licenses.license flexbuilder3.displayedFirstLaunchMessage true > > > -licenses.license flexbuilder3.displayedStartPageAtLeastOneTime true > > > -metadata.date Thu Sep 10 12:22:09 EDT 2009 > > > -use-network=true > > > -verify-digests=true -static-link-runtime-shared-libraries=false -load- > > > config= > > > [WARNING] D:\repo\groupId-lib\com.groupId.asset\trunk\src\as3\entities > > > \com\groupId\asset\entities\model\AssetBase.as:[20,18] No constructor > > > function was specified for class AssetBase. public class AssetBase > > > extends AbstractModel implements IExternalizable { > > > [WARNING] D:\repo\groupId-lib\com.groupId.asset\trunk\src\as3\entities > > > \com\groupId\asset\entities\model\ImageAssetBase.as:[18,18] No > > > constructor function was specified for class ImageAssetBase. public > > > class ImageAssetBase extends Asset { > > > [WARNING] D:\repo\groupId-lib\com.groupId.asset\trunk\src\as3\entities > > > \com\groupId\asset\entities\model\FontAssetBase.as:[18,18] No > > > constructor function was specified for class FontAssetBase. public > > > class FontAssetBase extends Asset { > > > [INFO] [resources:testResources] > > > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > > > resources, i.e. build is platform dependent! > > > [INFO] skip non existing resourceDirectory D:\repo\groupId-lib > > > \com.groupId.asset\trunk\src\as3\src\test\resources > > > [INFO] [flexmojos:test-compile] > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > > file > > > [WARNING] Test folder not foundD:\repo\groupId-lib\com.groupId.asset > > > \trunk\src\as3\src\test\java > > > [INFO] [flexmojos:test-run] > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > > file > > > [WARNING] Skipping test run. Runner not found: D:\repo\groupId-lib > > > \com.groupId.asset\trunk\target\test-classes > > > [INFO] [install:install] > > > [INFO] Installing D:\repo\groupId-lib\com.groupId.asset\trunk\target > > > \com.groupId.asset-swc-1.0.0.swc to C:\Users\usernamec\.m2\repository > > > \com\groupId\asset-swc\1.0.0\asset-swc-1.0.0.swc > > > [INFO] > > > [INFO] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Reactor Summary: > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] com.groupId.asset .................................... SUCCESS > > > [2.148s] > > > [INFO] com.groupId.asset-jar ................................ SUCCESS > > > [1.612s] > > > [INFO] com.groupId.asset-swc ................................ SUCCESS > > > [20.427s] > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] BUILD SUCCESSFUL > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 24 seconds > > > [INFO] Finished at: > > > > ... > > > > read more ยป > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
