I flex 4.6 Projekt in maven zu konvertieren Ich versuche Es folgt mein pom.xmlflex 4.6 pom Datei depency ist die Lösung nicht
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>4.0-RC2</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>4.6.0.23201</version>
<type>pom</type>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>wrapper</goal>
</goals>
<configuration>
<parameters>
<swf>${build.finalName}</swf>
<width>100%</width>
<height>100%</height>
</parameters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>4.6.0.23201</version>
<type>pom</type>
</dependency>
</dependencies>
<repositories>
<repository>
<id>flexmojos</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
</repository>
</repositories>
Fehler ich immer bin, ist wie folgt:
[ERROR ] Das Projekt com.adobe: gDash-main-maven: 1.0-SNAPSHOT (C: \\ pom.xml) hat 1 Fehler [ERROR] Unresolveable Build Erweiterung: Plugin com.adobe.flex.compiler: batik- all- flex: 4.6.0.23201 oder eine seiner Abhängigkeiten konnte nicht aufgelöst werden: Der folgende Code lautet Artefakte konnten nicht aufgelöst werden: com.adobe.flex.compiler: batik-all-flex: jar: 4.6.0.23201, com.adobe.flex: compiler: pom: 4.6.0.23201: Artefakt c konnte nicht gefunden werden om .adobe.flex.compiler: batik-all-flex: jar: 4.6.0.23201 in der Zentrale (http://repo.ma ven.apache.org/maven2) -> [Hilfe 2] org.apache.maven.plugin.PluginResolutionException: Plugin com.adobe.flex.compile r: batik-all-flex: 4.6.0.23201 oder eine seiner Abhängigkeiten konnte nicht aufgelöst werden: Die folgenden Artefakte konnten nicht aufgelöst werden: com.adobe.flex.compiler: batik-all - flex: jar: 4.6.0.23201, com.adobe.flex: compiler: pom: 4.6.0.23201: Artifact konnte nicht gefunden werden com.adobe.flex.compiler: batik-all-flex: jar: 4.6.0.2320 1 im Zentrum von (http://repo.maven.apache.org/maven2)
Ich weiß, seine lenghty aber Hilfe ist willkommen. Da habe ich viele Kombinationen ausprobiert.
Danke es hat funktioniert :) – neoahead