Besides the basedir maven bug, there seems to be something wrong with the generate goal in 3.8-SNAPSHOT. I also tried to add the generated- source dir with the maven helper plugin but that didn't work either. At this point I unfortunately have to disable the code generation. Should I file a jira issue?
On Aug 31, 4:15 pm, Marvin Froeder <[email protected]> wrote: > Well, maven is the one that interpolates the ${basedir}... so I would say it > is a maven bug, but weird that only you got this problem.... anyway, DO NO > TAMPER WITH SOURCE PATHS! I really mean it. > > This is the best way to break everything. > > VELO > > On Tue, Aug 31, 2010 at 11:05 AM, btyla <[email protected]> wrote: > > Hi > > > I'm generating AS3 classes from their java counterparts. Running maven > > in this project directory works, but when running maven in the parent > > project directory this fails. The generated 'base' cannot be found by > > the compiler. It seems that the generated-sources directory is not > > added automatically in this case. > > > I tried the 'includeSources' configuration element but without luck; > > it is ignored and doesn't show in the compiler options. > > > The 'sourcePaths' doesn't work either because it some how inserts a > > 'null' path element. > > > <sourcePaths> > > <path>${baseDir}/src/main/flex</path> > > </sourcePaths> > > > results in: > > > -compiler.source-path X:\bnu-op\bnu-op-flex-application\null\src\main > > \flex > > > I'm using flexmojos-3.8-SNAPSHOT > > > X:\bnu-op>mvn -version > > Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) > > Java version: 1.6.0_21 > > Java home: C:\Program Files\Java\jdk1.6.0_21\jre > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > > Regards, > > Bjorn > > > -- > > 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/
