I hope those questions are the last )

1. I have a lib that uses bunch of air classes like 

/flash.filesystem.File
flash.filesystem.FileMode;
flash.filesystem.FileStream;/

I can't find the right dependency for it.
I added
/
      <dependency>
        <groupId>org.apache.flex.framework</groupId>
        <artifactId>air</artifactId>
        <version>${flex.version}</version>
        <type>pom</type>
      </dependency>
/         

where flex.version

/        <flex.version>4.13.0.20140701</flex.version>
/
But It didn't help. What should I do to make those classes to be available?

2. The second seems affects nothing, but anyway It looks like something
strange, so I would like to realize why it happens. When I compile my
projects I see those lines in build output

/[INFO] Scanning for projects...
[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/

I have no idea why they appear. I have no mentions of 4.12 sdk in my
projects. I mavenized and deployed to the repo sdk 4.13 and I use it
explicitly.

3. I use <dependencyManagement> in my root pom to declare the certain
version of dependencies.
In my child POMs I put necessary dependency, but with no <version> defined.
If I do such I have my transition dependencies broken.
If I add <version> to the child pom's dependency I have no problem.
This regards to those two. 3rd party libs are only affected if those two
used without <version> tag.

/            <dependency>
              <groupId>org.apache.flex</groupId>
              <artifactId>framework</artifactId>
              <version>${flex.version}</version>
              <type>pom</type>
            </dependency>

            <dependency>
              <groupId>com.adobe.flash.framework</groupId>
              <artifactId>playerglobal</artifactId>
              <version>${playerglobal.version}</version>
              <type>swc</type>
            </dependency>/
                        
Does it only regards to 'standard' libs? (that child pom's dependencies
declaration must include <version> tag)

Thanx in advance.




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Flexmojos-7-0-1-NullPointerException-while-generating-sources-tp8699p8720.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to