Well, indeed there was some miss configuration on the todolist project,
which I fixed on 4.x branch.

Although I got some errors, I did not get whatever you saw!


VELO

On Sun, Aug 15, 2010 at 11:40 PM, Rupert <[email protected]> wrote:

> p.s. In case relevant, here're the contents of my $HOME\.m2\repository
> \info\rvin\itest
> ====
> \---l10n-lib
>     |   maven-metadata-local.xml
>    |
>    \---1.0-SNAPSHOT
>            l10n-lib-1.0-SNAPSHOT.pom
>             l10n-lib-1.0-SNAPSHOT.rb.swc.lastUpdated
>             l10n-lib-1.0-SNAPSHOT.swc
>            l10n-lib-1.0-SNAPSHOT.swf
>            maven-metadata-local.xml
> ====
>
> On Aug 16, 3:35 am, Rupert <[email protected]> wrote:
> > First up, thanks for the speedy response!  (I've seen you get that a
> > lot :-) )
> >
> > Ahhh... Well, I looked athttp://
> repository.sonatype.org/content/groups/flexgroup/org/sonatype/...
> > and saw that <latest> and <release> were both "4.0-pre-alpha-1" so
> > concluded that was the best one to go for!
> >
> > Since my post, I've just been trying "4.0-SNAPSHOT" instead for
> > completely different errors!  I've now tried "4.0-alpha-4" and see the
> > same errors which I've excerpted below.  I can post the full file if
> > it'd help.
> > Thanks in advance!
> > Rupert.
> >
> > ====
> > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib:
> > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib
> > \1.0-SNAPSHOT\maven-metadata-forge.xml) from repository forge (http://
> > repository.sonatype.org/content/groups/flexgroup) in favor of local
> > copy
> > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib:
> > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib
> > \1.0-SNAPSHOT\maven-metadata-flexmojos-repository.xml) from disabled
> > repository flexmojos-repository (http://repository.sonatype.org/
> > content/groups/flexgroup/)
> > [DEBUG] Skipping update check for snapshot info.rvin.itest:l10n-lib:
> > 1.0-SNAPSHOT (C:\Users\MyUser\.m2\repository\info\rvin\itest\l10n-lib
> > \1.0-SNAPSHOT\maven-metadata-central.xml) from disabled repository
> > central (http://repo1.maven.org/maven2)
> > [DEBUG] l10n-lib: using locally installed snapshot
> > [DEBUG] Determining update check for info.rvin.itest:l10n-lib:rb.swc:
> > 1.0-SNAPSHOT:compile (C:\Users\MyUser\.m2\repository\info\rvin\itest
> > \l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0-SNAPSHOT.rb.swc) from forge
> > (http://repository.sonatype.org/content/groups/flexgroup)
> > [DEBUG] Searching forhttp://
> repository.sonatype.org/content/groups/flexgroup
> > in resolution tracking file.
> > [DEBUG] Reading resolution-state from: C:\Users\MyUser\.m2\repository
> > \info\rvin\itest\l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0-
> > SNAPSHOT.rb.swc.lastUpdated
> > [DEBUG] Reading resolution-state from: C:\Users\MyUser\.m2\repository
> > \info\rvin\itest\l10n-lib\1.0-SNAPSHOT\l10n-lib-1.0-
> > SNAPSHOT.rb.swc.lastUpdated
> > [DEBUG] Unable to find artifact info.rvin.itest:l10n-lib:rb.swc:1.0-
> > SNAPSHOT in repository forge (http://repository.sonatype.org/content/
> > groups/flexgroup)
> > org.apache.maven.wagon.ResourceDoesNotExistException: Failure to
> > resolve info/rvin/itest/l10n-lib/1.0-SNAPSHOT/l10n-lib-1.0-
> > SNAPSHOT.rb.swc fromhttp://
> repository.sonatype.org/content/groups/flexgroup
> > was cached in the local repository. Resolution will not be reattempted
> > until the update interval of forge has elapsed or updates are forced.
> >         at
> >
> org.apache.maven.repository.legacy.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
> > 132)
> >         at
> >
> org.apache.maven.repository.legacy.DefaultWagonManager.getArtifact(DefaultWagonManager.java:
> > 150)
> >         at
> >
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:
> > 251)
> >         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.access
> > $000(DefaultArtifactResolver.java:73)
> >         at org.apache.maven.artifact.resolver.DefaultArtifactResolver
> > $ResolveTask.run(DefaultArtifactResolver.java:689)
> >         at java.util.concurrent.ThreadPoolExecutor
> > $Worker.runTask(ThreadPoolExecutor.java:886)
> >         at java.util.concurrent.ThreadPoolExecutor
> > $Worker.run(ThreadPoolExecutor.java:908)
> >         at java.lang.Thread.run(Thread.java:619)
> > [DEBUG] Skipping disabled repository flexmojos-repository for
> > resolution of info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT
> > [DEBUG] Skipping disabled repository central for resolution of
> > info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] l10n-lib .......................................... SUCCESS
> > [7.503s]
> > [INFO] l10n-app .......................................... FAILURE
> > [1.632s]
> > [INFO] l10n-swc-swf ...................................... SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 10.350s
> > [INFO] Finished at: Mon Aug 16 03:21:42 BST 2010
> > [INFO] Final Memory: 9M/58M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal on project l10n-app: Missing:
> > ----------
> > 1) info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=info.rvin.itest -
> > DartifactId=l10n-lib -Dversion=1.0-SNAPSHOT -Dpackaging=rb.swc -Dfile=/
> > path/to/file
> >
> >   Alternatively, if you host your own repository you can deploy the
> > file there:
> >       mvn deploy:deploy-file -DgroupId=info.rvin.itest -
> > DartifactId=l10n-lib -Dversion=1.0-SNAPSHOT -Dpackaging=rb.swc -Dfile=/
> > path/to/file -Durl=[url] -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1) info.rvin.itest:l10n-app:pom:1.0-SNAPSHOT
> >         2) info.rvin.itest:l10n-lib:rb.swc:1.0-SNAPSHOT
> >
> > ----------
> > 1 required artifact is missing.
> >
> > for artifact:
> >   info.rvin.itest:l10n-app:pom:1.0-SNAPSHOT
> >
> > from the specified remote repositories:
> >   forge (http://repository.sonatype.org/content/groups/flexgroup,
> > releases=true, snapshots=true),
> >   flexmojos-repository (http://repository.sonatype.org/content/groups/
> > flexgroup/, releases=true, snapshots=false),
> >   central (http://repo1.maven.org/maven2, releases=true,
> > snapshots=false)
> > -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute goal on project l10n-app: Missing:
> > ====
> >
> > On Aug 16, 2:50 am, Marvin Froeder <[email protected]> wrote:
> >
> > > Quick question... why don't you use any of the alphas instead this old
> > > pre-alpha? 4.0-alpha-4 should be fine.
> >
> > > Sent from DROID
> >
> > > Em 15/08/2010 22:43, "Rupert" <[email protected]>escreveu:
> >
> > > Hi,
> >
> > > Short version:
> >
> > > Two questions:
> > > A: After working-around lots of other errors, I see...
> > > [ERROR] Unable to resolve resource bundle "text" for locale "en_US".
> > > ... in "l10n-swc-swf" and "todolist" but can't seem to solve!
> >
> > > B: What am I doing wrong that I've seen so many problems (see below)
> >
> > > Details:
> >
> > > Firstly, thanks for the great FlexMojos plugin!  Despite my having
> > > problems, my project's highly likely to adopt once we can get past
> > > these problems.  We look forward to use and, when we're better
> > > acquainted, perhaps helping out.  So, niceties done and on to the
> > > pleading for help ;-)
> >
> > > In preparation of switching our multi- Flex-Modules and SWCs and RSLs
> > > AIR Flex4 project over to using FlexMojos, I thought I'd start with
> > > the 'todolist' project.  I had some problems which I managed to
> > > workaround (see below) then hit a resource-bundle one (see (8) below)
> > > that I couldn't side-step.  Checking the forum, I found reference to
> > > "l10n-swc-swf" so I tried that and saw many of the same problems.
> > > I've spent several hours trying to solve so figure its time to ask my
> > > two big questions:
> > >  A: How to solve the resource bundle error
> > >  B: What am I doing wrong that I've seen so many problems at all !?
> >
> > > For specificity, the projects I referred to above I checked-out with
> > > SVN from:
> > >  http://svn.sonatype.org/flexmojos/trunk/flexmojos-touchstone/todolist
> >
> > >http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t.
> ..
> > > I've documented the 'l10n' problems since it's a simpler project.  The
> > > differences between problems experienced are:
> >
> > > * 'todolist' has an extra "<scope>rsl</scope>" problem -- I had to
> > > remove it to get 'todolist' to find ITodoService and TodoItem symbols.
> > > * 'l10n' has the "flexmojos-flex-super-pom" complaint (see (5) below)
> > > which I'm not sure what to do about.
> >
> > > Here are a reasonable list of my steps including things I've tried to
> > > workaround problems:
> >
> > >   1. Installed Maven 3.0-beta-1 (the most recent, at FlexMojos
> > > request for a 3 alpha something?)
> > >   2. svn cohttp://
> svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t...
> > >   3. I added what the readme advised adding to my $HOME/.m2/
> > > settings.xml
> > >   4. "mvn -X clean install" and get failures due to "%
> > > {flexmojos.version}" appearing in the "lib" and "app" "pom.xml" as
> > > follows:
> >
> > >          <parent>
> > >              <groupId>org.sonatype.flexmojos</groupId>
> > >              <artifactId>flexmojos-flex-super-pom</artifactId>
> > >              <version>%{flexmojos.version}</version>
> > >          </parent>
> >
> > >   5. I replaced these (both projects) with "4.0-pre-alpha-1" and now
> > > I can build "lib", albeit with a warning:
> >
> > >      [WARNING] Some problems were encountered while building the
> > > effective model for info.rvin.itest:l10n-lib:swc:1.0-SNAPSHOT
> > >      [WARNING] 'parent.relativePath' of POM info.rvin.itest:l10n-lib:
> > > 1.0-SNAPSHOT (C:\Users\Arkade\Dev\FlexMojoTest\l10n-swc-swf\lib
> > > \pom.xml) points at info.rvin.itest:l10n-swc-swf instead of
> > > org.sonatype.flexmojos:flexmojos-flex-super-pom, please verify your
> > > project structure @
> > >      [WARNING]
> > >      [WARNING] It is highly recommended to fix these problems because
> > > they threaten the stability of your build.
> > >      [WARNING]
> > >      [WARNING] For this reason, future Maven versions might no longer
> > > support building such malformed projects
> >
> > >   6. "app" fails with:
> >
> > >      [WARNING] C:\Users\MyUser\.m2\repository\com\adobe\flex\framework
> > > \framework\4.0.0.13875\framework-4.0.0.13875.swc$defaults.css:[245,-1]
> > > The style 'backgroundColor' is only supported by type
> > > 'mx.core.Application' with the theme(s) 'halo, spark'.
> > >      [WARNING] C:\Users\MyUser\.m2\repository\com\adobe\flex\framework
> > > \framework\4.0.0.13875\framework-4.0.0.13875.swc$defaults.css:[487,-1]
> > > The
> >
> > ...
> >
> > 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