Re: Extra directory level being created by Assembly in Maven 2.0.6, as compared with 2.0.4

2007-05-11 Thread Adam Lally

On 5/5/07, Marshall Schor [EMAIL PROTECTED] wrote:

snip/
However, if the same XML is used with Maven 2.0.6, an extra directory
is created having the name of the packed zip source:

root / eclipsePlugins / uimaj-ep-debug-2.1.0-incubating.zip /
org.apache.uima.debug.2.1.0.incubating / etc.
 extra directory **


Is this a bug, or do we need to change something when moving to 2.0.6?
Did the version of assembly plugin change when moving from Maven 2.0.4
to 2.0.6?



I think I may have traced this problem back to version 2.2-beta1 of
the Maven assembly plugin.  It appears to create these extra
directories when unpacking zip files from dependencySets,  whereas
version 2.1 did not.

Does anyone know if this is an expected change in behavior of the
assembly plugin, or a bug?

-Adam

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



Trouble adding common resouce files to all jars

2007-02-15 Thread Adam Lally

Hello,

I am trying to add some common resource files to all of my jars in a
multimodule project, without having to copy the files to all the
src/main/resources directories in every single module.  (In particular
this is for LICENSE and NOTICE files that are required in the jars for
our Apache incubator project.)

We tried adding the following to our parent POM (we use the flat layout):

 build
   resources
 resource
   targetPathMETA-INF/targetPath
   filteringfalse/filtering
   directory../uimaj-distr/src/main/readme//directory
   includes
 includeLICENSE/include
 includeNOTICE/include
   /includes
 /resource
   /resources
   ...
 /build


However this causes _hundreds_ of unit tests to fail when I run mvn
clean install.  The surefire-reports contain NoClassDefFoundErrors
but do not say the name of the class that's not found.

If I remove the resources element, everything builds fine.

So far I have not been able to reproduce this in a small test case, so
I don't know what else might be contributing to the problem.

Any ideas?

Thanks,
 -Adam

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



Re: Trouble adding common resouce files to all jars

2007-02-15 Thread Adam Lally

On 2/15/07, Daniel Kulp [EMAIL PROTECTED] wrote:

Basically, you can add:
plugin
artifactIdmaven-remote-resources-plugin/artifactId
version1.0-alpha-2-SNAPSHOT/version
executions
execution
goals
goalprocess/goal
/goals
configuration
resourceBundles
resourceBundleorg.apache:apache-jar-resource-bundle:1.1-SNAPSHOT/resourceBundle
resourceBundleorg.apache:apache-incubator-disclaimer-resource-bundle:1.0/resourceBundle
/resourceBundles
properties
addLicensetrue/addLicense
/properties
/configuration
/execution
/executions
/plugin



Thanks, that worked.  However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its own artifact name (e.g. Apache UIMA
Java Framework Core) when really we want just the name of our project
(Apache UIMA).

-Adam

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



Re: Can't get javadoc plugin to work for multimodule project

2006-11-21 Thread Adam Lally

Thanks for the suggestions guys, but I eventually did figure out my
problem after much suffering.  It looks to me like the javadoc plugin
has a bug where it gives very misleading error messages.  The source
of all my errors seems to have been an invalid package.html file
somewhere in one of my modules.  This apparently caused the javadoc
plugin to generate lots of bogus error messages about not being able
to find dependent classes.

I opened a JIRA issue: http://jira.codehaus.org/browse/MJAVADOC-102.

-Adam


On 11/19/06, diroussel [EMAIL PROTECTED] wrote:


Do your module names match the directory names which match the artifact ids?


