You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey De Smet <ge...@gmail.com> on 2006/08/17 09:10:43 UTC

Can the latest released maven-idea-plugin handle [1.5,) like dependencies?

I've checked out the latest mojo webstart plugin and a "mvn install" 
works fine. However when I do a "mvn idea:idea" it says successful but 
it talking about failures for the dependency resolution on artifacts 
which have version like [1.5,). The resulting idea files don't work.
Does the idea plugin support using such dependencies?

Here's my output for the pack200 module of the webstart plugin:

$ mvn -U idea:idea
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'idea'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-idea-plugin: checking for 
updates from central
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Pack200
[INFO]    task-segment: [idea:idea]
[INFO] 
----------------------------------------------------------------------------
[INFO] Preparing idea:idea
[INFO] No goals needed for project - skipping
[INFO] [idea:idea]
Downloading: http://repository.codehaus.org/ant/ant/[1.5,)/ant-[1.5,).pom
[WARNING] Unable to get resource from repository codehaus.org 
(http://repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/ant/ant/[1.5,)/ant-[1.5,).pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: http://repository.codehaus.org/ant/ant/[1.5,)/ant-[1.5,).jar
[WARNING] Unable to get resource from repository codehaus.org 
(http://repository.codehaus.org)
Downloading: http://repo1.maven.org/maven2/ant/ant/[1.5,)/ant-[1.5,).jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[WARNING] An error occurred during dependency resolution of the 
following artifact:

     org.codehaus.mojo.webstart-maven-plugin:pack200-anttasks1.0-SNAPSHOT

Caused by: Missing:
----------
1) ant:ant:jar:[1.5,)

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=ant -DartifactId=ant \
           -Dversion=[1.5,) -Dpackaging=jar -Dfile=/path/to/file

   Path to dependency:
         1) 
org.codehaus.mojo.webstart-maven-plugin:pack200-anttasks:jar:1.0-SNAPSHOT
         2) ant:ant:jar:[1.5,)

----------
1 required artifact is missing.

for artifact:
   org.codehaus.mojo.webstart-maven-plugin:pack200-anttasks:jar:1.0-SNAPSHOT

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



-- 
With kind regards,
Geoffrey De Smet


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