Groovy Eclipse Compiler wants to download all versions of Groovy ever

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Groovy Eclipse Compiler wants to download all versions of Groovy ever

Magnus Falk
Hi all,

I am using the Groovy Eclipse Compiler in my project and I have
noticed that every time I build the log is spammed like this:

[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.5-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.6-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.7-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for
org.codehaus.groovy:groovy:jar:1.6-beta-1-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for
org.codehaus.groovy:groovy:jar:1.6-beta-2-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-1-SNAPSHOT
is missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-2-SNAPSHOT
is missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.1-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.3-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.5-SNAPSHOT is
missing, no dependency information available
[WARNING] The POM for
org.codehaus.groovy:groovy:jar:1.7-beta-1-SNAPSHOT is missing, no
dependency information available
[WARNING] The POM for org.codehaus.groovy:groovy:jar:1.7-rc-2-SNAPSHOT
is missing, no dependency information available

It seems a bit strange since I only want to compile for 1.8.6 and
since it never succeeds in getting all these old versions it will try
every time I build, making the build take forever to complete. So I
asked on stackoverflow why that is and the reply was that the Groovy
Eclipse Compiler depends on a really large range of
groovy-eclipse-batch:

<dependency>
  <groupId>org.codehaus.groovy</groupId>
  <artifactId>groovy-eclipse-batch</artifactId>
  <version>[1.7.10-02,1.7.10-99],[1.8.2-01,1.9.0)</version>
</dependency>

Why is it made like this, and is there any way I can make the Groovy
Eclipse Compiler stop doing this?

Cheers,
Magnus

http://stackoverflow.com/questions/10796430/why-does-maven-want-to-download-all-versions-of-groovy

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy Eclipse Compiler wants to download all versions of Groovy ever

Andrew Eisenberg
This is a little odd to me.  I have never seen these messages before
and I would be surprised if they are coming from the
groovy-eclipse-compiler.  The dependency is on the
groovy-eclipse-batch artifact, which is difference from the groovy
artifact.  There is no plugin dependency to groovy.  So, these
messages must be being produced from some other dependency.

I am not a maven expert, but you could paste the plugins and the
dependencies sections of your pom (or all of it) here and I can take a
look.

On Tue, May 29, 2012 at 11:15 PM, Magnus Falk <[hidden email]> wrote:

> Hi all,
>
> I am using the Groovy Eclipse Compiler in my project and I have
> noticed that every time I build the log is spammed like this:
>
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.5-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.6-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.7-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for
> org.codehaus.groovy:groovy:jar:1.6-beta-1-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for
> org.codehaus.groovy:groovy:jar:1.6-beta-2-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-1-SNAPSHOT
> is missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-2-SNAPSHOT
> is missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.1-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.3-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.5-SNAPSHOT is
> missing, no dependency information available
> [WARNING] The POM for
> org.codehaus.groovy:groovy:jar:1.7-beta-1-SNAPSHOT is missing, no
> dependency information available
> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.7-rc-2-SNAPSHOT
> is missing, no dependency information available
>
> It seems a bit strange since I only want to compile for 1.8.6 and
> since it never succeeds in getting all these old versions it will try
> every time I build, making the build take forever to complete. So I
> asked on stackoverflow why that is and the reply was that the Groovy
> Eclipse Compiler depends on a really large range of
> groovy-eclipse-batch:
>
> <dependency>
>  <groupId>org.codehaus.groovy</groupId>
>  <artifactId>groovy-eclipse-batch</artifactId>
>  <version>[1.7.10-02,1.7.10-99],[1.8.2-01,1.9.0)</version>
> </dependency>
>
> Why is it made like this, and is there any way I can make the Groovy
> Eclipse Compiler stop doing this?
>
> Cheers,
> Magnus
>
> http://stackoverflow.com/questions/10796430/why-does-maven-want-to-download-all-versions-of-groovy
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy Eclipse Compiler wants to download all versions of Groovy ever

Magnus Falk
Sure:

<dependencies>
        <dependency>
                <groupId>org.codehaus.groovy</groupId>
                <artifactId>groovy-all</artifactId>
                <version>1.8.6</version>
        </dependency>
        <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.8.2</version>
                <scope>test</scope>
        </dependency>
        <dependency>
                <groupId>org.yaml</groupId>
                <artifactId>snakeyaml</artifactId>
                <version>1.10</version>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>org.jsoup</groupId>
                <artifactId>jsoup</artifactId>
                <version>1.6.1</version>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>org.codehaus.groovy.modules.http-builder</groupId>
                <artifactId>http-builder</artifactId>
                <version>0.5.2</version>
                <scope>compile</scope>
        </dependency>
        <dependency>
                <groupId>ch.qos.logback</groupId>
                <artifactId>logback-classic</artifactId>
                <version>1.0.3</version>
        </dependency>
</dependencies>

<build>
        <defaultGoal>install</defaultGoal>
        <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-compiler-plugin</artifactId>
                        <version>2.4</version>
                        <configuration>
                                <compilerId>groovy-eclipse-compiler</compilerId>
                                <verbose>true</verbose>
                        </configuration>
                        <dependencies>
                                <dependency>
                                        <groupId>org.codehaus.groovy</groupId>
                                        <artifactId>groovy-eclipse-compiler</artifactId>
                                        <version>2.6.0-01</version>
                                </dependency>
                        </dependencies>
                </plugin>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <version>2.12</version>
                        <!-- Using surfire provider, otherwise, TestNG will be the
                                 default provider for this project -->
                        <dependencies>
                                <dependency>
                                        <groupId>org.apache.maven.surefire</groupId>
                                        <artifactId>surefire-junit4</artifactId>
                                        <version>2.11</version>
                                </dependency>
                        </dependencies>
                </plugin>
        </plugins>
</build>

Cheers,
Magnus

On Thu, May 31, 2012 at 12:42 AM, Andrew Eisenberg <[hidden email]> wrote:

> This is a little odd to me.  I have never seen these messages before
> and I would be surprised if they are coming from the
> groovy-eclipse-compiler.  The dependency is on the
> groovy-eclipse-batch artifact, which is difference from the groovy
> artifact.  There is no plugin dependency to groovy.  So, these
> messages must be being produced from some other dependency.
>
> I am not a maven expert, but you could paste the plugins and the
> dependencies sections of your pom (or all of it) here and I can take a
> look.
>
> On Tue, May 29, 2012 at 11:15 PM, Magnus Falk <[hidden email]> wrote:
>> Hi all,
>>
>> I am using the Groovy Eclipse Compiler in my project and I have
>> noticed that every time I build the log is spammed like this:
>>
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.5-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.6-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.7-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for
>> org.codehaus.groovy:groovy:jar:1.6-beta-1-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for
>> org.codehaus.groovy:groovy:jar:1.6-beta-2-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-1-SNAPSHOT
>> is missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-2-SNAPSHOT
>> is missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.1-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.3-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.5-SNAPSHOT is
>> missing, no dependency information available
>> [WARNING] The POM for
>> org.codehaus.groovy:groovy:jar:1.7-beta-1-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.7-rc-2-SNAPSHOT
>> is missing, no dependency information available
>>
>> It seems a bit strange since I only want to compile for 1.8.6 and
>> since it never succeeds in getting all these old versions it will try
>> every time I build, making the build take forever to complete. So I
>> asked on stackoverflow why that is and the reply was that the Groovy
>> Eclipse Compiler depends on a really large range of
>> groovy-eclipse-batch:
>>
>> <dependency>
>>  <groupId>org.codehaus.groovy</groupId>
>>  <artifactId>groovy-eclipse-batch</artifactId>
>>  <version>[1.7.10-02,1.7.10-99],[1.8.2-01,1.9.0)</version>
>> </dependency>
>>
>> Why is it made like this, and is there any way I can make the Groovy
>> Eclipse Compiler stop doing this?
>>
>> Cheers,
>> Magnus
>>
>> http://stackoverflow.com/questions/10796430/why-does-maven-want-to-download-all-versions-of-groovy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Groovy Eclipse Compiler wants to download all versions of Groovy ever

Andrew Eisenberg
I think the problem is coming from http-builder, which has a
dependency range that explains the log messages you are seeing:
http://search.maven.org/remotecontent?filepath=org/codehaus/groovy/modules/http-builder/http-builder/0.5.2/http-builder-0.5.2.pom

I'm not sure the best way around this.  Perhaps you can ask on the
groovy-users list or the maven-users list.



On Thu, May 31, 2012 at 12:17 AM, Magnus Falk <[hidden email]> wrote:

> Sure:
>
> <dependencies>
>        <dependency>
>                <groupId>org.codehaus.groovy</groupId>
>                <artifactId>groovy-all</artifactId>
>                <version>1.8.6</version>
>        </dependency>
>        <dependency>
>                <groupId>junit</groupId>
>                <artifactId>junit</artifactId>
>                <version>4.8.2</version>
>                <scope>test</scope>
>        </dependency>
>        <dependency>
>                <groupId>org.yaml</groupId>
>                <artifactId>snakeyaml</artifactId>
>                <version>1.10</version>
>                <scope>compile</scope>
>        </dependency>
>        <dependency>
>                <groupId>org.jsoup</groupId>
>                <artifactId>jsoup</artifactId>
>                <version>1.6.1</version>
>                <scope>compile</scope>
>        </dependency>
>        <dependency>
>                <groupId>org.codehaus.groovy.modules.http-builder</groupId>
>                <artifactId>http-builder</artifactId>
>                <version>0.5.2</version>
>                <scope>compile</scope>
>        </dependency>
>        <dependency>
>                <groupId>ch.qos.logback</groupId>
>                <artifactId>logback-classic</artifactId>
>                <version>1.0.3</version>
>        </dependency>
> </dependencies>
>
> <build>
>        <defaultGoal>install</defaultGoal>
>        <plugins>
>                <plugin>
>                        <groupId>org.apache.maven.plugins</groupId>
>                        <artifactId>maven-compiler-plugin</artifactId>
>                        <version>2.4</version>
>                        <configuration>
>                                <compilerId>groovy-eclipse-compiler</compilerId>
>                                <verbose>true</verbose>
>                        </configuration>
>                        <dependencies>
>                                <dependency>
>                                        <groupId>org.codehaus.groovy</groupId>
>                                        <artifactId>groovy-eclipse-compiler</artifactId>
>                                        <version>2.6.0-01</version>
>                                </dependency>
>                        </dependencies>
>                </plugin>
>                <plugin>
>                        <groupId>org.apache.maven.plugins</groupId>
>                        <artifactId>maven-surefire-plugin</artifactId>
>                        <version>2.12</version>
>                        <!-- Using surfire provider, otherwise, TestNG will be the
>                                 default provider for this project -->
>                        <dependencies>
>                                <dependency>
>                                        <groupId>org.apache.maven.surefire</groupId>
>                                        <artifactId>surefire-junit4</artifactId>
>                                        <version>2.11</version>
>                                </dependency>
>                        </dependencies>
>                </plugin>
>        </plugins>
> </build>
>
> Cheers,
> Magnus
>
> On Thu, May 31, 2012 at 12:42 AM, Andrew Eisenberg <[hidden email]> wrote:
>> This is a little odd to me.  I have never seen these messages before
>> and I would be surprised if they are coming from the
>> groovy-eclipse-compiler.  The dependency is on the
>> groovy-eclipse-batch artifact, which is difference from the groovy
>> artifact.  There is no plugin dependency to groovy.  So, these
>> messages must be being produced from some other dependency.
>>
>> I am not a maven expert, but you could paste the plugins and the
>> dependencies sections of your pom (or all of it) here and I can take a
>> look.
>>
>> On Tue, May 29, 2012 at 11:15 PM, Magnus Falk <[hidden email]> wrote:
>>> Hi all,
>>>
>>> I am using the Groovy Eclipse Compiler in my project and I have
>>> noticed that every time I build the log is spammed like this:
>>>
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.5-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.6-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.5.7-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for
>>> org.codehaus.groovy:groovy:jar:1.6-beta-1-SNAPSHOT is missing, no
>>> dependency information available
>>> [WARNING] The POM for
>>> org.codehaus.groovy:groovy:jar:1.6-beta-2-SNAPSHOT is missing, no
>>> dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-1-SNAPSHOT
>>> is missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6-RC-2-SNAPSHOT
>>> is missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.1-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.3-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.6.5-SNAPSHOT is
>>> missing, no dependency information available
>>> [WARNING] The POM for
>>> org.codehaus.groovy:groovy:jar:1.7-beta-1-SNAPSHOT is missing, no
>>> dependency information available
>>> [WARNING] The POM for org.codehaus.groovy:groovy:jar:1.7-rc-2-SNAPSHOT
>>> is missing, no dependency information available
>>>
>>> It seems a bit strange since I only want to compile for 1.8.6 and
>>> since it never succeeds in getting all these old versions it will try
>>> every time I build, making the build take forever to complete. So I
>>> asked on stackoverflow why that is and the reply was that the Groovy
>>> Eclipse Compiler depends on a really large range of
>>> groovy-eclipse-batch:
>>>
>>> <dependency>
>>>  <groupId>org.codehaus.groovy</groupId>
>>>  <artifactId>groovy-eclipse-batch</artifactId>
>>>  <version>[1.7.10-02,1.7.10-99],[1.8.2-01,1.9.0)</version>
>>> </dependency>
>>>
>>> Why is it made like this, and is there any way I can make the Groovy
>>> Eclipse Compiler stop doing this?
>>>
>>> Cheers,
>>> Magnus
>>>
>>> http://stackoverflow.com/questions/10796430/why-does-maven-want-to-download-all-versions-of-groovy
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email