Maybe there is example project which I can clone and modify? On Sat, Apr 8, 2017 at 11:07 AM, Maxim Solodovnik <solomax...@gmail.com> wrote:
> Thanks a lot Chris, > > I have added additional repositories > But no luck so far: > > *mvn clean install -U* > [INFO] Scanning for projects... > Downloading: https://repo.maven.apache.org/maven2/org/apache/flex/ > compiler/4.15.0/compiler-4.15.0.pom > Downloading: http://repository.sonatype.org/content/groups/flexgroup/ > org/apache/flex/compiler/4.15.0/compiler-4.15.0.pom > [WARNING] The POM for org.apache.flex:compiler:pom:4.15.0 is missing, no > dependency information available > [ERROR] [ERROR] Some problems were encountered while processing the POMs: > [ERROR] Unresolveable build extension: Plugin > net.flexmojos.oss:flexmojos-maven-plugin:7.1.0 > or one of its dependencies could not be resolved: Failure to find > org.apache.flex:compiler:pom:4.15.0 in https://repo.maven.apache.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 @ > [ERROR] Unknown packaging: swf @ line 24, column 13 > @ > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.openmeetings:omvideo:1.0.0-SNAPSHOT > (/home/solomax/work/tmp/flex-maven/pom.xml) has 2 errors > [ERROR] Unresolveable build extension: Plugin > net.flexmojos.oss:flexmojos-maven-plugin:7.1.0 or one of its dependencies > could not be resolved: Failure to find org.apache.flex:compiler:pom:4.15.0 > in https://repo.maven.apache.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 -> [Help 2] > [ERROR] Unknown packaging: swf @ line 24, column 13 > [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/ > PluginManagerException > > > Maybe dependency coordinates are wrong? > I found org.apache.flex and org.apache.flex.framework groups in maven > which one is correct? > > On Fri, Apr 7, 2017 at 8:44 PM, Christofer Dutz <christofer.d...@c-ware.de > > wrote: > >> Hi Maxim, >> >> If you are not seeing some cool asci-art Flex Logo in your build, you are >> not using the flex-sdk-converter that should kick in automatically. >> This is probably due to the fact that we haven’t released that yet and it >> is only available as a SNAPSHOT version from the ASF Maven repo. >> In order to tell Maven about that, you need to provide it in your maven >> settings.xml … for an example see the “settings-template.xml” files in the >> flexjs repo [1] >> >> But if you are using fontkit libraries for font embedding you will >> probably be running into another problem as the download is done from >> sourceforge servers and a non-us JDK isn’t able to download from there >> automatically. You need to manually install the Java Cryptography Extension >> from here [2]. >> >> Hope that helps … >> >> Chris >> >> [1] https://github.com/apache/flex-asjs/blob/develop/settings- >> template.xml >> [2] http://www.oracle.com/technetwork/java/javase/downloads/ >> jce8-download-2133166.html >> >> >> >> Am 07.04.17, 12:55 schrieb "Maxim Solodovnik" <solomax...@gmail.com>: >> >> Hello All, >> >> I'm trying to create my first project using this [1] guide >> Unfortunately it fails with following error: >> >> [ERROR] [ERROR] Some problems were encountered while processing the >> POMs: >> [ERROR] Unresolveable build extension: Plugin >> net.flexmojos.oss:flexmojos-maven-plugin:7.1.0 or one of its >> dependencies >> could not be resolved: Failure to find org.apache.flex:compiler:pom:4 >> .15.0 >> in https://repo.maven.apache.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 @ >> >> Here is this dummy project: https://github.com/solomax/flex-maven >> (no code >> at all ...) >> Maven 3.3.9 >> Java 1.8.121 >> >> Would appreciate you can help me :) >> >> [1] >> https://cwiki.apache.org/confluence/display/FLEX/Quick+Start >> +Guide:+Building+Apache+Flex+applications+using+Maven#Quick >> StartGuide:BuildingApacheFlexapplicationsusingMaven-SWFArtifact >> >> -- >> WBR >> Maxim aka solomax >> >> >> > > > -- > WBR > Maxim aka solomax > -- WBR Maxim aka solomax