Adam Lally-2 wrote:

 On 11/16/06, Marc Prud'hommeaux [EMAIL PROTECTED] wrote:
 Adam-

 I've experienced that as well. My workaround is to first run mvn
 install and then mvn javadoc:javadoc, and it seems to work.



 Thanks, that got my simple test case with just one module to work.  My
 multimodule build is still failing with missing dependencies, though.
 mvn install runs fine, but mvn javadoc:javadoc gives errors.  :(

 I will try to simplify my build and see when it stops breaking.  But
 in the meantime if anyone can enlighten me as to reasons why mvn
 install might work while mvn javadoc:javadoc doesn't, I'd appreciate
 it.

 -Adam

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




--
View this message in context: 
http://www.nabble.com/Can%27t-get-javadoc-plugin-to-work-for-multimodule-project-tf2647522s177.html#a7429647
Sent from the Maven - Users mailing list archive at Nabble.com.


-
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: Can't get javadoc plugin to work for multimodule project

2006-11-17 Thread Adam Lally

On 11/16/06, Marc Prud'hommeaux [EMAIL PROTECTED] wrote:

Adam-

I've experienced that as well. My workaround is to first run mvn
install and then mvn javadoc:javadoc, and it seems to work.




Thanks, that got my simple test case with just one module to work.  My
multimodule build is still failing with missing dependencies, though.
mvn install runs fine, but mvn javadoc:javadoc gives errors.  :(

I will try to simplify my build and see when it stops breaking.  But
in the meantime if anyone can enlighten me as to reasons why mvn
install might work while mvn javadoc:javadoc doesn't, I'd appreciate
it.

-Adam

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



Can't get javadoc plugin to work for multimodule project

2006-11-16 Thread Adam Lally

Hello,

I was trying to follow the javadoc instructions here:
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html
to generate Javadocs for my entire multimodule project.

If I execute mvn javadoc:javadoc inside one of my modules, it works fine.

However, if I execute mvn javadoc:javadoc in my root project
directory, it can't find the dependencies of my module.  I get a whole
bunch of package does not exist errors.

I've simplified things down to where my parent project contains only a
single module, and it still does not work when I try to generate the
javadocs from my parent project.  It's as if the javadoc plugin is
ignoring the dependencies declared in the module's POM.

Any ideas?

-Adam

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



Re: Can I submit Eclipse jars to the central repository?

2006-11-08 Thread Adam Lally

I've created a test repo at http://repo1.maven.org/eclipse/ with a lot
of them. We are looking for feedback


Excellent!  Having this shared repository of eclipse artifacts will
really help our project.

However, I'm getting one very strange error that I don't understand at
all.  Can you try out this POM:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
groupIdfoo.test/groupId
artifactIdtest/artifactId
packagingjar/packaging
version1.0-SNAPSHOT/version
nameThis is a test/name
urlhttp://maven.apache.org/url
dependencies
dependency
groupIdorg.eclipse.ui/groupId
artifactIdorg.eclipse.ui/artifactId
version3.2.0/version
scopeprovided/scope
/dependency
dependency
groupIdorg.eclipse.jdt/groupId
artifactIdorg.eclipse.jdt.debug.ui/artifactId
version3.2.0/version
scopeprovided/scope
/dependency
/dependencies
repositories
repository
ideclipsePlugins/id
urlhttp://repo1.maven.org/eclipse/url
/repository
/repositories
/project



When I run mvn compile I get:
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.eclipse.ui:org.eclipse.ui:jar:4.0.0

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file -DgroupId=org.eclipse.ui -DartifactId=org.eclipse
.ui \
 -Dversion=4.0.0 -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
   1) foo.test:test:jar:1.0-SNAPSHOT
   2) org.eclipse.ui:org.eclipse.ui:jar:4.0.0




The really bizarre thing is that it works if I have a dependency on
either org.eclipse.ui OR org.eclipse.jdt.debug.ui, but not both.  Any
idea how that could happen?

This isn't a showstopper for me since if I just declare a dependency
on org.eclipse.jdt.debug.ui it will drag in the right version of
org.eclipse.ui anyway.  But I'm curious to know what the problem is.

-Adam

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



Can I submit Eclipse jars to the central repository?

2006-11-07 Thread Adam Lally

Hi,

I've installed several Eclipse jars into my local repository, and I'd
like to get them into a shared repository somewhere.  Is it
allowed/appropriate for me to submit these for the ibiblio repository
by following the directions at
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html?

There are already some (mostly older) Eclipse artifacts on ibibilo so
it seems there's some precedent for hosting them there.  OTOH, the
Guide implied that in order to post something under groupId such as
org.eclipse I'd have to prove I control the domain org.eclipse - which
of course I do not. :)

Thanks,
 -Adam

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



Re: How to use latest snapshot of assembly plugin?

2006-10-02 Thread Adam Lally
Yes, I can get to that URL in my browser.  When I get a chance I will try 
this from home instead of the office, maybe a different firewall 
configuration will make a difference.

This isn't critical for me, since at this point I'm not really sure I want 
my build to have a dependency on a snapshot plugin anyway.  I was just 
surprised that it didn't work.

