Great thanks. But, ... I can't get 3,0 to work :-(

I try to inherit from the 3.0.0 super pom, like this:

  <parent>
    <groupId>org.sonatype.flexmojos</groupId>
    <artifactId>flexmojos-super-poms</artifactId>
    <version>3.0.0</version>
  </parent>

  <groupId>xxx</groupId>
  <artifactId>yyy</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>swf</packaging>

and it says:

---
[INFO] Cannot find lifecycle mapping for packaging: 'swf'.
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingswf.
---

How come that?

I suspect I am doing something wrong in the pom. So, I tried
generating a pom from the flex-mojos archetype, using this line from
the wiki:

  mvn archetype:generate -DarchetypeGroupId=org.sonatype.flexmojos -
DarchetypeArtifactId=flexmojos-archetypes-application -
DarchetypeVersion=3.0

but that also fails, this time with "Error parsing archetype catalog"
and this stacktrace:

INFO] [archetype:generate]
[INFO] Generating project in Interactive mode
[WARNING] Error reading archetype catalog http://repo1.maven.org/maven2
org.apache.maven.archetype.source.ArchetypeDataSourceException: Error
parsing archetype catalog.
        at
org.apache.maven.archetype.source.CatalogArchetypeDataSource.readCatalog
(CatalogArchetypeDataSource.java:202)
        at
org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.getArchetypeCatalog
(RemoteCatalogArchetypeDataSource.java:91)
        ......
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'html' (position: START_TAG seen <html>... @1:6)
        at
org.apache.maven.archetype.catalog.io.xpp3.ArchetypeCatalogXpp3Reader.parseArchetypeCatalog
(ArchetypeCatalogXpp3Reader.java:529)
        ........

What am I doing wrong in my usage of v3.0.0 of the flexmojos plugin?



On Mar 28, 1:42 pm, Vincent Vandenschrick <[email protected]> wrote:
> > I see no 3.0.0 
> > inhttp://svn.sonatype.org/flexmojos/repository/info/flex-mojos/flex-com...
>
> > Am I looking the wrong place?
>
> The 3.0 + releases are hosted in a new repo 
> :http://repository.sonatype.org/content/groups/public/
>
> The plugin name has also changed (only one plugin, multiple goals) :
>
>         <groupId>org.sonatype.flexmojos</groupId>
>         <artifactId>flexmojos-maven-plugin</artifactId>
>
> Vincent
>
> --
> Vincent Vandenschrick
>  Jspresso Project Leader
>  http://www.jspresso.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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to