Ahha!  Thanks, Bryan! (and Velo)

For future readers (inc. myself when I make this mistake on a new
computer)...
Enabling snapshots on "flex-mojos-internal-repository" solves it.

Specifically, in these instructions...
https://docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+sources#BuildingFlexmojosfromsources-FirstBuild
...it seems the advice to do "-P minimal" then full build didn't work
for me.  (see my command)

HTH, R.

On Jan 14, 2:42 am, Bryan Turner <[email protected]> wrote:
> Rupert,
>
> I'm noticing in your error message it's showing content/groups/public.
> Notice that in VELO's response it is showing content/groups/flexgroup. I
> think your settings.xml is listing the wrong repository. FlexMojos isn't in
> the Sonatype public group; it's in the FlexMojos group.
>
> Hope this helps,
> Bryan Turner
>
> On Thu, Jan 13, 2011 at 6:31 PM, Marvin Froeder <[email protected]> wrote:
> > It is published there...
>
> >http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/...
>
> > VELO
>
> > On Fri, Jan 14, 2011 at 12:31 AM, Marvin Froeder <[email protected]>wrote:
>
> >>http://repository.sonatype.org/content/groups/flexgroup/org/sonatype/...
>
> >> On Fri, Jan 14, 2011 at 12:23 AM, Rupert <[email protected]> wrote:
>
> >>> Anyone?
> >>> I'm trying to get a FM build so I can assist a colleague who ran into
> >>> a bug we haven't managed to get simple reproduction for you on.
> >>> Figured if I could supply the community a fix instead... :-)
> >>> Cheers, R.
>
> >>> On Jan 13, 1:20 pm, Rupert <[email protected]> wrote:
> >>> > Hi, Conrad, Velo, all
> >>> > I'm seeing the same error as Conrad when trying to build FM 4 from
> >>> > source from git, namely:
>
> >>> > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-
> >>> > plugin:1.6-SONATYPE-r940877:install (default) on project flexmojos-
> >>> > test-harness: Unable to resolve dependencies for:
> >>> > org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT:
> >>> > Failure to find org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-
> >>>  > SNAPSHOT inhttp://repository.sonatype.org/content/groups/public/was
> >>> > cached in the local repository, resolution will not be reattempted
> >>> > until the update interval of flex-mojos-internal-repository has
> >>> > elapsed or updates are forced
> >>> > [ERROR]
> >>> > [ERROR] org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-
> >>> > SNAPSHOT
> >>> > [ERROR]
> >>> > [ERROR] from the specified remote repositories:
> >>> > [ERROR] flex-mojos-repository (http://repository.sonatype.org/content/
> >>> > groups/flexgroup/, releases=true, snapshots=false),
> >>> > [ERROR] flex-mojos-internal-repository (
> >>>http://repository.sonatype.org/
> >>> > content/groups/public/, releases=true, snapshots=true),
> >>> > [ERROR] central (http://repo1.maven.org/maven2, releases=true,
> >>> > snapshots=false)
> >>> > [ERROR] -> [Help 1]
> >>> > [ERROR]
>
> >>> > I'm using Maven 3.0.1 on Linux with the settings.xml section from the
> >>> > build instructions named "flex-mojos-building" which I invoke thus:
>
> >>> > mvn -Pflex-mojos-building clean && mvn -Pflex-mojos-building -Pminimal
> >>> > install && mvn -Pflex-mojos-building clean install ; echo $?
>
> >>> > Only the last full 'install' invocation gives a problem, specifically
> >>> > during "Flexmojos Integration Tests".
> >>> > This happens regardless of whether or not using either of the Maven-
> >>> > standard test skipping defines. (probably irrelevant but thought I'd
> >>> > mention)
>
> >>> > All thoughts welcome!
> >>> > Thanks, R.
>
> >>> > On Dec 29 2010, 12:22 pm, Conrad Winchester
>
> >>> > <[email protected]> wrote:
> >>> > > Hi Marvin,
>
> >>> > > am making progress in getting the default profile build working on OS
> >>> X. I will be suggesting some patches shortly.
>
> >>> > > However I still can't get the build to complete.
>
> >>> > > I get the following error and have no idea why.
>
> >>> > > [INFO] Flexmojos Unit Test support - flexunit ............ SUCCESS
> >>> [1.329s]
> >>> > > [INFO] Flexmojos Unit Test support - flexunit 4 .......... SUCCESS
> >>> [2.379s]
> >>> > > [INFO] Flexmojos Unit Test support - fluint .............. SUCCESS
> >>> [2.224s]
> >>> > > [INFO] Flexmojos Unit Test support - funit ............... SUCCESS
> >>> [1.748s]
> >>> > > [INFO] Flexmojos Integration Tests ....................... FAILURE
> >>> [10.868s]
> >>> > > [INFO] Flexmojos Aggregator .............................. SKIPPED
> >>> > > [INFO]
> >>> ------------------------------------------------------------------------
> >>> > > [INFO] BUILD FAILURE
> >>> > > [INFO]
> >>> ------------------------------------------------------------------------
> >>> > > [INFO] Total time: 2:25.870s
> >>> > > [INFO] Finished at: Wed Dec 29 12:21:18 GMT 2010
> >>> > > [INFO] Final Memory: 82M/123M
> >>> > > [INFO]
> >>> ------------------------------------------------------------------------
> >>> > > [ERROR] Failed to execute goal
> >>> org.apache.maven.plugins:maven-invoker-plugin:1.6-SONATYPE-r940877:install
> >>> (default) on project flexmojos-test-harness: Unable to resolve 
> >>> dependencies
> >>> for: org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT:
> >>> Failure to find
> >>> org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT inhttp://
> >>> repository.sonatype.org/content/groups/public/wascached in the local
> >>> repository, resolution will not be reattempted until the update interval 
> >>> of
> >>> flex-mojos-internal-repository has elapsed or updates are forced
> >>>  > > [ERROR]
> >>> > > [ERROR]
> >>> org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT
> >>> > > [ERROR]
> >>> > > [ERROR] from the specified remote repositories:
> >>> > > [ERROR] maven-central (http://repo1.maven.org/maven2/,
> >>> releases=true, snapshots=false),
> >>> > > [ERROR] jboss (
> >>>http://repository.jboss.org/nexus/content/groups/public/, releases=true,
> >>> snapshots=false),
> >>> > > [ERROR] flex-mojos-repository (
> >>>http://repository.sonatype.org/content/groups/flexgroup/, releases=true,
> >>> snapshots=false),
> >>> > > [ERROR] flex-mojos-internal-repository (
> >>>http://repository.sonatype.org/content/groups/public/, releases=true,
> >>> snapshots=true),
> >>> > > [ERROR] central (http://repo1.maven.org/maven2, releases=true,
> >>> snapshots=false)
> >>> > > [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/MojoExecutionException
> >>> > > [ERROR]
> >>> > > [ERROR] After correcting the problems, you can resume the build with
> >>> the command
> >>> > > [ERROR]   mvn <goals> -rf :flexmojos-test-harness
>
> >>> > > I have attached a debug log for you to look at.
>
> >>> > > Any help would be gratefully appreciated,
>
> >>> > > Conrad
>
> >>> > > On 16 Dec 2010, at 10:44, Marvin Froeder wrote:
>
> >>> > > > I will move tattletale to an isolated execution....  it is only
> >>> needed to track some craziness related to adt.jar
>
> >>> > > > VELO
>
> >>> > > > On Thu, Dec 16, 2010 at 4:39 AM, Conrad Winchester <
> >>> [email protected]> wrote:
> >>> > > > Thank you Bryan
>
> >>> > > > that was just the help I needed. I added the following to my
> >>> settings.xml file
>
> >>> > > >                 <repository>
> >>> > > >                     <id>maven-central</id>
> >>> > > >                   <url>http://repo1.maven.org/maven2/</url>
> >>> > > >                     <releases>
> >>> > > >                       <enabled>true</enabled>
> >>> > > >                  </releases>
> >>> > > >                     <snapshots>
> >>> > > >                      <enabled>false</enabled>
> >>> > > >                     </snapshots>
> >>> > > >                 </repository>
> >>> > > >                <repository>
> >>> > > >                     <id>jboss</id>
> >>> > > >                     <url>
> >>>http://repository.jboss.org/nexus/content/groups/public/</url>
> >>> > > >                     <releases>
> >>> > > >                       <enabled>true</enabled>
> >>> > > >                  </releases>
> >>> > > >                     <snapshots>
> >>> > > >                      <enabled>false</enabled>
> >>> > > >                     </snapshots>
> >>> > > >                 </repository>
>
> >>> > > > and
>
> >>> > > >                 <pluginRepository>
> >>> > > >                     <id>jboss</id>
> >>> > > >                   <url>
> >>>http://repository.jboss.org/nexus/content/groups/public/</url>
> >>> > > >                     <releases>
> >>> > > >                       <enabled>true</enabled>
> >>> > > >                  </releases>
> >>> > > >                     <snapshots>
> >>> > > >                      <enabled>false</enabled>
> >>> > > >                     </snapshots>
> >>> > > >                 </pluginRepository>
>
> >>> > > > and now I can build. Fantastic, only took a couple of days :-)
>
> >>> > > > I also had to increase the heap memory of maven in order for
> >>> tattletale to run, so  my final command was
>
> >>> > > > export MAVEN_OPTS="-Xmx512m"
> >>> > > > mvn clean install -P minimal
>
> >>> > > > Should the docs athttps://
> >>> docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+s...changedto 
> >>> reflect this, so that other people don't have these issues? If so how
> >>> does one change them?
>
> >>> > > > Thanks again
>
> >>> > > > Conrad
>
> >>> > > > On 15 Dec 2010, at 20:44, Bryan Turner wrote:
>
> >>> > > >> Based on what I see for the tattletale plugin, though, it requires
> >>> org.jboss.tattletale:tattletale:1.1.1.Final, which is not in Central, or 
> >>> in
> >>> the FlexMojos repository (only has 1.1.0.Final). You'd have to proxy the
> >>> JBoss repository to get it. That's athttps://
> >>> repository.jboss.org/nexus/content/groups/public. (
> >>>https://repository.jboss.org/nexus/content/groups/public/org/jboss/ta..
> >>> .)
>
> >>> > > >> On Wed, Dec 15, 2010 at 12:38 PM, Bryan Turner <
> >>> [email protected]> wrote:
> >>> > > >> org.sonatype.plugins:tattletale-maven-plugin:1.0 is in Maven
> >>> Central (
> >>>http://repo1.maven.org/maven2/org/sonatype/plugins/tattletale-maven-p..
> >>> .)
>
> >>> > > >> Note that you'll need to use -U on the mvn command to force it to
> >>> recheck. As the error message
>
> ...
>
> 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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to