No harm no foul, Adnan. - "clean" deletes all compilation artifacts (.class files, .swc files, .swf files, generated code, etc) and removes the target directories where Maven places build output - "install" compiles all source files, compiles and runs all unit tests, packages the artifacts (creates swf and swc files, for Flex projects, creates jars for Java projects, etc) and installs them to your local .m2 repository Bryan Turner
On Wed, Jan 19, 2011 at 9:19 AM, Adnan Doric P. <[email protected]>wrote: > Hello Bryan and thank you for your response. > > I have 3.0.2 : > Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100) > Java version: 1.6.0_20, vendor: Sun Microsystems Inc. > Java home: C:\Program Files (x86)\Java\jdk1.6.0_20\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > > I now understand my issue, I falsely supposed that "clean install" is meant > to "clean" and "generate" project structure from the pom.xml. > > Well I'm going to read some Maven documentation before continuing into > flex-mojos as it is not as simple as I initially supposed :) > > Thank you again and sorry for my noobish questions. > Adnan > > > > On 19/01/2011 18:03, Bryan Turner wrote: > >> >> Adnan, >> >> A few things. First, what version of Maven 3 are you using? FlexMojos 4 >> requires 3.0.1, which could explain the warnings at startup about Maven >> poms. >> >> Second, Maven doesn't create project structures on "clean install". Only >> archetypes create such things, and it sounds like you didn't use one. You >> have to create the proper directory structure yourself when not using an >> archetype. FlexMojos warns you that compilation is skipped because the >> source path doesn't exist. The directory structure under someProject needs >> to look like this: >> .../someProject/ >> pom.xml >> src/ >> main/ >> flex/ >> resources/ >> test/ >> flex/ >> resources/ >> >> You need to create, at a minimum, src/main/flex under someProject, or >> configure Maven to use a different build path (which, given you do not seem >> particularly experienced with Maven, I would not recommend; Maven can be a >> bit quirky when you don't use its conventions and it can be very frustrating >> to fight it). >> >> Hope this helps, >> Bryan Turner >> >> >> > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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 http://flexmojos.sonatype.org/
