Not a valid plugin file: maven-taglib-plugin-1.4.2.jar

2011-09-20 Thread Hahn, Christopher (SAN DIEGO)
Hello all,

I have been asked to drive a legacy build for the first time,
and I am getting the error in the Subject above.

It is a Maven 1.0 build and supposedly has been working for
quite some time.

The console output of the action that has the error is here:

E:\foo\bar\snark\mainmaven -e jar:deploy
Maven options are
Maven options are -server -Xms400m -Xmx400m -XX:+UseConcMarkSweepGC 
-XX:+UseParNewGC
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download buildtool-main-SNAPSHOT.jar.
org.apache.maven.MavenException: Not a valid plugin file: 
E:\foo\bar\snark\main\lib\maven-taglib\plugins\maven-taglib-plugin-1.4.2.jar
at 
org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:910)
at 
org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862)
at 
org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/SummarizeList?listName=users@maven.apache.org
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 2 seconds
Finished at: Tue Sep 20 09:32:45 PDT 2011

E:\foo\bar\snark\main


I am just getting started on this, but wanted to check with the group
as to whether this is a common issue.

I found several copies of maven-taglib-plugin-1.4.2.jar on the system in 
question
and tried copying one into this location, but this produced the same error.

Does anyone recall this issue when working with Maven 1.0?

Thank you very muchjust for reading this novella.  ;0)

Christopher



[cid:image001.png@01CAF080.AD65F1E0]

Christopher Hahn
The Dude
SM Configuration Management
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







What could cause such a fundamental file to be missing?

2011-03-23 Thread Hahn, Christopher (SAN DIEGO)
Hello,

In testing just the clean goal I get this error:
===
Downloading: 
http://server.labs.peregrine.com/nexus/content/groups/server-devel/org/apache/maven/shared/maven-ant/1.
0-SNAPSHOT/maven-ant-1.0-SNAPSHOT.pom
[INFO] Unable to find resource 
'org.apache.maven.shared:maven-ant:pom:1.0-SNAPSHOT' in repository central 
(http://server.lab
s.company.com/nexus/content/groups/server-devel)
===

This file seems to be part of the Maven install.

Am I missing a fallback repo setting here?

Any kicks to the head appreciated,

Chris



[cid:image001.png@01CBE941.CC0CAD40]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







RE: What could cause such a fundamental file to be missing?

2011-03-23 Thread Hahn, Christopher (SAN DIEGO)
Is this the problem (from the console):
##
--
1 required artifact is missing.

for artifact:
  com.hp.maven:maven-zip-plugin:maven-plugin:1.0-20100107.233934-2

