Set the groupId of the plugin:
<groupId>com.servprise.maven.plugins</groupId>
Their instructions seem odd to me (creating a dependency instead of
setting the version and group in the plugin tag). Give this a try
instead of using a <dependency>:
<plugin>
<artifactId>maven-jython-plugin</artifactId>
<groupId>com.servprise.maven.plugins</groupId>
<version>0.3</version>
<executions>
<execution>
<id>compile</id>
<configuration>
<jythonHome>C:\jython2.2.1</jythonHome>
</configuration>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
On Tue, Sep 30, 2008 at 6:25 AM, miata <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm new user of maven and I want use the jython plugin but I have a problem
> at compilation... This is the error :
> The plugin 'org.apache.maven.plugins:maven-jython-plugin' does not exist or
> no valid version could be found
>
> It's use in a new project and his configuration pom is very simple :
> <plugins>
> <plugin>
> <artifactId>maven-jython-plugin</artifactId>
> <executions>
> <execution>
> <id>compile</id>
> <configuration>
> <jythonHome>C:\jython2.2.1</jythonHome>
> </configuration>
> <goals>
> <goal>compile</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> <repositories>
> <repository>
> <id>Servprise Repository</id>
> <url>http://dev.servprise.com/maven-repository</url>
> </repository>
> </repositories>
> <dependencies>
> <!-- JYTHON -->
> <dependency>
> <groupId>com.servprise.maven.plugins</groupId>
> <artifactId>maven-jython-plugin</artifactId>
> <version>0.3</version>
> <scope>compile</scope>
> </dependency>
> </dependencies>
>
> My m2Repository have the plugin, the version is good and the plugin has been
> add into the project...
> I don't understand this problem compilation, if someone has an idea to
> resolve ???
>
> thanks
> --
> View this message in context:
> http://www.nabble.com/Build-error-with-jython-plugin-%21%21---tp19741002p19741002.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]