Re: IDEA plugin up-to-date?

2006-08-20 Thread Clifton Craig
Wendy,

Almost but not quite. I tried your commands and now it looks like I'm missing 
something else. This is feeling more and more like the RPM dependency hell 
that drove me to Debian based systems. Here's my most recent error:
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven
ArtifactId: maven-parent
Version: 4-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven:maven-parent:pom:4-SNAPSHOT

Is there a quick and easy appraoch to installing things from the svn repo that 
doesn't involve a lot of futzing on the command line and figuring out what 
depends on who or which gets installed where? Am I missing something here?

- 
Clifton C. Craig, Software Engineer
Tell me what's up...
visit: http://codeforfun.wordpress.com
[EMAIL PROTECTED]

On Friday 18 August 2006 12:08 pm, Wendy Smoak wrote:
 On 8/18/06, Clifton Craig [EMAIL PROTECTED] wrote:
  Ok, I got the latest idea plugin checked out from svn. Now I'm having
  trouble building it. Can somebody help me? I get the following error when
  I run mvn test from the cmd line:
  idea-plugin$ mvn test

 ...

  [INFO] Failed to resolve artifact.
 
  GroupId: org.apache.maven.plugins
  ArtifactId: maven-plugins
  Version: 2-SNAPSHOT
 
  Reason: Unable to download the artifact from any repository

 You'll need to check out and install the maven-plugins pom, as it's
 apparently not in the snapshot repository.

 svn co -N https://svn.apache.org/repos/asf/maven/plugins/trunk
 mvn install -N

 In both cases, -N means non-recursive.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-20 Thread Wendy Smoak

On 8/18/06, Clifton Craig [EMAIL PROTECTED] wrote:


GroupId: org.apache.maven
ArtifactId: maven-parent
Version: 4-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven:maven-parent:pom:4-SNAPSHOT

Is there a quick and easy appraoch to installing things from the svn repo that
doesn't involve a lot of futzing on the command line and figuring out what
depends on who or which gets installed where? Am I missing something here?


No, you're not.  The maven devs have not deployed snapshots of the
parent and master poms to the snapshot repository, so you're stuck
building them yourself.  Ping the dev list and ask, or maybe someone
will see this thread...

The one you're missing now is here:
 http://svn.apache.org/repos/asf/maven/pom/maven/pom.xml

That should be the last one-- its parent is org.apache:apache:3 which
is on ibiblio.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IDEA plugin up-to-date?

2006-08-18 Thread Dave Hoffer
Yes, that is what I was referring to.  Yes, you can get the source and
build it.

-dh

-Original Message-
From: Christofer Jennings [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 7:12 PM
To: Maven Users List
Subject: Re: IDEA plugin up-to-date?

+1

I assume you mean the 2.1-SNAPSHOT of the plugin? ... Can I get the
source
and build it?

What takes so long for releases?

,chris

On 8/10/06, Dave Hoffer [EMAIL PROTECTED] wrote:

 ...

We made a snapshot build of 2.1-SNAPSHOT a while back that fixes these
 problems.  It would be great if 2.1 could be released.

 -dh



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-18 Thread Clifton Craig
I'm just starting to use the idea plugin for M2 and getting used to it. I have 
a couple of questions.
1. Where can I find the docs for the available goals in the Idea plugin?
2. Do I need the latest version from the trunk to get the features listed in 
the post below?
3. If I do need the svn version, how do I download it?

- 
Clifton C. Craig, Software Engineer
Tell me what's up...
visit: http://codeforfun.wordpress.com
[EMAIL PROTECTED]

On Friday 11 August 2006 2:49 am, Roald Bankras wrote:
 With the latest version of the plugin, my multi module projects get setup
 correctly. If you're having problems with the sources and javadoc, mvn
 idea:module does an update of your project instead of creating it again.
 Likewise idea:clean will remove any idea projects files. You can even let
 mvn get all sources and javadoc (as far as they are available in the
 repository) by specifying the following in your pom: project
build
   plugins
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-idea-plugin/artifactId
 configuration
 downloadSourcestrue/downloadSources
 downloadJavadocstrue/downloadJavadocs
 dependenciesAsLibrariestrue/dependenciesAsLibraries
 /configuration
  /plugin
   /plugins
/build
 /project

 The latest snapshot can be found here:
 http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-idea-plugin

 Roald Bankras
 Software Engineer
 JTeam b.v.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-18 Thread Clifton Craig
Ok, I got the latest idea plugin checked out from svn. Now I'm having trouble 
building it. Can somebody help me? I get the following error when I run mvn 
test from the cmd line:
idea-plugin$ mvn test
[INFO] Scanning for projects...
[INFO] snapshot org.apache.maven.plugins:maven-plugins:2-SNAPSHOT: checking 
for updates from neware-repository-optimus
Downloading: 
http://local-maven2-proxy.com:8080/mvnrepo/repository//org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/maven-plugins-2-SNAPSHOT.pom
[WARNING] Unable to get resource from repository neware-repository-optimus 
(http://local-maven2-proxy.com:8080/mvnrepo/repository/)
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-plugins
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  neware-repository-optimus 
(http://local-maven2-proxy.com:8080/mvnrepo/repository/)


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: 
org.apache.maven.plugins:maven-plugins for project: 
null:maven-idea-plugin:maven-plugin:2.1-SNAPSHOT
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find 
parent: org.apache.maven.plugins:maven-plugins for project: 
null:maven-idea-plugin:maven-plugin:2.1-SNAPSHOT
at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1161)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:674)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:416)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:192)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
at 
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: 
POM 'org.apache.maven.plugins:maven-plugins' not found in repository: Unable 
to download the artifact from any repository

  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  neware-repository-optimus 