from the specified remote repositories:
  central (http://server.labs.company.com/nexus/content/groups/server-devel),
  snapshots (http:// server.labs.company.com /nexus/content/groups/server-devel)
##

Is the fact that central is redirected as well causing maven to fail to find 
such
basic objects?

Thanks,

Chris


From: Hahn, Christopher (SAN DIEGO)
Sent: Wednesday, March 23, 2011 10:05 AM
To: Maven Users List
Subject: What could cause such a fundamental file to be missing?

Hello,

In testing just the clean goal I get this error:
===
Downloading: 
http://server.labs.peregrine.com/nexus/content/groups/server-devel/org/apache/maven/shared/maven-ant/1.
0-SNAPSHOT/maven-ant-1.0-SNAPSHOT.pom
[INFO] Unable to find resource 
'org.apache.maven.shared:maven-ant:pom:1.0-SNAPSHOT' in repository central 
(http://server.lab
s.company.com/nexus/content/groups/server-devel)
===

This file seems to be part of the Maven install.

Am I missing a fallback repo setting here?

Any kicks to the head appreciated,

Chris



[cid:image001.png@01CBE941.CC0CAD40]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







Hello World?

2011-03-23 Thread Hahn, Christopher (SAN DIEGO)
???

What can make Hello World fail:
==
D:\tempmvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes 
-DgroupId=com.mycompany.app -DartifactId=my-app

D:\tempset MAVEN_OPTS=-Xmx1024m -Xms128m
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be 
retrieved from repository: central due to an error: Error
transferring file: Connection refused: connect
[INFO] Repository 'central' will be blacklisted
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not 
exist or no valid version could be found
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Wed Mar 23 10:18:23 PDT 2011
[INFO] Final Memory: 1M/127M
[INFO] 
D:\temp
==

We are using Nexus, and something must be misconfigured there, but
other full-blown targets are working fine.

Do I need to re-add Central as a repo on my command line?

Sorry, but I seem to be going backwards on this matter...

Chris



[cid:image001.png@01CBE94E.4DE427B0]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







RE: What could cause such a fundamental file to be missing?

2011-03-23 Thread Hahn, Christopher (SAN DIEGO)
Thank you (you and the other responder)

I checked my settings.xml and I think that I was referring
to a repositories path in nexus, and not the group path
that our configuration requires.

If this does not make sense, then let me know and I will try to elaborate.

Chris

-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of 
Anders Hammar
Sent: Wednesday, March 23, 2011 12:38 PM
To: Maven Users List
Subject: Re: What could cause such a fundamental file to be missing?

com.hp.maven:maven-zip-plugin:maven-plugin:1.0-20100107.233934-2 does NOT
exist in Maven central! Most likely that repo group in Nexus is missing some
repo containing that HP artifact.

/Anders

On Wed, Mar 23, 2011 at 19:24, Manuel Doninger man...@doninger.net wrote:

 Does the repository group server-devel contain the Maven Central repo
 or another group with the Maven Central in its configuration?
 If not, that could be the problem.

 Manuel

 On Wed, Mar 23, 2011 at 18:09, Hahn, Christopher (SAN DIEGO)
 christopher.h...@hp.com wrote:
  Is this the problem (from the console):
  ##
  --
  1 required artifact is missing.
 
  for artifact:
   com.hp.maven:maven-zip-plugin:maven-plugin:1.0-20100107.233934-2
 
  from the specified remote repositories:
   central (
 http://server.labs.company.com/nexus/content/groups/server-devel),
   snapshots (http:// 
  server.labs.company.com/nexus/content/groups/server-devel)
  ##
 
  Is the fact that central is redirected as well causing maven to fail to
 find such
  basic objects?
 
  Thanks,
 
  Chris
 
 
  From: Hahn, Christopher (SAN DIEGO)
  Sent: Wednesday, March 23, 2011 10:05 AM
  To: Maven Users List
  Subject: What could cause such a fundamental file to be missing?
 
  Hello,
 
  In testing just the clean goal I get this error:
  ===
  Downloading:
 http://server.labs.peregrine.com/nexus/content/groups/server-devel/org/apache/maven/shared/maven-ant/1
 .
  0-SNAPSHOT/maven-ant-1.0-SNAPSHOT.pom
  [INFO] Unable to find resource
 'org.apache.maven.shared:maven-ant:pom:1.0-SNAPSHOT' in repository central (
 http://server.lab
  s.company.com/nexus/content/groups/server-devel)
  ===
 
  This file seems to be part of the Maven install.
 
  Am I missing a fallback repo setting here?
 
  Any kicks to the head appreciated,
 
  Chris
 
  
 
  [cid:image001.png@01CBE941.CC0CAD40]
 
  Christopher Hahn
  The Dude
  Software Production Engineering
  RD Services, Hewlett-Packard
  Phone: 858-655-4096
  Cell: 619-630-9791
  ch...@hp.commailto:christopher.h...@hp.com
 
  Visit our SPE Portal
 http://teams5.sharepoint.hp.com/teams/SPE/default.aspx
 
  
 
 
 
 

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



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



Some users, but not others...

2011-03-22 Thread Hahn, Christopher (SAN DIEGO)
...are seeing tests fail because of a missing plugin:

Caused by: 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
--
1) org.apache.maven.shared:maven-ant:jar:1.0-SNAPSHOT


Now, this plugin is part of the maven install, so I thought to check the users 
environment,
and confirmed that they have all of:

%JAVA_HOME%\bin
%ANT_HOME%\bin
%MAVEN_HOME%\bin

set to valid values and in PATH. (and M2_HOME == MAVEN_HOME too)

The weird thing is that they pointed out that I am getting the same complaint 
in my
build logs, but my builds continue to execute to completion successfully:

[INFO] Unable to find resource 
'org.apache.maven.shared:maven-ant:jar:1.0-SNAPSHOT' in repository snapshots 
(http://servicemanager.labs.peregrine.com/nexus/content/groups/servicemanager-devel)
[INFO] 
[INFO] Building [NEXT TARGET]
[INFO] task-segment: [clean, deploy]
[INFO] 
[INFO] artifact org.codehaus.mojo:cobertura-maven-plugin: checking for updates 
from central


I am thinking that my setup has defined a fallback repo that this user's has 
failed to do as well.

Any pointers appreciated,

Christopher



[cid:image001.png@01CBE884.5D4214D0]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







RE: Maven Hanging During Deploy

2011-03-08 Thread Hahn, Christopher (SAN DIEGO)
Hey,

I am late to the game, but let me ask: how big are the objects
being deployed?

We have had issues with deliverable that are big enough.

Take care,

Chris

-Original Message-
From: Jonathan Warrington [mailto:jon...@gmail.com] 
Sent: Tuesday, March 08, 2011 12:49 PM
To: Maven Users List
Subject: Re: Maven Hanging During Deploy

That was my first thought too, however, I have tried with the firewall
turned off as well, and it still does the same thing.

This is just frustrating, as I would really like to be able to work
from this machine.

Thanks



On Tue, Mar 8, 2011 at 1:44 PM, Wayne Fay wayne...@gmail.com wrote:
 configured with the username / password as that exact settings.xml
 file works just fine on another machine would there be something
 that is causing maven to not get the authentication request?

 Maybe a Win7 firewall issue or something odd like that? I don't have
 Win7 here (intentionally) so its difficult to know how locked-down
 that system is by default.

 Wayne

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



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


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



freshest, most stable, version

2011-03-04 Thread Hahn, Christopher (SAN DIEGO)
Hello,

I am interested in upgrading from Nexus 1.4.1 and while I weigh the various
feature sets, I thought to poll the community as to what new versions are
proving the most stable.

Any pointers to issues-sites will be appreciated.

Take care,

Chris



[cid:image001.png@01CBDA73.C87312F0]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







Over-riding, preceeding, or anhancing the clean target

2011-02-17 Thread Hahn, Christopher (SAN DIEGO)
Hello,

I would like to change the way the clean target operates.

I have had process failures because some dilbert (moi) left
focus in a build folder which makes the clean action fail.

In perl, I have wrapped such calls in error trapping code that
would send an announcement out, sleep, and then try again.

This would be advantageous to do in Maven.

So, I am thinking that I either need to call my own code either before
clean fires off, or from inside the clean module.  If my action obviates
clean, then this would be fineit can still run, no-op.

Has anyone done something like this?  I am just hoping for a bread crumb
to follow.  Google didn't really get too close.

Thank you for the kind attention, in any case,

Christopher



[cid:image001.png@01CBCEAD.D5B00DA0]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx







401 error when deploying

2010-11-19 Thread Hahn, Christopher (SAN DIEGO)
Hello,

I am getting some sort of authentication error from my Maven run:
=
INFO] Error deploying artifact: Failed to transfer file: 
http://servicemanager.labs.peregrine.com/nexus/content/repositories/local-servicemanager-snapshots/com/hp/ov/sm/sm/9.30.022-SNAPSHOT/sm-9.30.022-SNAPSHOT.pom.
 Return code is: 401
=

I was just wondering when others have seen this.

this is a system that we publish to all the time, and for a long time.
What could have changed?

Any pointers appreciated,

Chris



[cid:image001.png@01CB87DE.84DA4E60]

Christopher Hahn
The Dude
Software Production Engineering
RD Services, Hewlett-Packard
Phone: 858-655-4096
Cell: 619-630-9791
ch...@hp.commailto:christopher.h...@hp.com

Visit our SPE Portalhttp://teams5.sharepoint.hp.com/teams/SPE/default.aspx