You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by miata <ma...@gmail.com> on 2008/09/30 14:25:37 UTC

Build error with jython plugin !!??

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build error with jython plugin !!??

Posted by miata <ma...@gmail.com>.
It's works !!!
Thank you very much :drunk:


Andrew Robinson-5 wrote:
> 
> 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 <ma...@gmail.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-error-with-jython-plugin-%21%21---tp19741002p19745409.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build error with jython plugin !!??

Posted by Andrew Robinson <an...@gmail.com>.
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 <ma...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org