(http://local-maven2-proxy.com:8080/mvnrepo/repository/)

at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1157)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  neware-repository-optimus 
(http://local-maven2-proxy.com:8080/mvnrepo/repository/)

at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to 
download the artifact from any repository
at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
at 

Re: IDEA plugin up-to-date?

2006-08-18 Thread Wendy Smoak

On 8/18/06, Clifton Craig [EMAIL PROTECTED] wrote:

Ok, I got the latest idea plugin checked out from svn. Now I'm having trouble
building it. Can somebody help me? I get the following error when I run mvn
test from the cmd line:
idea-plugin$ mvn test

...

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-plugins
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository


You'll need to check out and install the maven-plugins pom, as it's
apparently not in the snapshot repository.

svn co -N https://svn.apache.org/repos/asf/maven/plugins/trunk
mvn install -N

In both cases, -N means non-recursive.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IDEA plugin up-to-date?

2006-08-11 Thread Roald Bankras
With the latest version of the plugin, my multi module projects get setup 
correctly. If you're having problems with the sources and javadoc, mvn 
idea:module does an update of your project instead of creating it again. 
Likewise idea:clean will remove any idea projects files.
You can even let mvn get all sources and javadoc (as far as they are available 
in the repository) by specifying the following in your pom:
project
   build
  plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-idea-plugin/artifactId
configuration
downloadSourcestrue/downloadSources
downloadJavadocstrue/downloadJavadocs
dependenciesAsLibrariestrue/dependenciesAsLibraries
/configuration
 /plugin  
  /plugins
   /build
/project

The latest snapshot can be found here:
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-idea-plugin

Roald Bankras
Software Engineer
JTeam b.v.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 8/9/2006
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

On closer look, the plugin page says it only looks for project.xml
files now, so I guess that means it's not ready for maven 2 yet. Is
there a new version or other plugin around for IDEA 5.x and Maven 2?

,chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-10 Thread Matt Raible

mvn idea:idea works pretty well for me.

http://maven.apache.org/plugins/maven-idea-plugin

Matt

On 8/10/06, Christofer Jennings [EMAIL PROTECTED] wrote:

On closer look, the plugin page says it only looks for project.xml
files now, so I guess that means it's not ready for maven 2 yet. Is
there a new version or other plugin around for IDEA 5.x and Maven 2?

,chris

-
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]



Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

I'm trying that mvn idea:idea out too. It's nice to get a project up
quickly, but it seems to clobber any previous settings (like adding library
src and javadoc) if I run it again. Also, I'd like to run the maven build
from IDEA.

I'm new to maven, so maybe I'm just using it wrong. But a nice IDEA plugin
would sure be ... nice. :)

,chris


RE: IDEA plugin up-to-date?

2006-08-10 Thread Dave Hoffer
We have had quite a bit of trouble with the 2.0 IDEA plugin generating
IDEA 5.1.x projects.  

It will fail quite often to make multiple module IDEA projects, and
using set notation for dependency versions is totally not working.

We made a snapshot build of 2.1-SNAPSHOT a while back that fixes these
problems.  It would be great if 2.1 could be released.

-dh

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 4:35 PM
To: Maven Users List
Subject: Re: IDEA plugin up-to-date?

mvn idea:idea works pretty well for me.

http://maven.apache.org/plugins/maven-idea-plugin

Matt

On 8/10/06, Christofer Jennings [EMAIL PROTECTED] wrote:
 On closer look, the plugin page says it only looks for project.xml
 files now, so I guess that means it's not ready for maven 2 yet. Is
 there a new version or other plugin around for IDEA 5.x and Maven 2?

 ,chris

 -
 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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IDEA plugin up-to-date?

2006-08-10 Thread Christofer Jennings

+1

I assume you mean the 2.1-SNAPSHOT of the plugin? ... Can I get the source
and build it?

What takes so long for releases?

,chris

On 8/10/06, Dave Hoffer [EMAIL PROTECTED] wrote:


...


We made a snapshot build of 2.1-SNAPSHOT a while back that fixes these

problems.  It would be great if 2.1 could be released.

-dh