-Adam





John Casey [EMAIL PROTECTED] 
09/29/2006 06:39 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: How to use latest snapshot of assembly plugin?






stupid question, maybe, but can you browse to this URL:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-20060920.230937-23.pom


?

I suspect there is some problem with your firewall/proxy that might keep 
you
from getting to people.apache.org...of course, your browser might be
configured correctly...

-john

On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:

 Yes, I'm behind a firewall.  But that doesn't in general seem to prevent
 me from downloading components from Maven repositories.

 -Adam




 Wayne Fay [EMAIL PROTECTED]
 09/29/2006 04:46 PM
 Please respond to
 Maven Users List users@maven.apache.org


 To
 Maven Users List users@maven.apache.org
 cc

 Subject
 Re: How to use latest snapshot of assembly plugin?






 Looks like you're behind a firewall or proxy of some kind?

 Wayne

 On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:
  Running with -U did not help.  Here's the output from mvn -X 
compile.
 I
  see a bunch of Skipping disabled repository... messages.  Why is 
that?
 
 
 
  + Error stacktraces are turned on.
  Maven version: 2.0.4
  [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
 and
  Settings\Administrator\.m2\plugin-registry.xml'
  [DEBUG] Building Maven global-level plugin registry from: 'c:\Program
  Files\maven\bin\..\conf\plugin-registry.xml'
  [INFO] Scanning for projects...
  [INFO]
 

 

  [INFO] Building Maven Quick Start Archetype
  [INFO]task-segment: [compile]
  [INFO]
 

 

  [DEBUG] Skipping disabled repository apache.snapshots
  [DEBUG] Skipping disabled repository apache.org
  [DEBUG] Skipping disabled repository codehaus.org
  [DEBUG] maven-resources-plugin: resolved to version 2.2 from 
repository
  central
  [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::1
  for project: null:maven-resources-plugin:maven-plugin:2.2 from the
  repository.
  [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
  project: org.apache.maven.plugins:maven-plugins:pom:1 from the
 repository.
  [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
  org.apache.maven:maven-parent:pom:1 from the repository.
  [DEBUG] Skipping disabled repository apache.snapshots
  [DEBUG] Skipping disabled repository apache.org
  [DEBUG] Skipping disabled repository codehaus.org
  [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from 
repository
  central
  [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::1
  for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the
  repository.
  [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
  project: org.apache.maven.plugins:maven-plugins:pom:1 from the
 repository.
  [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
  org.apache.maven:maven-parent:pom:1 from the repository.
  [DEBUG] Skipping disabled repository central
  [DEBUG] Skipping disabled repository central
  [DEBUG] maven-assembly-plugin: using locally installed snapshot
  [DEBUG] Trying repository apache.snapshots
  Downloading:
 

 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository apache.snapshots
  (http://people.apache.org/repo/m2-snapshot-repository)
  [DEBUG] Trying repository apache.org
  Downloading:
 

 
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository apache.org
  (http://people.apache.org/maven-snapshot-repository)
  [DEBUG] Trying repository codehaus.org
  Downloading:
 

 
http://snapshots.repository.codehaus.org//org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository codehaus.org
  (http://snapshots.repository.codehaus.org/)
  [DEBUG] Skipping disabled repository central
  [DEBUG] Skipping disabled repository central
  [INFO]
  

  [ERROR] BUILD ERROR

How to use latest snapshot of assembly plugin?

2006-09-29 Thread Adam Lally
I'm new to Maven and have been trying to figure out how to get the 
assembly plugin to do what I want for my multi-module project.  I've seen 
some messages on the list recommending to use version 2.2-SNAPSHOT which 
may have fixed some issues.  But how do I do that?

I put the following in my pom.xml:
build
plugins
plugin
 artifactIdmaven-assembly-plugin/artifactId
version2.2-SNAPSHOT/version
configuration
descriptors
 descriptorsrc/assembly/bin.xml/descriptor
/descriptors
/configuration
/plugin
/plugins
/build

  pluginRepositories
pluginRepository
  idapache.org/id
  nameMaven Plugin Snapshots/name
  urlhttp://people.apache.org/maven-snapshot-repository/url
  releases
enabledfalse/enabled
  /releases
  snapshots
enabledtrue/enabled
  /snapshots
/pluginRepository
pluginRepository
  idcodehaus.org/id
  nameCodehaus Maven Plugin Snapshots/name
  urlhttp://snapshots.repository.codehaus.org//url
  releases
enabledfalse/enabled
  /releases
  snapshots
enabledtrue/enabled
  /snapshots
/pluginRepository
  /pluginRepositories


but when I try to build I get:

[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-assembly-plugin
Version: 2.2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT

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

 

Any ideas what I am doing wrong?  I also tried putting the 
pluginRepositories in my settings.xml as described here:
http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html,
but I still get the same error.

Thanks in advance for any help,
  -Adam

Re: How to use latest snapshot of assembly plugin?

2006-09-29 Thread Adam Lally
That didn't work for me either.  But if I go to that URL in my browser, I 
do see a 2.2-SNAPSHOT directory under the assembly plugin.  So it is 
there, but not being found for some reason?

Here's my entire POM for a simple test project:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
groupIdorg.myorg.test/groupId
artifactIdsimple/artifactId
packagingjar/packaging
version1.0-SNAPSHOT/version
nameMaven Quick Start Archetype/name
urlhttp://maven.apache.org/url
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
/dependency
/dependencies
build
plugins
plugin
artifactIdmaven-assembly-plugin
/artifactId
version2.2-SNAPSHOT/version
configuration
descriptors
descriptor
src/assembly/bin.xml/descriptor
/descriptors
/configuration
/plugin
/plugins
/build
pluginRepositories
pluginRepository
idapache.snapshots/id
url
http://people.apache.org/repo/m2-snapshot-repository/url
/pluginRepository
pluginRepository
idapache.org/id
nameMaven Plugin Snapshots/name
url
http://people.apache.org/maven-snapshot-repository/url
/pluginRepository
pluginRepository
idcodehaus.org/id
nameCodehaus Maven Plugin Snapshots/name
urlhttp://snapshots.repository.codehaus.org/
/url
/pluginRepository
/pluginRepositories
/project

I just created it from the archetype and added the assembly plugin and the 
pluginRepositories.  If I try to do a build it complains that 
maven-assembly-plugin is not being found.  Does this work for other 
people?

Thanks,
  -Adam




John Casey [EMAIL PROTECTED] 
09/29/2006 03:11 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: How to use latest snapshot of assembly plugin?






You can also add this to your POM:

pluginRepositories
  pluginRepository
idapache.snapshots/id
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
  /pluginRepository
/pluginRepository

Cheers,

john

On 9/29/06, Wayne Fay [EMAIL PROTECTED] wrote:

 I'd just pull the code down yourself from SVN and build/install
 locally if you're going to depend on SNAPSHOT versioned code and
 having trouble finding it deployed anywhere.

 Wayne

 On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:
  I'm new to Maven and have been trying to figure out how to get the
  assembly plugin to do what I want for my multi-module project.  I've
 seen
  some messages on the list recommending to use version 2.2-SNAPSHOT 
which
  may have fixed some issues.  But how do I do that?
 
  I put the following in my pom.xml:
 build
 plugins
 plugin
   artifactIdmaven-assembly-plugin/artifactId
 version2.2-SNAPSHOT/version
 configuration
 descriptors
   descriptorsrc/assembly/bin.xml/descriptor
 /descriptors
 /configuration
 /plugin
 /plugins
 /build
 
   pluginRepositories
 pluginRepository
   idapache.org/id
   nameMaven Plugin Snapshots/name
   urlhttp://people.apache.org/maven-snapshot-repository/url
   releases
 enabledfalse/enabled
   /releases
   snapshots
 enabledtrue/enabled
   /snapshots
 /pluginRepository
 pluginRepository
   idcodehaus.org/id
   nameCodehaus Maven Plugin Snapshots/name
   urlhttp://snapshots.repository.codehaus.org//url
   releases
 enabledfalse/enabled
   /releases
   snapshots
 enabledtrue/enabled
   /snapshots
 /pluginRepository
   /pluginRepositories
 
 
  but when I try to build I get:
 
  [INFO] Failed to resolve artifact.
 
  GroupId: org.apache.maven.plugins
  ArtifactId: maven-assembly-plugin
  Version

Re: How to use latest snapshot of assembly plugin?

2006-09-29 Thread Adam Lally
(DefaultLifecycleExecutor.java:982)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
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.plugin.InvalidPluginException: Unable to build 
project for plugin 'org.apache.maven.plugins:maven-assembly-plugin': POM 
'org.apache.maven.plugins:maven-assembly-plugin' not found in repository: 
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org/),
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache.org (http://people.apache.org/maven-snapshot-repository)

at 
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:265)
at 
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:183)
at 
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
... 17 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 
'org.apache.maven.plugins:maven-assembly-plugin' not found in repository: 
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org/),
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache.org (http://people.apache.org/maven-snapshot-repository)

at 
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:513)
at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
at 
org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:249)
... 20 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org/),
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache.org (http://people.apache.org/maven-snapshot-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)
... 22 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 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
... 24 more
[INFO] 

[INFO] Total time: 1 second
[INFO] Finished at: Fri Sep 29 16:31:17 EDT 2006
[INFO] Final Memory: 1M/3M
[INFO] 

_
 Adam Lally
 Advisory Software Engineer 
 UIMA Framework Lead Developer
 IBM T.J. Watson Research Center
 Hawthorne, NY, 10532
 Tel: 914-784-7706,  T/L

Re: How to use latest snapshot of assembly plugin?

2006-09-29 Thread Adam Lally
Yes, I'm behind a firewall.  But that doesn't in general seem to prevent 
me from downloading components from Maven repositories.

-Adam




Wayne Fay [EMAIL PROTECTED] 
09/29/2006 04:46 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: How to use latest snapshot of assembly plugin?






Looks like you're behind a firewall or proxy of some kind?

Wayne

On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:
 Running with -U did not help.  Here's the output from mvn -X compile. 
I
 see a bunch of Skipping disabled repository... messages.  Why is that?



 + Error stacktraces are turned on.
 Maven version: 2.0.4
 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents 
and
 Settings\Administrator\.m2\plugin-registry.xml'
 [DEBUG] Building Maven global-level plugin registry from: 'c:\Program
 Files\maven\bin\..\conf\plugin-registry.xml'
 [INFO] Scanning for projects...
 [INFO]
 

 [INFO] Building Maven Quick Start Archetype
 [INFO]task-segment: [compile]
 [INFO]
 

 [DEBUG] Skipping disabled repository apache.snapshots
 [DEBUG] Skipping disabled repository apache.org
 [DEBUG] Skipping disabled repository codehaus.org
 [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
 central
 [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
 for project: null:maven-resources-plugin:maven-plugin:2.2 from the
 repository.
 [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
 project: org.apache.maven.plugins:maven-plugins:pom:1 from the 
repository.
 [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
 org.apache.maven:maven-parent:pom:1 from the repository.
 [DEBUG] Skipping disabled repository apache.snapshots
 [DEBUG] Skipping disabled repository apache.org
 [DEBUG] Skipping disabled repository codehaus.org
 [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository
 central
 [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
 for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the
 repository.
 [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
 project: org.apache.maven.plugins:maven-plugins:pom:1 from the 
repository.
 [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
 org.apache.maven:maven-parent:pom:1 from the repository.
 [DEBUG] Skipping disabled repository central
 [DEBUG] Skipping disabled repository central
 [DEBUG] maven-assembly-plugin: using locally installed snapshot
 [DEBUG] Trying repository apache.snapshots
 Downloading:
 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom

 [WARNING] Unable to get resource from repository apache.snapshots
 (http://people.apache.org/repo/m2-snapshot-repository)
 [DEBUG] Trying repository apache.org
 Downloading:
 
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom

 [WARNING] Unable to get resource from repository apache.org
 (http://people.apache.org/maven-snapshot-repository)
 [DEBUG] Trying repository codehaus.org
 Downloading:
 
http://snapshots.repository.codehaus.org//org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom

 [WARNING] Unable to get resource from repository codehaus.org
 (http://snapshots.repository.codehaus.org/)
 [DEBUG] Skipping disabled repository central
 [DEBUG] Skipping disabled repository central
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Failed to resolve artifact.

 GroupId: org.apache.maven.plugins
 ArtifactId: maven-assembly-plugin
 Version: 2.2-SNAPSHOT

 Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-assembly-plugin:pom:2.2-SNAPSHOT

 from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org/),
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository
),
  apache.org (http://people.apache.org/maven-snapshot-repository)


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