My guess is that it's something in my main pom that wrong because it
actually goes through and builds  the modules fine but errors out in
the last step

[INFO] Building Unnamed - com.wbpp-flex:merged-modular:pom:1.0-
SNAPSHOT

Here's my pom:

<modelVersion>4.0.0</modelVersion>
        <groupId>com.wbpp-flex</groupId>
        <artifactId>merged-modular</artifactId>
        <version>1.0-SNAPSHOT</version>
        <packaging>pom</packaging>
        <modules>
                <module>modules/AppContainer</module>
                <module>modules/Dashboard</module>
                <module>modules/Styles_en_US</module>
        </modules>


On Dec 22, 6:40 pm, Adydas <[email protected]> wrote:
> Hrrrmmmm is there a way to find out where those dependencies are
> coming from? They are not in any of my POM's.
>
> On Dec 22, 4:05 pm, "Marvin Froeder" <[email protected]> wrote:
>
> > AFIK, flex-mojos doesn't use jetty or doxia, so I guess is something related
> > to your project.
>
> > Did you try to run my sample?
>
> > Does it worked?
>
> > VELO
>
> > On Mon, Dec 22, 2008 at 7:48 PM, Adydas <[email protected]> wrote:
>
> > > Thanks for the help. I created subprojects withmy modules and pointed
> > > my main pom to them and it seems to be working fine up until the end
> > > when I get some errors with missing artifacts. Also, it keeps looking
> > > for the locales in the modules folder, i had to hard code the path to
> > > the locales
>
> > > modules are in main/modules/module
> > > locales are in main/locale/{locale}
>
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Failed to resolve artifact.
>
> > > Missing:
> > > ----------
> > > 1) org.apache.maven.doxia:doxia-module-xhtml:jar:1.0-alpha-10
>
> > >  Try downloading the file manually from the project website.
>
> > >  Then, install it using the command:
> > >      mvn install:install-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-module-xhtml -Dversion=1.0-alpha-10 -Dpackaging=jar -
> > > Dfile=/path/to/file
>
> > >  Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >      mvn deploy:deploy-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-module-xhtml -Dversion=1.0-alpha-10 -Dpackaging=jar -
> > > Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> > >  Path to dependency:
> > >        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-
> > > beta-6
> > >        2) org.apache.maven.doxia:doxia-module-xhtml:jar:1.0-alpha-10
>
> > > 2) org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-10
>
> > >  Try downloading the file manually from the project website.
>
> > >  Then, install it using the command:
> > >      mvn install:install-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-decoration-model -Dversion=1.0-alpha-10 -
> > > Dpackaging=jar -Dfile=/path/to/file
>
> > >  Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >      mvn deploy:deploy-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-decoration-model -Dversion=1.0-alpha-10 -
> > > Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> > >  Path to dependency:
> > >        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-
> > > beta-6
> > >        2) org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-10
>
> > > 3) org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-10
>
> > >  Try downloading the file manually from the project website.
>
> > >  Then, install it using the command:
> > >      mvn install:install-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-site-renderer -Dversion=1.0-alpha-10 -Dpackaging=jar
> > > -Dfile=/path/to/file
>
> > >  Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >      mvn deploy:deploy-file -DgroupId=org.apache.maven.doxia -
> > > DartifactId=doxia-site-renderer -Dversion=1.0-alpha-10 -Dpackaging=jar
> > > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> > >  Path to dependency:
> > >        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-
> > > beta-6
> > >        2) org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-10
>
> > > 4) org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
>
> > >  Try downloading the file manually from the project website.
>
> > >  Then, install it using the command:
> > >      mvn install:install-file -DgroupId=org.codehaus.plexus -
> > > DartifactId=plexus-i18n -Dversion=1.0-beta-7 -Dpackaging=jar -Dfile=/
> > > path/to/file
>
> > >  Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >      mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -
> > > DartifactId=plexus-i18n -Dversion=1.0-beta-7 -Dpackaging=jar -Dfile=/
> > > path/to/file -Durl=[url] -DrepositoryId=[id]
>
> > >  Path to dependency:
> > >        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-
> > > beta-6
> > >        2) org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7
>
> > > 5) org.mortbay.jetty:jetty:jar:6.1.5
>
> > >  Try downloading the file manually from the project website.
>
> > >  Then, install it using the command:
> > >      mvn install:install-file -DgroupId=org.mortbay.jetty -
> > > DartifactId=jetty -Dversion=6.1.5 -Dpackaging=jar -Dfile=/path/to/file
>
> > >  Alternatively, if you host your own repository you can deploy the
> > > file there:
> > >      mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -
> > > DartifactId=jetty -Dversion=6.1.5 -Dpackaging=jar -Dfile=/path/to/file
> > > -Durl=[url] -DrepositoryId=[id]
>
> > >  Path to dependency:
> > >        1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-
> > > beta-6
> > >        2) org.mortbay.jetty:jetty:jar:6.1.5
>
> > > ----------
> > > 5 required artifacts are missing.
>
> > > for artifact:
> > >  org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-6
>
> > > from the specified remote repositories:
> > >  apache.snapshots (http://people.apache.org/repo/m2-snapshot-
> > > repository),
> > >  flex-mojos-repository (http://svn.sonatype.org/flexmojos/
> > > repository/ <http://svn.sonatype.org/flexmojos/repository/>),
> > >  central (http://repo1.maven.org/maven2)
>
> > > On Dec 20, 6:59 am, "Marvin Froeder" <[email protected]> wrote:
> > > > And I wrote a blog post about it.
> > >http://blog.flex-mojos.info/2008/12/20/multiple-swf-from-same-sources/
>
> > > > VELO
>
> > > > On Sat, Dec 20, 2008 at 10:35 AM, Marvin Froeder <[email protected]>
> > > wrote:
> > > > > Hi,
>
> > > > > There is a sample about how to do that here:
>
> > > > >http://groups.google.com/group/flex-mojos/browse_thread/thread/de7ef6.
> > > ..
>
> > > > > VELO
>
> > > > > On Sat, Dec 20, 2008 at 1:43 AM, Adydas <[email protected]> wrote:
>
> > > > >> Hi everyone,
>
> > > > >> How does one go about compiling multiple source files. I tried 
> > > > >> putting
> > > > >> multiple sourcefiles in my configuration but that doesnt seem to 
> > > > >> work.
>
> > > > >>                           <configuration>
>
> > > > >>  <!--<configFile>src/flex-config.xml</configFile>-->
>
> > > > >>  <sourceFile>AppContainer.mxml</sourceFile>
>
> > > > >>  <!--<sourceFile>DashBoard.mxml</sourceFile>--
>
> > >  <!--<sourceFile>en_US_styles.css</
> > > > >> sourceFile>-->
> > > > >>                                <useNetwork>false</useNetwork>
> > > > >>                                <licenses>
> > > > >>                                        <flexbuilder3>nnnn-nnnn-nnnn-
> > > > >> nnnn-nnnn-nnnn</flexbuilder3>
> > > > >>                                </licenses>
> > > > >>                                 <locales>
>
> > > > >>  <param>en_US</param>
>
> > > > >>  <param>ch_CH</param>
>
> > > > >>  <param>sp_SP</param>
>
> > >  </locales>
>
> > > > >>  <mergeResources>true</mergeResources>
>
> > > > >>  <mergeResourceBundle>true</mergeResourceBundle>
>
> > > > >>  <resourceBundlePath>${basedir}/locale/{locale}</
> > > > >> resourceBundlePath>
> > > > >>                        </configuration>
--~--~---------~--~----~------------~-------~--~----~
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