before that my repository where i am connecting is not on now i connected and all the plugin downloded to my global repository now only problem in these things only when i am installed maven
[INFO] Scanning for projects... [WARNING] The POM for com.adobe.flex:compiler:pom:4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.compiler:digest:jar:4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.compiler:optimizer:jar: 4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.compiler:asdoc:jar:4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.compiler:swcdepends:jar: 4.5.1.21328 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.framework:playerglobal:swc: 10.0:4.1.0.16076 is missing, no dependency information available [WARNING] The POM for com.adobe.flex.framework:flex:swc:4.1.0.16076 is missing, no dependency information available [WARNING] The POM for net.sf.saxon:saxon-dom:jar:9.0 is missing, no dependency information available [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.atled:game-slot:1.0-SNAPSHOT (E:\Workspace \Atled\game\game-slot\pom.xml) has 2 errors [ERROR] Unresolveable build extension: Plugin org.sonatype.flexmojos:flexmojos-maven-plugin:4.2-beta or one of its dependencies could not be resolved: The following artifacts could not be resolved: com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328, com.adobe.flex.compiler:digest:jar:4.5.1.21328, com.adobe.flex.compiler:optimizer:jar:4.5.1.21328, com.adobe.flex.compiler:asdoc:jar:4.5.1.21328, com.adobe.flex.compiler:swcdepends:jar:4.5.1.21328, net.sf.saxon:saxon- dom:jar:9.0, com.adobe.flex.framework:playerglobal:swc: 10.0:4.1.0.16076, com.adobe.flex.framework:flex:swc:4.1.0.16076, com.adobe.flex:compiler:pom:4.5.1.21328: Failure to find com.adobe.flex.compiler:mxmlc:jar:4.5.1.21328 in http://10.172.41.2:8080/archiva/repository/internal was cached in the local repository, resolution will not be reattempted until the update interval of atledtechnologies.repository has elapsed or updates are forced -> [Help 2] [ERROR] Unknown packaging: swc @ line 13, column 14 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException On Mar 21, 12:24 am, Lior Boord <[email protected]> wrote: > This is odd, the error you are getting is usually a result of the flexmojos > plugin not being loaded, might be an issue with the configurations, not > sure why you are getting that. > > I ran your pom excluding the reference to the parent pom. The only problem > I found in it is the version mismatch between the SDK and the default > compiler, fixed that one and it's working. > > The pom I used (with maven version 2.2.1): > > <?xml version="1.0" encoding="UTF-8"?> > <project > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd" > xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <modelVersion>4.0.0</modelVersion> > <!--<parent> > <artifactId>game</artifactId> > <groupId>com.atled</groupId> > <version>1.0-SNAPSHOT</version> > </parent>--> > <groupId>com.atled</groupId> > <artifactId>game-slot</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>swc</packaging> > <name>game-slot Flex</name> > <dependencies> > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <version>4.5.1.21328</version> > <type>pom</type> > </dependency> > <dependency> > <groupId>com.adobe.flexunit</groupId> > <artifactId>flexunit</artifactId> > <version>0.85</version> > <type>swc</type> > <scope>test</scope> > </dependency> > </dependencies> > <repositories> > <repository> > <id>flex-mojos-repository</id> > > <url>http://repository.sonatype.org/content/groups/flexgroup</url> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>flex-mojos-plugin-repository</id> > > <url>http://repository.sonatype.org/content/groups/flexgroup</url> > </pluginRepository> > </pluginRepositories> > <build> > <sourceDirectory>src/main/flex</sourceDirectory> > <testSourceDirectory>src/test/flex</testSourceDirectory> > <plugins> > <plugin> > <groupId>org.sonatype.flexmojos</groupId> > > <artifactId>flexmojos-maven-plugin</artifactId> > <version>3.8</version> > <extensions>true</extensions> > <configuration> > <locales> > <locale>en_US</locale> > </locales> > > </configuration> > <dependencies> > <dependency> > <groupId>com.adobe.flex</groupId> > <artifactId>compiler</artifactId> > <version>4.5.1.21328</version> > <type>pom</type> > </dependency> > </dependencies> > </plugin> > </plugins> > </build> > </project> > On Tue, Mar 20, 2012 at 7:41 PM, Aravind Krishna > <[email protected]>wrote: > > > > > > > > > thanks for your response,same error only. > > > On Mar 20, 2012 8:46 PM, "Lior Boord" <[email protected]> wrote: > > > > Did you try running it with out reference to the parent pom? > > > > On Tue, Mar 20, 2012 at 4:09 PM, aravinthh rockz < > > [email protected]> wrote: > > > >> this is pom file for the module, What shall do for this one > > > >> <?xml version="1.0" encoding="UTF-8"?> > > >> <project > > >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > >>http://maven.apache.org/xsd/maven-4.0.0.xsd" > > >> xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// > > >>www.w3.org/2001/XMLSchema-instance"> > > >> <modelVersion>4.0.0</modelVersion> > > >> <parent> > > >> <artifactId>game</artifactId> > > >> <groupId>com.atled</groupId> > > >> <version>1.0-SNAPSHOT</version> > > >> </parent> > > >> <groupId>com.atled</groupId> > > >> <artifactId>game-slot</artifactId> > > >> <version>1.0-SNAPSHOT</version> > > >> <packaging>swc</packaging>*****from this line showing error as > > > 1. >> unknown packaging swc > > > >> <name>game-slot Flex</name> > > >> <dependencies> > > >> <dependency> > > >> <groupId>com.adobe.flex.framework</groupId> > > >> <artifactId>flex-framework</artifactId> > > >> <version>4.5.1.21328</version> > > >> <type>pom</type> > > >> </dependency> > > >> <dependency> > > >> <groupId>com.adobe.flexunit</groupId> > > >> <artifactId>flexunit</artifactId> > > >> <version>0.85</version> > > >> <type>swc</type> > > >> <scope>test</scope> > > >> </dependency> > > >> </dependencies> > > >> <repositories> > > >> <repository> > > >> <id>flex-mojos-repository</id> > > >> <url> > >http://repository.sonatype.org/content/groups/flexgroup</url> > > >> </repository> > > >> </repositories> > > >> <pluginRepositories> > > >> <pluginRepository> > > >> <id>flex-mojos-plugin-repository</id> > > >> <url> > >http://repository.sonatype.org/content/groups/flexgroup</url> > > >> </pluginRepository> > > >> </pluginRepositories> > > >> <build> > > >> <sourceDirectory>src/main/flex</sourceDirectory> > > >> <testSourceDirectory>src/test/flex</testSourceDirectory> > > >> <plugins> > > >> <plugin> > > >> <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > >> <version>${flexmojos.version}</version> > > >> <extensions>true</extensions> > > >> <configuration> > > >> <locales> > > >> <locale>en_US</locale> > > >> </locales> > > >> </configuration> > > >> </plugin> > > >> </plugins> > > >> </build> > > >> </project> > > > >> -- > > >> 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 > > > >>http://flexmojos.sonatype.org/ > > > > -- > > > 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 > > > >http://flexmojos.sonatype.org/ > > t > > > -- > > 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 > > >http://flexmojos.sonatype.org/ -- 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 http://flexmojos.sonatype.org/
