Can you run it with -e parameter and post the stack trace?
VELO On Wed, Jan 28, 2009 at 10:02 AM, Morten Tuft Vareberg < [email protected]> wrote: > > Hey. > > This was just in my example to the mailing list, sorry for not being > thorough enough when writing the mail. When I corrected the error you > saw, I still get the same error though: > --------------------------------------------------------------------------- > Project ID: com.test:child > POM Location: /check-deps/child/pom.xml > Validation Messages: > > [0] 'dependencies.dependency.version' is missing for > com.adobe.flex.framework:flex-framework > [1] 'dependencies.dependency.version' is missing for info.flex- > mojos:testing-support > > > Reason: Failed to validate POM for project com.test:child at /check- > deps/child/pom.xml > --------------------------------------------------------------------------- > > /mtv > > On 28.01.2009, at 12:51 , Marvin Froeder wrote: > > > Well, > > > > You put flex-framework on dependency management, then consume air- > > framework on your child module. > > > > I don't think that will work <35F.gif> > > > > VELO > > > > On Wed, Jan 28, 2009 at 9:47 AM, Morten Tuft Vareberg < > [email protected] > > > wrote: > > > > Hello. > > > > I am new to flex-mojos, so any help would be appreciated. I have a > > problem where I want to use dependencyManagement in a multi-module > > project. By using this maven feature I do not have to specify > > versions, scope, etc. when "applying" the dependencies in the > > different modules. My problem seems to be that this does not work. It > > seems that pluginManagement works in the desired way, but not > > dependencyManagement. Is this intended? > > > > Here is a simple example of what I want to do. > > > > Parent pom.xml (removed some config for readability): > > > --------------------------------------------------------------------------- > > <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.test</groupId> > > <artifactId>parent</artifactId> > > <version>1.0.0-SNAPSHOT</version> > > <packaging>pom</packaging> > > <name>parent</name> > > <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > - - - - > > Dependency management is used to control dependencies so that > > all > > sub-modules use the same version and type of dependencies. > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > - - - - --> > > <dependencyManagement> > > <dependencies> > > <!-- Flex SDK dependencies --> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>flex-framework</artifactId> > > <version>3.2.0.3958</version> > > <type>pom</type> > > </dependency> > > <!-- Flex-Mojos Unit testing support --> > > <dependency> > > <groupId>info.flex-mojos</groupId> > > <artifactId>testing-support</artifactId> > > <version>2.0.3</version> > > <type>swc</type> > > <scope>test</scope> > > </dependency> > > </dependencies> > > </dependencyManagement> > > <modules> > > <module>child</module> > > </modules> > > <build> > > <pluginManagement> > > <plugins> > > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>flex-compiler-mojo</artifactId> > > <version>2.0.3</version> > > </plugin> > > <!-- .... --> > > </plugins> > > </pluginManagement> > > </build> > > </project> > > > --------------------------------------------------------------------------- > > Child pom.xml (removed some config for readability): > > > --------------------------------------------------------------------------- > > <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.test</groupId> > > <artifactId>parent</artifactId> > > <version>1.0.0-SNAPSHOT</version> > > </parent> > > <groupId>com.test</groupId> > > <artifactId>child</artifactId> > > <version>1.0.0-SNAPSHOT</version> > > <name>child</name> > > <packaging>swf</packaging> > > <build> > > <plugins> > > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>flex-compiler-mojo</ > > artifactId> > > <extensions>true</extensions> > > </plugin> > > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>asdoc-mojo</artifactId> > > </plugin> > > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>flexbuilder-mojo</ > > artifactId> > > </plugin> > > </plugins> > > </build> > > <dependencies> > > <dependency> > > <groupId>com.adobe.flex.framework</groupId> > > <artifactId>air-framework</artifactId> > > </dependency> > > <dependency> > > <groupId>info.flex-mojos</groupId> > > <artifactId>testing-support</artifactId> > > </dependency> > > </dependencies> > > </project> > > > --------------------------------------------------------------------------- > > > > Regards, > > Morten Tuft Vareberg. > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
