Can someone shed some light on why the following warnings are displayed in a
completely new project that is using SDK 4.14.0.20150123; why is it trying
to look for dependency information on 4.12.1.20140427 ( I've never had this
version installed - nor would I want to deploy it just to hopefully get rid
of the warnings - and I don't see a reason why 4.14.0 should care about
4.12.1 information )? It smells like a bug...

pom.xml looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<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>

    <groupId>com.barnabiro</groupId>
    <artifactId>data-parsing</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <packaging>swf</packaging>

    <name>data-parsing example</name>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <flexmojos.version>7.0.1</flexmojos.version>
        <flex.sdk.version>4.14.0.20150123</flex.sdk.version>
        <playerglobal.version>17.0</playerglobal.version>
    </properties>

    <build>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>net.flexmojos.oss</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>${flexmojos.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <storepass/>
                    <debug>true</debug>
                    <compilerWarnings>
                        <warn-no-constructor>false</warn-no-constructor>
                    </compilerWarnings>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>net.flexmojos.oss</groupId>
                       
<artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
                        <version>${flexmojos.version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>pom</type>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.flex</groupId>
            <artifactId>framework</artifactId>
            <version>${flex.sdk.version}</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.flash.framework</groupId>
            <artifactId>playerglobal</artifactId>
            <version>${playerglobal.version}</version>
            <type>swc</type>
        </dependency>
        <dependency>
            <groupId>org.apache.flex.framework</groupId>
            <artifactId>spark</artifactId>
            <version>${flex.sdk.version}</version>
            <scope>theme</scope>
            <type>swc</type>
        </dependency>
    </dependencies>

    

</project>

... and the build output:

*[WARNING] The POM for org.apache.flex:compiler:pom:4.12.1.20140427 is
missing, no dependency information available
[WARNING] The POM for org.apache.flex.compiler:mxmlc:jar:4.12.1.20140427 is
missing, no dependency information available
[WARNING] The POM for org.apache.flex.compiler:digest:jar:4.12.1.20140427 is
missing, no dependency information available
[WARNING] The POM for org.apache.flex.compiler:optimizer:jar:4.12.1.20140427
is missing, no dependency information available
[WARNING] The POM for org.apache.flex.compiler:asdoc:jar:4.12.1.20140427 is
missing, no dependency information available
[WARNING] The POM for
org.apache.flex.compiler:swcdepends:jar:4.12.1.20140427 is missing, no
dependency information available*
[WARNING] 
[WARNING] Some problems were encountered while building the effective model
for com.barnabiro:data-parsing:swf:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for
org.apache.flex.framework:spark:swc must be one of [provided, compile,
runtime, test, system] but is 'theme'. @ line 72, column 20
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building data-parsing example 1.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ data-parsing ---
[INFO] Deleting C:\Sandbox\data-parsing\target
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
data-parsing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- flexmojos-maven-plugin:7.0.1:compile-swf (default-compile-swf) @
data-parsing ---
[INFO] Flexmojos 7.0.1
[INFO]   GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Writing configuration dump to
C:\Sandbox\data-parsing\target\data-parsing-1.0.0-SNAPSHOT-configs.xml
[INFO] C:\Sandbox\data-parsing\target\data-parsing-1.0.0-SNAPSHOT.swf (10510
bytes)
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources)
@ data-parsing ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\Sandbox\data-parsing\src\test\resources
[INFO] 
[INFO] --- flexmojos-maven-plugin:7.0.1:test-compile (default-test-compile)
@ data-parsing ---
[INFO] Flexmojos 7.0.1
[INFO]   GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[WARNING] Skipping test compiler, no test class found.
[INFO] 
[INFO] --- flexmojos-maven-plugin:7.0.1:test-run (default-test-run) @
data-parsing ---
[INFO] Flexmojos 7.0.1
[INFO]   GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO]
------------------------------------------------------------------------
[INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
data-parsing ---
[INFO] Installing
C:\Sandbox\data-parsing\target\data-parsing-1.0.0-SNAPSHOT.swf to
C:\Users\b.biro\.m2\repository\com\barnabiro\data-parsing\1.0.0-SNAPSHOT\data-parsing-1.0.0-SNAPSHOT.swf
[INFO] Installing C:\Sandbox\data-parsing\pom.xml to
C:\Users\b.biro\.m2\repository\com\barnabiro\data-parsing\1.0.0-SNAPSHOT\data-parsing-1.0.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4.886 s
[INFO] Finished at: 2015-03-26T13:07:04+01:00
[INFO] Final Memory: 20M/558M
[INFO]
------------------------------------------------------------------------

*PS:* The following has also been lurking around for quite a long time now.

*[WARNING] 
[WARNING] Some problems were encountered while building the effective model
for com.barnabiro:data-parsing:swf:1.0.0-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for
org.apache.flex.framework:spark:swc must be one of [provided, compile,
runtime, test, system] but is 'theme'. @ line 72, column 20
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING] *

Are there any plans on improving the way themes are included and stop Maven
from complaining?

It's really nice to see that Flexmojos hasn't died off the moment VELO
jumped ship.
Congrats to Christofer and every contributor. Keep up the good work!

Barna



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/4-12-1-20140427-warnings-Flexmojos-7-0-1-tp9907.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to