Thanks Ron,
   Working through Eclipse is definitely superior. Turns out it has identified
some of the jar files as being corrupted (commons-collections among those). 
Trying
to delete the bad ones and trying again. At least I am making progress....
-- john

------------------
I would suggest downloading Eclipse/STS since it comes with a fully
configured and properly set up Maven.
Use the Eclipse - New=>Project to get started.

It looks like it is a problem with that plug-in. We never use it so I
can not give you much help on that and you don't need it anyway.

If you want to battle Eclipse later, you can install it but we started
with Eclipse and got so pissed off with the process of configuring
Eclipse that we moved to Eclipse/STS for the same price.

At least, you will know if it is a network problem or a maven
configuration issue or a plug-in that has a problem.

Ron

________________________________
From: Kammer, John
Sent: Thursday, December 20, 2012 6:46 PM
To: [email protected]
Subject: RE: Newbie problem getting basic functionality to work.


Hi Ron,
   I can run "mvn clean" once I've gotten a sample pom file and that works fine.
I've never gotten "mvn archetype:generate" to run successfully, that and other
targets blow up with the problem finding the ExtendedProperties class in the
commons-collections jar.
   So far I've been working mainly from the command line
(Windows Command Prompt and Cygwin shell). Figured I would try the Maven basic
"hello world" application first and move on from there. Planning to move into
the Eclipse environment once I get that working.
   The network folks are going to get with me this afternoon to see if they
notice anything in the network traffic that seems odd (or is being blocked).
I would have thought that if the jar made it into the repository on my machine
that the software would subsequently have been able to find it.
   It'll probably boil down to some Windows directory structure bs, that's my 
guess.
In any case, thanks!
-- john
-------------------------

Is it only when you run this one plug-in.
Does maven clean work
Are you using Eclipse or some IDE to develop your code? (Eclipse/STS
from Springsource comes ready to run maven).



________________________________
From: Kammer, John
Sent: Thursday, December 20, 2012 4:58 PM
To: [email protected]
Subject: RE: RE: Newbie problem getting basic functionality to work.


Thanks Wayne,
   Double checked with the network guys here and they assured me we are not 
behind a proxy.
At this point I am just confused. Have tried various versions of Java and Maven 
only to
have this same problem with commons-collections.ExtendedProperties. Oddly, I 
can find the
jar file in the repository directory and identify the class in the jar file so 
I don't know
why Maven thinks it can't find it. I'll probably try this at home on my laptop 
just to see
if it makes a difference.
   Meanwhile, are there other interfaces to this mailing list? I would have 
liked to hit a
reply button but seem to have only found the archive view.
   Thanks again, and if anyone has other suggestions what to look at/for in 
resolving the
first problem those would be appreciated.
-- John

----------------------------
> I am completely new to Maven and trying (without success) to get the most 
> basic of Maven
functionality to work.
> Have tried multiple versions of Maven and Java all with the same results (see 
> below).
> It seems the Apache Commons Collections jar is missing, and for some reason 
> not being
downloaded. Any ideas why or what I can do about it?

>From your description of the issue, it sounds to me like you are
behind a web proxy and have not configured it in settings.xml as
required. This is well documented on the Maven site and various free
Maven ebooks, and easily found with Google etc so I won't repeat the
instructions here.

Wayne

________________________________
From: Kammer, John
Sent: Wednesday, December 19, 2012 4:23 PM
To: [email protected]
Subject: Newbie problem getting basic functionality to work.

Hello, and thanks in advance for any help.
I am completely new to Maven and trying (without success) to get the most basic 
of Maven functionality to work.
Have tried multiple versions of Maven and Java all with the same results (see 
below).
It seems the Apache Commons Collections jar is missing, and for some reason not 
being downloaded. Any ideas why or what I can do about it?

The basic operation I am attempting is to run
== mvn archetype:generate
Which results in….

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom 
>>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom 
<<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom 
---
[WARNING] Error initializing: 
org.codehaus.plexus.velocity.DefaultVelocityComponent@6fdb4b
java.lang.NoClassDefFoundError: 
org/apache/commons/collections/ExtendedProperties
        at 
org.apache.velocity.runtime.RuntimeInstance.<init>(RuntimeInstance.java:164)
        at org.apache.velocity.app.VelocityEngine.<init>(VelocityEngine.java:71)
        at 
org.codehaus.plexus.velocity.DefaultVelocityComponent.initialize(DefaultVelocityComponent
.java:72)
        at 
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleMan
ager.java:338)
        at 
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecyc
leManager.java:296)
        at 
org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleMa
nager.java:148)
        at 
com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionLi
stenerStackCallback.java:108)
        at 
com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStac
kCallback.java:55)
…
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.653s
[INFO] Finished at: Wed Dec 19 09:57:31 EST 2012
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default
-cli) on project standalone-pom: Execution default-cli of goal 
org.apache.maven.plugins:maven-archet
ype-plugin:2.2:generate failed: A required class was missing while executing 
org.apache.maven.plugin
s:maven-archetype-plugin:2.2:generate: 
org/apache/commons/collections/ExtendedProperties
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.maven.plugins:maven-archetype-plugin:2.2

Reply via email to