Makes no sense at all

mvn clean install -P minimal
mvn clean install -DskipTests=true

Both should run this project the exactly same way....

VELO

On Sat, Oct 2, 2010 at 9:45 PM, aparrish <[email protected]> wrote:

> Looks like it only fails when I do the following:
>
> mvn clean install -P minimal
> mvn clean install -DskipTests=true
>
> If I do the following it works
>
> mvn clean install -P minimal
> mvn install
>
> So I suspect it is the clean causing the issue on the second run, but
> who knows. I have it installed in my local repository and have built a
> few simple Here (flex 4.5) test projects with it.
>
> Thanks for the help.
>
> On Oct 2, 11:21 am, Marvin Froeder <[email protected]> wrote:
> > The minimal compile also builds "Flexmojos Generator Plugin" ....  so
> makes
> > no sense to it pass on minimal and fail to regular build.
> >
> > VELO
> >
> > On Sat, Oct 2, 2010 at 11:49 AM, aparrish <[email protected]> wrote:
> > > Apologies for hitting reply rather than reply all in the last post.
> >
> > > I made it through the minimal compile, now I want to compile the whole
> > > plugin. I am getting this error in the build now, thoughts?
> >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] Flexmojos Parent .................................. SUCCESS
> > > [0.462s]
> > > [INFO] Flexmojos util .................................... SUCCESS
> > > [1.342s]
> > > [INFO] Flexmojos Common Matcher .......................... SUCCESS
> > > [0.344s]
> > > [INFO] Flexmojos Sandbox ................................. SUCCESS
> > > [0.047s]
> > > [INFO] Flexmojos Generator ............................... SUCCESS
> > > [0.084s]
> > > [INFO] Flexmojos Generator api ........................... SUCCESS
> > > [0.420s]
> > > [INFO] Flexmojos Generator Plugin ........................ FAILURE
> > > [0.573s]
> > > [INFO] Flexmojos Generator - Internal Threadlocal generator  SKIPPED
> > > [INFO] Flexmojos ThreadLocalToolkit wrapper .............. SKIPPED
> > > [INFO] Flexmojos Generator - Internal ifaces generator ... SKIPPED
> > > [INFO] Flexmojos Flex compiler ........................... SKIPPED
> > > [INFO] Flexmojos Flex3 compatibility layer ............... SKIPPED
> > > [INFO] Flexmojos Generator - Internal Flex2 generator .... SKIPPED
> > > [INFO] Flexmojos Flex2 compatibility layer ............... SKIPPED
> > > [INFO] Flexmojos Test Coverage reported .................. SKIPPED
> > > [INFO] Flexmojos Generator - graniteds 1.1.0 ............. SKIPPED
> > > [INFO] Flexmojos Generator - graniteds 2.0.0 ............. SKIPPED
> > > [INFO] Flexmojos Generator - graniteds 2.1.0 ............. SKIPPED
> > > [INFO] Flexmojos Generator - Constraints ................. SKIPPED
> > > [INFO] Flexmojos Testing ................................. SKIPPED
> > > [INFO] Flexmojos Tester api .............................. SKIPPED
> > > [INFO] Flexmojos Maven Plugin ............................ SKIPPED
> > > [INFO] Flexmojos Super poms .............................. SKIPPED
> > > [INFO] Flexmojos Archetypes .............................. SKIPPED
> > > [INFO] Flexmojos Archetypes - flex-application ........... SKIPPED
> > > [INFO] Flexmojos Archetypes - flex-library ............... SKIPPED
> > > [INFO] Flexmojos Archetypes - modular web application .... SKIPPED
> > > [INFO] Flexmojos Unit Test support - parent .............. SKIPPED
> > > [INFO] Flexmojos Unit Test support ....................... SKIPPED
> > > [INFO] Flexmojos Unit Test Coverage ...................... SKIPPED
> > > [INFO] Flexmojos Unit Test support - advancedflex ........ SKIPPED
> > > [INFO] Flexmojos Unit Test support - asunit .............. SKIPPED
> > > [INFO] Flexmojos Unit Test support - flexunit ............ SKIPPED
> > > [INFO] Flexmojos Unit Test support - flexunit 4 .......... SKIPPED
> > > [INFO] Flexmojos Unit Test support - fluint .............. SKIPPED
> > > [INFO] Flexmojos Unit Test support - funit ............... SKIPPED
> > > [INFO] Flexmojos Unit Test support - mustella ............ SKIPPED
> > > [INFO] Flexmojos Integration Tests ....................... SKIPPED
> > > [INFO] Flexmojos Aggregator .............................. SKIPPED
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: 13.442s
> > > [INFO] Finished at: Sat Oct 02 10:47:35 EDT 2010
> > > [INFO] Final Memory: 27M/265M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
> > > plugin:2.0.2:compile (default-compile) on project flexmojos-generator-
> > > mojo: Compilation failure: Compilation failure:
> > > [ERROR] /NEOSAVVY/work/flexMavenExamples/flexmojos/flexmojos-generator/
> > > flexmojos-generator-mojo/src/main/java/org/sonatype/flexmojos/
> > > generator/SimpleGeneratorMojo.java:[39,32] cannot find symbol
> > > [ERROR] symbol  : class Artifact
> > > [ERROR] location: package org.apache.maven.artifact
> > > [ERROR]
> > > [ERROR] /NEOSAVVY/work/flexMavenExamples/flexmojos/flexmojos-generator/
> > > flexmojos-generator-mojo/src/main/java/org/sonatype/flexmojos/
> > > generator/SimpleGeneratorMojo.java:[410,47] cannot access
> > > org.apache.maven.model.Build
> > > [ERROR] class file for org.apache.maven.model.Build not found
> > > [ERROR] classpaths.remove( project.getBuild().getOutputDirectory() );
> > > [ERROR]
> > > [ERROR] /NEOSAVVY/work/flexMavenExamples/flexmojos/flexmojos-generator/
> > > flexmojos-generator-mojo/src/main/java/org/sonatype/flexmojos/
> > > generator/SimpleGeneratorMojo.java:[423,12] cannot find symbol
> > > [ERROR] symbol  : class Artifact
> > > [ERROR] location: class
> > > org.sonatype.flexmojos.generator.SimpleGeneratorMojo
> > > [ERROR]
> > > [ERROR] /NEOSAVVY/work/flexMavenExamples/flexmojos/flexmojos-generator/
> > > flexmojos-generator-mojo/src/main/java/org/sonatype/flexmojos/
> > > generator/SimpleGeneratorMojo.java:[424,14] cannot find symbol
> > > [ERROR] symbol  : class Artifact
> > > [ERROR] location: class
> > > org.sonatype.flexmojos.generator.SimpleGeneratorMojo
> > > [ERROR] -> [Help 1]
> > > [ERROR]
> > > [ERROR] To see the full stack trace of the errors, re-run Maven with
> > > the -e switch.
> > > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > > [ERROR]
> > > [ERROR] For more information about the errors and possible solutions,
> > > please read the following articles:
> > > [ERROR] [Help 1]
> > >http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > > [ERROR]
> > > [ERROR] After correcting the problems, you can resume the build with
> > > the command
> > > [ERROR]   mvn <goals> -rf :flexmojos-generator-mojo
> >
> > > On Oct 2, 10:32 am, Marvin Froeder <[email protected]> wrote:
> > > > I have no idea why but apache hasn't being publish m3-RC's to
> central...
> > >https://repository.apache.org/content/repositories/maven-014/<
> > >https://repository.apache.org/content/repositories/maven-014/org/apac..
> .>
> >
> > > > VELO
> >
> > > > On Sat, Oct 2, 2010 at 11:30 AM, aparrish <[email protected]>
> wrote:
> > > > > After a night's rest I will answer my own question about the
> settings
> > > > > xml.
> >
> > > > >
> https://docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+s.
> > > ..
> >
> > > > > However.... After building I get this when running the -P minimal.
> How
> > > > > does your build resolve this?
> >
> > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] Reactor Summary:
> > > > > [INFO]
> > > > > [INFO] Flexmojos Parent .................................. SUCCESS
> > > > > [49.112s]
> > > > > [INFO] Flexmojos util .................................... SUCCESS
> > > > > [46.783s]
> > > > > [INFO] Flexmojos Common Matcher .......................... FAILURE
> > > > > [0.511s]
> > > > > [INFO] Flexmojos Sandbox ................................. SKIPPED
> > > > > [INFO] Flexmojos Generator ............................... SKIPPED
> > > > > [INFO] Flexmojos Generator api ........................... SKIPPED
> > > > > [INFO] Flexmojos Generator Plugin ........................ SKIPPED
> > > > > [INFO] Flexmojos Generator - Internal Threadlocal generator
>  SKIPPED
> > > > > [INFO] Flexmojos ThreadLocalToolkit wrapper .............. SKIPPED
> > > > > [INFO] Flexmojos Generator - Internal ifaces generator ... SKIPPED
> > > > > [INFO] Flexmojos Flex compiler ........................... SKIPPED
> > > > > [INFO] Flexmojos Flex3 compatibility layer ............... SKIPPED
> > > > > [INFO] Flexmojos Generator - Internal Flex2 generator .... SKIPPED
> > > > > [INFO] Flexmojos Flex2 compatibility layer ............... SKIPPED
> > > > > [INFO] Flexmojos Test Coverage reported .................. SKIPPED
> > > > > [INFO] Flexmojos Generator - graniteds 1.1.0 ............. SKIPPED
> > > > > [INFO] Flexmojos Generator - graniteds 2.0.0 ............. SKIPPED
> > > > > [INFO] Flexmojos Generator - graniteds 2.1.0 ............. SKIPPED
> > > > > [INFO] Flexmojos Generator - Constraints ................. SKIPPED
> > > > > [INFO] Flexmojos Testing ................................. SKIPPED
> > > > > [INFO] Flexmojos Tester api .............................. SKIPPED
> > > > > [INFO] Flexmojos Maven Plugin ............................ SKIPPED
> > > > > [INFO] Flexmojos Super poms .............................. SKIPPED
> > > > > [INFO] Flexmojos Aggregator .............................. SKIPPED
> > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] BUILD FAILURE
> > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] Total time: 1:37.421s
> > > > > [INFO] Finished at: Sat Oct 02 10:28:39 EDT 2010
> > > > > [INFO] Final Memory: 19M/265M
> > > > > [INFO]
> >
> > >
> ------------------------------------------------------------------------
> > > > > [ERROR] Failed to execute goal on project
> flexmojos-common-matchers:
> > > > > Could not resolve dependencies for project
> > > > > org.sonatype.flexmojos:flexmojos-common-matchers:jar:4.0-SNAPSHOT:
> > > > > Could not find artifact org.apache.maven:maven-artifact:jar:3.0-RC3
> in
> > > > > flex-mojos-repository (
> http://repository.sonatype.org/content/groups/
> > > > > flexgroup/ <
> > >http://repository.sonatype.org/content/groups/%0Aflexgroup/>)
> > > > > -> [Help 1]
> > > > > [ERROR]
> > > > > [ERROR] To see the full stack trace of the errors, re-run Maven
> with
> > > > > the -e switch.
> > > > > [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> > > > > [ERROR]
> > > > > [ERROR] For more information about the errors and possible
> solutions,
> > > > > please read the following articles:
> > > > > [ERROR] [Help 1]
> > > > >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolution.
> > > ..
> > > > > [ERROR]
> > > > > [ERROR] After correcting the problems, you can resume the build
> with
> > > > > the command
> > > > > [ERROR]   mvn <goals> -rf :flexmojos-common-matchers
> >
> > > > > On Oct 2, 12:58 am, aparrish <[email protected]> wrote:
> > > > > > I just fetched the repository from git.
> >
> > > > > > Trying to
> >
> > ...
> >
> > read more ยป
>
> --
> 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/

Reply via email to