Hi Cristian,

The pom.xml below is a copy-paste of the example on your site, it also uses version '1.0-SNAPSHOT' and after reading your reply I realized that this should be '1.0-alpha-2' instead. Maybe you should modify the examples on your site or point out it needs to be changed to the most recent version..

cheers,

Thijs

Op 8-feb-2007, om 22:03 heeft Christian Gruber het volgende geschreven:

Only versions 1.0-alpha-1 and 1.0-alpha-2 have been published. The snapshots are not published at present. I am currently on a two week trip away, and will be publishing further changes when I return, which will be available within a few hours of their publishing on ibiblio.

In the mean-time, please feel free to e-mail me with comments, thoughts, missing features, problems, etc.

Regards,
Christian Gruber


On 2/6/07 12:47 AM, "Thijs Triemstra | Collab" <[EMAIL PROTECTED]> wrote:





I created a new project with maven and edited the pom.xml so it looks
like this:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://
maven.apache.org/maven-v4_0_0.xsd">
 <modelVersion>4.0.0</modelVersion>
 <groupId>nl.collab.flex.maven</groupId>
 <artifactId>flex-maven-test</artifactId>
 <packaging>swf</packaging>
 <version>1.0-SNAPSHOT</version>
 <properties>
 <flex.home>/Developer/SDKs/Flex</flex.home>
 </properties>
 <build>
 <plugins>
 <plugin>
 <groupId>net.israfil.mojo</groupId>
 <artifactId>maven-flex2-plugin</artifactId>
 <version>1.0-SNAPSHOT</version>
 <extensions>true</extensions>
 <configuration>
 <flexHome>${flex.home}</flexHome>
 <useNetwork>true</useNetwork>
 <dataServicesConfig>src/main/resources/services-config.xml</
dataServicesConfig>
 <main>main.mxml</main>
 </configuration>
 </plugin>
 </plugins>
 </build>
 <dependencies>
 <dependency>
 <groupId>junit</groupId>
 <artifactId>junit</artifactId>
 <version>3.8.1</version>
 <scope>test</scope>
 </dependency>
 </dependencies>
</project>

And when I try 'mvn compile' I get the error below. Is the plugin
going to be available in the main repository (central)? How do I get
the plugin to work?

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: net.israfil.mojo
ArtifactId: maven-flex2-plugin
Version: 1.0-SNAPSHOT

Reason: Unable to download the artifact from any repository

net.israfil.mojo:maven-flex2-plugin:pom:1.0-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)

[INFO]
----------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Feb 05 23:40:52 CET 2007
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------

Thanks,

Thijs





Reply via email to