Re: M3 fails to download parent pom

2010-11-16 Thread mjsell

Ok, it appears that Stephen was right.  We had built up a rather lengthy
settings.xml file filled with repeated repository definitions, etc. to make
older versions of maven work.  When I culled that list down to just the
mirror and a single repository definition to allow for our snapshot
retrieval, M3 successfully retrieved the corporate pom that it would not
pull before.

Thanks for the suggestion!
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/M3-fails-to-download-parent-pom-tp3240199p3267765.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: Is this possible in Maven dependencies downloads to resume a download which stopped?

2010-11-16 Thread Justin Edelson
On Tue, Nov 16, 2010 at 10:46 AM, tiagorg
 wrote:
> It there a way to have such a "download manager" feature which will enable
> maven to resume downloads, just that.

You can do this if you write your own Wagon implementation.

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



Re: Is this possible in Maven dependencies downloads to resume a download which stopped?

2010-11-16 Thread Ron Wheeler

On 16/11/2010 10:46 AM, tiagorg wrote:

For example, our project has a dependency JAR of 360 MB and sometimes our VPN
expires and then the download stalls.

I would like to resume it from the moment it stopped, as we take hours to
download this file everyday.

It there a way to have such a "download manager" feature which will enable
maven to resume downloads, just that.

I am newbie so please understand.

Thanks



Break down the jar into more functionally related units.
A set of smaller jars will be more stable and easier to work on.

Where are you downloading from?
Perhaps you need a repo that is closer to your development team.

Ron


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



Re: Is this possible in Maven dependencies downloads to resume a download which stopped?

2010-11-16 Thread Wayne Fay
> It there a way to have such a "download manager" feature which will enable
> maven to resume downloads, just that.

Not currently. This seems like an absurdly huge file to be downloading
over a slow VPN connection on a daily basis. Either way find a way to
download it via some process that can be resumed, or even better, find
a way to break it up into multiple smaller chunks that change less
often.

Surely the entire file does not change on a daily basis but rather
only small bits of it, right?

Wayne

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



Is this possible in Maven dependencies downloads to resume a download which stopped?

2010-11-16 Thread tiagorg

For example, our project has a dependency JAR of 360 MB and sometimes our VPN
expires and then the download stalls. 

I would like to resume it from the moment it stopped, as we take hours to
download this file everyday.

It there a way to have such a "download manager" feature which will enable
maven to resume downloads, just that.

I am newbie so please understand.

Thanks
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Is-this-possible-in-Maven-dependencies-downloads-to-resume-a-download-which-stopped-tp3267518p3267518.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



re: execution order of suiteXmlFiles

2010-11-16 Thread torsten . reinhard
Hi again, 

any idea? 

how could I "preserve-order" of the (s) ?

Is it a workaround to have only one testng.xml, including some other *.xml 
files ?

Thanx, Torsten




torsten.reinh...@gi-de.com 
29.10.2010 11:51
Bitte antworten an
"Maven Users List" 


An
testng-us...@googlegroups.com, users@maven.apache.org
Kopie

Thema
execution order of suiteXmlFiles






Hi, 

I configured the maven-surefire-plugin (version 2.6) like the following, 
using TestNG5.14:



01_setupsystem.xml
02_basistests.xml
03_Mandanten_parallel.xml
04_Karten_parallel.xml



When I mvn clean install this project, the execution order of my tests 
isn´t as expected, it starts with 02_basistests.xml.
The tests descriped in the suiteXmlFile itself could be executed in 
parallel (parallel=methods) - but the  should be executed 
in exactly the same order
as described in the pom.xml

Is there a way ?

Thanx, Torsten



Re: "An API incompatibility was encountered" for using "plexus-utils"

2010-11-16 Thread Benjamin Bentmann

Evgeny Goldin wrote:


Anybody?


http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

The debug log from Maven, in particular the lines detailing the contents 
of the plugin class realm, might give a clue.



Benjamin

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



Re: "An API incompatibility was encountered" for using "plexus-utils"

2010-11-16 Thread Evgeny Goldin

Anybody?

-
Best regards,
Evgeny
http://evgeny-goldin.com/

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/An-API-incompatibility-was-encountered-for-using-plexus-utils-tp3265343p3267618.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: maven 3 & multi-module site

2010-11-16 Thread Andreas Sewe

Hi Jan,


I have added




  org.apache.maven.plugins
  maven-site-plugin
  3.0-beta-3
 

  
org.apache.maven.plugins
maven-plugin-plugin
2.5.1
  

  


to the root pom.

When I do 'mvn site', mojo docs are generated fine for each maven-plugin module 
in target/site/plugin-info.html, but the root POM target/site/ folder is empty 
apart from standard css/ and images/ folders.
  
Maybe there is sth fundamental I am missing here?


I think you came across . Try 
adding the m-project-info-reports-p as a reportPlugin as well.


I hope this helps.

Andreas

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



shade plugin duplicate classes

2010-11-16 Thread woods5242-outdoors
Hi,
I am using the shade plugin when doing an mvn assembly:assembly to create an 
uber jar which includes my project and all supporting jars.

The resulting JAR is quite large and when I do a "jar -tvf | grep 
someclassname.class" I always get 2 entries returned for EVERY CLASS. The sizes 
are the same but the dates in the JAR file are different for each unique file 
name.

  1559 Thu Aug 19 11:33:56 EDT 2010 
