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).


On 20/12/2012 10:58 AM, Kammer, John wrote:
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




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to