Hi, I've attempted to create a modular application using the instructions here.
http://flexmojos.sonatype.org/getting-started.html using the 3.8 as the version number. However I can't get the SWC of the SWF projects building. for the SWC this is my pom <?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.21fifty.portal</groupId> <artifactId>portal</artifactId> <version>1.0-SNAPSHOT</version> </parent> <groupId>com.21fifty.portal</groupId> <artifactId>swc</artifactId> <version>1.0-SNAPSHOT</version> <packaging>swc</packaging> <name>swc Library</name> <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.0.18623</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>4.5.0.18623</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>0.90</version> <type>swc</type> <scope>test</scope> </dependency> </dependencies> </project> However when I attempt to run a clean install I get the following error message [ERROR] Unresolveable build extension: Plugin org.sonatype.flexmojos:flexmoj os-maven-plugin:3.8 or one of its dependencies could not be resolved: The follow ing artifacts could not be resolved: com.adobe.flex:compiler:pom: 4.5.0.18623, co m.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958, org.jvnet:animal- sniffer-an notation:jar:1.0, net.sf.saxon:saxon-dom:jar:9.0, jgoogleanalytics:jgoogleanalyt ics:jar:0.2: Failure to find com.adobe.flex:compiler:pom:4.5.0.18623 in http://r epo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced The flex.compiler pom I retrieved from the local nexus installation. Any idea how to fix this? -- 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/