org/springframework/context/config/ContextNamespaceHandler.class
  1559 Tue Nov 09 16:21:48 EST 2010 
org/springframework/context/config/ContextNamespaceHandler.class

When I extract the JAR I only end up with ONE physical class file on disk.

Regardless this (I think) is causing some sort of class loader issue once this 
is deployed. I get ClassNotFoundExceptions. for this particular class above, 
but 
ONLY in ONE of our JBoss environments.

a) Is my maven shade configuration wrong? Or any other suggestions?

b) Why is my resulting JAR ending up with 2 entries for every class?

Any help appreciated!!!

Config below:


org.apache.maven.plugins
maven-shade-plugin
1.4

  
package

  shade


  

  META-INF/spring.handlers


  META-INF/spring.schemas

  
  
  
  
  

NCSO-lotus-domino-8.5:NCSO-lotus-domino-8.5

META-INF/INTERNAT.SF
META-INF/INTERNAT.RSA


  
  

  

  


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



Remote resources: what's include/exclude for ?

2010-11-16 Thread Grégory Joseph
Hi there,

Could anyone shed some light on what the exclude* and include*
configuration items in the remote-resources plugin's process goal [1]
are for ? What gets included/excluded ?

Thanks for any hint,

-greg
[1] 
http://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html

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



Re: Maven 3 site doesn't generate an index.html

2010-11-16 Thread Gabriele Kahlout
That worked out for me. I didn't have an explicit declaration for maven-site
(BTW).

On 16 November 2010 01:58, Lukas Theussl  wrote:

>
> Check http://jira.codehaus.org/browse/MSITE-425
>
> HTH,
> -Lukas
>
>
>
> Gabriele Kahlout wrote:
>
>> Hello,
>>
>> I don't know what could be the problem. Could someone send me a sample
>> project for which executing mvn site results in an index file under
>> target/site?
>> I only get a css and images folder in there. I'm using Windows 7.
>>
>>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).


Re: M3 fails to download parent pom

2010-11-16 Thread mjsell

We have a number of project trees that at their root inherit from a released
version of a corporate pom.  The following diagram should give you an
example of what I am trying to convey.

Module1:1.0-SNAPSHOT (Parent: Corporate Pom:1.0)
|
+= Module2:1.0-SNAPSHOT (Parent: Module1:1.0-SNAPSHOT)
+= Module3:1.0-SNAPSHOT (Parent: Module1:1.0-SNAPSHOT)
  |
  += Module4 (Parent: Module3:1.0-SNAPSHOT)

Assuming a completely empty local repository, Maven 2.2.1 can build this
project tree properly, pulling the corporate pom from the remote repository,
but Maven 3 can not.  It will not even try to retrieve the corporate pom
from the configured remote repositories, but instead will immediately fail
saying it can't resolve the parent pom.  If I change it to be a SNAPSHOT of
the corporate pom then it appears to properly attempt to pull from the
remote repositories.
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/M3-fails-to-download-parent-pom-tp3240199p3267293.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Maven Javadoc Plugin

2010-11-16 Thread SMS Chauhan


maven-javadoc-plugin
2.7

org.umlgraph.doclet.UmlGraphDoc

org.umlgraph
doclet
5.1

UTF-8
-views
true


This is what I get.
[ERROR] Maven is not attempt to interact with the user for input. Verify 
the  configuration in your settings.

In my settings.xml file for maven, I have
true

What could be the potential problem?

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



Re: release:prepare scm and cvs..

2010-11-16 Thread Antonio Petrelli
2010/11/16 jeb001 :
> I'm trying to build my first release using maven.. and I've got that error :
> "Missing required setting: scm connection or developerConnection must be
> specified."
>
> So, I had in my main pom.xml those lines :
>        
>                
> scm:cvs:pserver:user:@cvsIP:/cvs:moduleName
>
> scm:cvs:pserver:user:@cvsIP:/cvs:moduleName
>                HEAD
>                http://google.fr
>        

I don't see anything wrong with it. What do you mean with "main pom"?

Antonio

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



Re: How to create the custom project structure!

2010-11-16 Thread Nick Stolwijk
Although this is highly seen as a bad practice, you may want to start
by looking here:

http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-Isitpossibletocreatemyowndirectorystructure%3F

More information about the pom structure:
http://maven.apache.org/pom.html

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Tue, Nov 16, 2010 at 8:19 AM, D.R.MC  wrote:
> How to create the custom project structure!
>
> e.g. The source directory is "src/java/main".
>    + java
>       +main
>
>
> Thanks!
>

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



How to create the custom project structure!

2010-11-16 Thread D.R.MC
How to create the custom project structure!

e.g. The source directory is "src/java/main".
+ java
   +main


Thanks!


release:prepare scm and cvs..

2010-11-16 Thread jeb001

Hi,

I'm trying to build my first release using maven.. and I've got that error :
"Missing required setting: scm connection or developerConnection must be
specified."

So, I had in my main pom.xml those lines :


scm:cvs:pserver:user:@cvsIP:/cvs:moduleName

scm:cvs:pserver:user:@cvsIP:/cvs:moduleName
HEAD
http://google.fr


.. and I'm still having the same probleme.. 

Also, in the setting.xml, i added those lines :
 
cvsIp:2401
***
***


I miss something.. but what ??

Thx,

Jeremy

-- 
View this message in context: 
http://maven.40175.n5.nabble.com/release-prepare-scm-and-cvs-tp3267083p3267083.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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