Re: Web app not workin when compiled via Maven.

2011-05-11 Thread Jamshed Katta
Thank you Wayne, I will remember that next time.

--
View this message in context: 
http://maven.40175.n5.nabble.com/Web-app-not-workin-when-compiled-via-Maven-tp4384067p4389380.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.0.3 hanging / having timeouts often?

2011-05-11 Thread Wayne Fay
> Downloading:
> http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
> http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
> http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
> http://www.ibiblio.org/maven/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

Obviously you have a proxy. Why in the world are you connecting
directly to repo2, repo1, ibiblio etc instead of just letting your
proxy hit them on your behalf?

Wayne

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



Maven 3.0.3 hanging / having timeouts often?

2011-05-11 Thread Andrew Robinson
I have been using maven 2.2.1 for a while at my company and we just switched
to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit ==>
ubuntu natty 11.04 64-bit) and installed maven 3.

In maven 3.0.3, (I have not seen it with maven 2.2.1), it stops downloading
after a few to several downloads. If I ^C the build, and keep re-running it,
it will eventually built. It only dies when maven is trying to download
file. It may happen before any progress is display, partial progress or full
progress.

Example:
Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading: http://
internalserver.ouritranet.com:8086/archiva/repository/snapshots-corporate/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://www.ibiblio.org/maven/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
341 B   341 B

If I let it go for a while it then prints:
Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/internal/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://internalserver.ouritranet.com:8086/archiva/repository/snapshots-corporate/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
Downloading:
http://www.ibiblio.org/maven/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo1.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml
[WARNING] Checksum validation failed, could not read expected checksum:
Error transferring file: Connection timed out for
http://repo2.maven.org/maven2/org/apache/maven/skins/maven-default-skin/maven-metadata.xml


My other co-workers have not reported seeing this issue yet. Any ideas on
why maven 3.0.3 is having this problem when maven 2.2.1 does not?

FYI, we have a corporate proxy, not sure if that could be part of the
problem.

-Andrew


Re: How to skip phases?

2011-05-11 Thread Barrie Treloar
On Thu, May 12, 2011 at 5:20 AM, EJ Ciramella  wrote:
> Starting and stopping maven like that will be slower than just doing a "mvn 
> clean install" to begin with.

Yeah, but I've seen odd behaviour doing them in one step.
I can't recall the details, it may be something to do with upgrading
versions and the clean fails because the version needed for
dependencies don't exist yet (which they wont until you run install).

It may be I've stuffed something else up in the past and I'm being
overly cautious.

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



Re: Web app not workin when compiled via Maven.

2011-05-11 Thread Wayne Fay
In the future, please don't post such a massive stack trace to this
list. Surely you can read that and find the root problem... if not,
you're in trouble as a J2EE developer.

Also, there is almost never a need to post a full pom file to this
list. Don't do it unless someone specifically ask you to do so.

Wayne


> 2011-05-10 14:41:57,681 ERROR
> [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/UltimateSMS-1]]
> (HDScanner) Error configuring application listener of class
> com.sun.faces.config.ConfigureListener: java.lang.ClassNotFoundException:
> com.sun.faces.config.ConfigureListener
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:217) [:1.6.0_20]
>        at java.security.AccessController.doPrivileged(Native Method) 
> [:1.6.0_20]

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



Re: How can I have a goal depend on another goal?

2011-05-11 Thread John Singleton
Trant,

Look at the cargo plugin (http://cargo.codehaus.org/).  It is useful for
starting/stopping J2EE containers and deploying modules to them.

With proper configuration of the plugin (,  and
 elements), you just need something like this in your build
section:


org.codehaus.cargo
cargo-maven2-plugin


start-container
pre-integration-test

deploy
start



stop-container
post-integration-test

stop
undeploy



 

We use this everyday on our CI machine and it does pretty much what I
understand you need.




On Wed, May 11, 2011 at 3:25 PM, trant  wrote:

> Yep, I didn't understand that concept.
>
> So what I tried now is I added an execution to my plugin, as follows:
>
> 
>
>install
>
>  deploy
>
>
>
>
> under the assumption that maven will now consider this plugin as part of
> the
> deploy goal of the install phase?
>
> I tried running it and it actually does do what I want, it now does all the
> steps prior to deploy - build, test, package, etc...
>
> So that's good. Not sure if I did it the right way though or just lucked
> out.
>
> But now what if I also wanted the other goal I mentioned called
> weblogic:start to run prior to this deploy? What would I need to do to the
> pom? I am thinking maybe put that goal in the executions prior to the
> existing deploy goal? like: weblogic:start ?? Somehow I dont
> think thats the correct way to do it
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-can-I-have-a-goal-depend-on-another-goal-tp4384674p4388271.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: Nested artifacts

2011-05-11 Thread Wendy Smoak
On Tue, May 10, 2011 at 3:19 PM, EJ Ciramella  wrote:
> Is there a simple way to unpack a dependency then unpack an artifact that 
> lives inside that dependency?
>
> We have several third party utilities stored in Nexus and referenced as 
> dependencies, but I'd like to unpack a rar that is nested within a zip.
>
> Is there a maven 2 way or do I just rely on an ant task?

I would probably unpack the zip myself and deploy the rar artifacts to
the repository once, rather than trying to do it every time you build.

How frequently do the third party utilities change?

-- 
Wendy

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



Re: Web app not workin when compiled via Maven.

2011-05-11 Thread Jamshed Katta
Do you think something is wrong with my context path ?

--
View this message in context: 
http://maven.40175.n5.nabble.com/Web-app-not-workin-when-compiled-via-Maven-tp4384067p4387846.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: How can I have a goal depend on another goal?

2011-05-11 Thread trant
Yep, I didn't understand that concept.

So what I tried now is I added an execution to my plugin, as follows: 



install

  deploy


 

under the assumption that maven will now consider this plugin as part of the
deploy goal of the install phase?

I tried running it and it actually does do what I want, it now does all the
steps prior to deploy - build, test, package, etc...

So that's good. Not sure if I did it the right way though or just lucked
out.

But now what if I also wanted the other goal I mentioned called
weblogic:start to run prior to this deploy? What would I need to do to the
pom? I am thinking maybe put that goal in the executions prior to the
existing deploy goal? like: weblogic:start ?? Somehow I dont
think thats the correct way to do it

--
View this message in context: 
http://maven.40175.n5.nabble.com/How-can-I-have-a-goal-depend-on-another-goal-tp4384674p4388271.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: Nested artifacts

2011-05-11 Thread Asmann, Roland
Sorry, let me rephrase it all a bit (keep in mind that I am not saying 
it works, I am currently unable to test anything in Maven!):

You need to configure the dependency-plugin to extract the ZIP and only 
AFTER that, try to unpack the RAR -- in a separate step. I believe there 
are a couple of phases that run WITHOUT Maven checking for the 
dependencies and crying about a missing one.

If I can get around to playing with my laptop a bit, I might test this 
out and report back to you. In the mean-time, feel free to try this.

One question that just popped into my mind: do you have to be in a 
certain phase when extracting or is any phase right for you?

Roland


On 11-05-11 21:46, EJ Ciramella wrote:
> Hmmm - kinda.
>
> Again, I'd like to unpack a rar that is nested within a zip.
>
> The dependency unpack bits even if it's a system scoped dependency will try 
> and resolve that and it won't be there.
>
> :-/
>
> I think I just need to "shell out" to ant...
>
> -Original Message-
> From: Asmann, Roland [mailto:roland.asm...@adesso.at]
> Sent: Wednesday, May 11, 2011 12:04 PM
> To: Maven Users List
> Subject: Re: Nested artifacts
>
> Not 100% sure about this one, but you could try it with the
> dependency-plugin [1]. I believe it does not allow system-dependencies
> in its configuration, but judging from the sentence
>
> "The artifact version is optional. If not set, the plugin will attempt
> to resolve it from the project dependencies and then the
> dependencyManagement section." [2]
>
> I think that if you add that dependency to your
> dependency(-management)-list with the correct path, it should work.
>
> Roland
>
>
> [1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
> [2]
> http://maven.apache.org/plugins/maven-dependency-plugin/usage.html#The_dependency:unpack_mojo
>
>
>
> On 20:59, EJ Ciramella wrote:
>> Is there a simple way to unpack a dependency then unpack an artifact that 
>> lives inside that dependency?
>>
>> We have several third party utilities stored in Nexus and referenced as 
>> dependencies, but I'd like to unpack a rar that is nested within a zip.
>>
>> Is there a maven 2 way or do I just rely on an ant task?
>>
>> Thanks in advance!
>>
>> 
>> CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within 
>> including any attachments is only for the recipient(s) to which it is 
>> intended and may contain confidential and/or privileged material. Any 
>> review, retransmission, dissemination or other use of; or taking of any 
>> action in reliance upon this information by persons or entities other than 
>> the intended recipient is prohibited. If you received this in error, please 
>> send the e-mail back by replying to the sender and permanently delete the 
>> entire message and its attachments from all computers and network systems 
>> involved in its receipt.
>
> --
> Roland Asmann
> Senior Software Engineer
>
> adesso Austria GmbH
> Floridotower 26. Stock  T +43 1 2198790-27
> Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
> A-1210 Wien M +43 664 88657566
>  E roland.asm...@adesso.at
>  W www.adesso.at
>
> -
>   >>>  business. people. technology.<<<
> -
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within 
> including any attachments is only for the recipient(s) to which it is 
> intended and may contain confidential and/or privileged material. Any review, 
> retransmission, dissemination or other use of; or taking of any action in 
> reliance upon this information by persons or entities other than the intended 
> recipient is prohibited. If you received this in error, please send the 
> e-mail back by replying to the sender and permanently delete the entire 
> message and its attachments from all computers and network systems involved 
> in its receipt.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-

RE: How can I have a goal depend on another goal?

2011-05-11 Thread trant
When I say deploy I mean as in deploying my packaged application to my web
application server.


--
View this message in context: 
http://maven.40175.n5.nabble.com/How-can-I-have-a-goal-depend-on-another-goal-tp4384674p4388273.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: How to skip phases?

2011-05-11 Thread EJ Ciramella
Starting and stopping maven like that will be slower than just doing a "mvn 
clean install" to begin with.

If you're relying on svn updates (or similar kinda thing via your SCM system), 
you'll need to run clean first (I'd suspect) anyway.

If you're doing an rm -rf of your workspace prior to building, you're already 
chewing up a bunch of time.

With Jenkins/Hudson, there's the "Hudson Collapsing Console Sections Plugin" 
that helps reduce what you have to scan through in various build outputs (yeah, 
not quite what you were asking, but may help reduce the clutter in the logs).

-Original Message-
From: Eric Jain [mailto:eric.j...@gmail.com]
Sent: Tuesday, May 10, 2011 9:21 PM
To: Maven Users List
Subject: Re: How to skip phases?

On Tue, May 10, 2011 at 17:57, Barrie Treloar  wrote:
> You also will want something like Jenkin running builds continuously
> to make sure that your stuff still works as people will forget to run
> mvn install before checking in (laziness, mistakes, etc)

Thanks for the clarification. This issue came up because I was
thinking about how to make use of the new "Task" feature in Bamboo 3.1
(don't know if Jenkins has a similar feature). The idea was that we
could split `mvn install` into three tasks (`mvn clean compile`, `mvn
test` and `mvn install`) to get better progress reporting without
slowing down things. But looks like this won't work.

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


CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within 
including any attachments is only for the recipient(s) to which it is intended 
and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of; or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please send the e-mail 
back by replying to the sender and permanently delete the entire message and 
its attachments from all computers and network systems involved in its receipt.


RE: Nested artifacts

2011-05-11 Thread EJ Ciramella
Hmmm - kinda.

Again, I'd like to unpack a rar that is nested within a zip.

The dependency unpack bits even if it's a system scoped dependency will try and 
resolve that and it won't be there.

:-/

I think I just need to "shell out" to ant...

-Original Message-
From: Asmann, Roland [mailto:roland.asm...@adesso.at]
Sent: Wednesday, May 11, 2011 12:04 PM
To: Maven Users List
Subject: Re: Nested artifacts

Not 100% sure about this one, but you could try it with the
dependency-plugin [1]. I believe it does not allow system-dependencies
in its configuration, but judging from the sentence

"The artifact version is optional. If not set, the plugin will attempt
to resolve it from the project dependencies and then the
dependencyManagement section." [2]

I think that if you add that dependency to your
dependency(-management)-list with the correct path, it should work.

Roland


[1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
[2]
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html#The_dependency:unpack_mojo



On 20:59, EJ Ciramella wrote:
> Is there a simple way to unpack a dependency then unpack an artifact that 
> lives inside that dependency?
>
> We have several third party utilities stored in Nexus and referenced as 
> dependencies, but I'd like to unpack a rar that is nested within a zip.
>
> Is there a maven 2 way or do I just rely on an ant task?
>
> Thanks in advance!
>
> 
> CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within 
> including any attachments is only for the recipient(s) to which it is 
> intended and may contain confidential and/or privileged material. Any review, 
> retransmission, dissemination or other use of; or taking of any action in 
> reliance upon this information by persons or entities other than the intended 
> recipient is prohibited. If you received this in error, please send the 
> e-mail back by replying to the sender and permanently delete the entire 
> message and its attachments from all computers and network systems involved 
> in its receipt.

--
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within 
including any attachments is only for the recipient(s) to which it is intended 
and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of; or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please send the e-mail 
back by replying to the sender and permanently delete the entire message and 
its attachments from all computers and network systems involved in its receipt.

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



Re: dependency checksum failling

2011-05-11 Thread Wayne Fay
> No. The curious thing about all of it is that the file is ok in the repo
> (netbeans or nexus) but when I download it via maven it is corrupted. If I
> download it via browser it works.
> I thought it was a proxy issue but, thinking better, the request doesn't go
> through the proxy when I download it from nexus.
> I wonder why it is happening. At least I can now build my app replacing the
> local repo with the files downloaded via browser.

Various things like antivirus software can interfere with the Maven
download process and result in a corrupted jar landing in your local
repo cache.

What you are describing must be a problem related to your local
machine/environment. If this was happening across the board (to
everyone running Maven), we would hear about this on a daily basis,
right? So try to sort out what is going on in your machine and if you
ever solve the problem, come back and tell us about it.

Wayne

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



Re: dependency checksum failling

2011-05-11 Thread Luiz Fernando Rodrigues
You'll have to complain to the owner of that Netbeans repo to get a
corrupted file fixed. This is not the right place to complain about
such matters.

No. The curious thing about all of it is that the file is ok in the repo
(netbeans or nexus) but when I download it via maven it is corrupted. If I
download it via browser it works.
I thought it was a proxy issue but, thinking better, the request doesn't go
through the proxy when I download it from nexus.
I wonder why it is happening. At least I can now build my app replacing the
local repo with the files downloaded via browser.

2011/5/9 Wayne Fay 

> > Actually the checksum is failing because the jar file is corrupted.
> That's
> > why the building is breaking.
>
> You'll have to complain to the owner of that Netbeans repo to get a
> corrupted file fixed. This is not the right place to complain about
> such matters.
>
> > What do you mean with things locked down?
>
> I was suggesting that the default configuration of Maven will not
> BREAK your build simply due to checksums not matching. Only if you
> "lock things down" with some stricter configuration would the build
> fail on such issues.
>
> Wayne
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Maven Issue with javadoc

2011-05-11 Thread Wendy Smoak
On Wed, May 11, 2011 at 3:02 AM, Jagadeesh Naidu G  wrote:
>    Embedded error: Error rendering Maven report: Exit code: 1 -
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/src/test/java/com/mtvi/mediabus/anystream/AnystreamResponseHandlerTest.java:11:
> cannot access com.mtvi.mediabus.anystream.AnystreamResponseHandler
>        bad class file:
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>        class file contains wrong class: org.junit.Test

The location of the bad class file is ...generated-classes/cobertura... .

Try disabling the Coberura plugin and see if the problem goes away.
Then look at your configuration for both Cobertura and Javadoc.  Do
you even *want* Javadoc for generated classes?

-- 
Wendy

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



Re: Nested artifacts

2011-05-11 Thread Asmann, Roland
Not 100% sure about this one, but you could try it with the 
dependency-plugin [1]. I believe it does not allow system-dependencies 
in its configuration, but judging from the sentence

"The artifact version is optional. If not set, the plugin will attempt 
to resolve it from the project dependencies and then the 
dependencyManagement section." [2]

I think that if you add that dependency to your 
dependency(-management)-list with the correct path, it should work.

Roland


[1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
[2] 
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html#The_dependency:unpack_mojo



On 20:59, EJ Ciramella wrote:
> Is there a simple way to unpack a dependency then unpack an artifact that 
> lives inside that dependency?
>
> We have several third party utilities stored in Nexus and referenced as 
> dependencies, but I'd like to unpack a rar that is nested within a zip.
>
> Is there a maven 2 way or do I just rely on an ant task?
>
> Thanks in advance!
>
> 
> CONFIDENTIALITY NOTICE: This e-mail and the information transmitted within 
> including any attachments is only for the recipient(s) to which it is 
> intended and may contain confidential and/or privileged material. Any review, 
> retransmission, dissemination or other use of; or taking of any action in 
> reliance upon this information by persons or entities other than the intended 
> recipient is prohibited. If you received this in error, please send the 
> e-mail back by replying to the sender and permanently delete the entire 
> message and its attachments from all computers and network systems involved 
> in its receipt.

-- 
Roland Asmann
Senior Software Engineer

adesso Austria GmbH
Floridotower 26. Stock  T +43 1 2198790-27
Floridsdorfer Hauptstr. 1   F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland.asm...@adesso.at
W www.adesso.at

-
 >>> business. people. technology. <<<
-
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Maven Issue with javadoc

2011-05-11 Thread Jagadeesh Naidu G
Hi,


Please help me out if you have any idea?. Same code is working fine for mvn 
site and mvn javadoc:javadoc and its not working for only mvn release:perform.




Thanks & Regards,
Jagadeesh G. | Lead Engineer  | HCL Technologies Ltd. | ETA-2 Navaur|
Chennai, India. |  Mobile: +91-9840124794 Land:+91 4447464105 | 
www.hcl.com

[cid:image001.jpg@01CC1016.B43997E0]

From: Wayne Fay [via Maven] 
[mailto:ml-node+4387515-1373628335-207...@n5.nabble.com]
Sent: Wednesday, May 11, 2011 8:01 PM
To: Jagadeesh Guthikonda
Subject: Re: Maven Issue with javadoc

> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>class file contains wrong class: org.junit.Test
>Please remove or make sure it appears in the correct subdirectory of
> the classpath.
>import com.mtvi.mediabus.anystream.AnystreamResponseHandler;

Maven simply calls our to Javadoc to run this task. Most likely your
Java code has a problem or perhaps there's a bug in Javadoc.

Wayne

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



If you reply to this email, your message will be added to the discussion below:
http://maven.40175.n5.nabble.com/Maven-Issue-with-javadoc-tp4386627p4387515.html
To unsubscribe from Maven Issue with javadoc, click 
here.


::DISCLAIMER::
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

---


--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-Issue-with-javadoc-tp4386627p4387530.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Issue with building .net project through maven

2011-05-11 Thread Eric Kolotyluk

Maven is much much much more than Ant or NAnt.

Using Maven (NPanday) rather than Ant/NAnt is more like someone else 
peeling grapes and dropping them in your mouth. While Ant/NAnt is not as 
bad as the "good old days" of make (and makefile hell), since using 
Maven I have not had to write or read a single build.xml file (which I 
have never enjoyed).


Granted NPanday is not as far along as things like m2e, but the dream is 
alive to make is so.


Cheers, Eric

On 2011-05-11 4:35 AM, Eric Fetzer wrote:

I'm curious as to why you would use maven rather than NAnt to build a .NET 
project.  That's like Eating a bowl of soup with a knife...



On May 11, 2011, at 7:23 AM, Brett Porter  wrote:


You will need to provide more information about what you tried.

What plugins are you using to build the .NET project?

For example, is it http://incubator.apache.org/npanday/ ?

- Brett

On 11/05/2011, at 6:59 PM, sadaf2dec wrote:


I am getting below error while compiling my project with Maven.
"The project 'MyProject' is not a visual studio project" even it is a .net
project.

Please help me on this.


--
View this message in context: 
http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4386842.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


--
Brett Porter
br...@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





-
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



Re: Maven Issue with javadoc

2011-05-11 Thread Wayne Fay
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>        class file contains wrong class: org.junit.Test
>        Please remove or make sure it appears in the correct subdirectory of
> the classpath.
>        import com.mtvi.mediabus.anystream.AnystreamResponseHandler;

Maven simply calls our to Javadoc to run this task. Most likely your
Java code has a problem or perhaps there's a bug in Javadoc.

Wayne

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



Re: Maven 3 - Maven Validation Level

2011-05-11 Thread Karl Heinz Marbaise
Hi Benjamin,

that's the answer i expected but i wanted to play safe.

Thanks for clarifiaction.

Kind regards
Karl Heinz Marbaise


-
Kind regards
Karl Heinz Marbaise

http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-3-Maven-Validation-Level-tp4387400p4387477.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 - Maven Validation Level

2011-05-11 Thread Benjamin Bentmann

Karl Heinz Marbaise wrote:


Does exist a possibility to change the Maven Validation Level on command
line via a property etc. ? for Maven 3.0.3 ?


No.


Benjamin

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



Maven 3 - Maven Validation Level

2011-05-11 Thread Karl Heinz Marbaise
Hi to all,

i saw in Jenkins that it is possible to change the  "Maven Validation
Level". This possible cause Jenkins uses an embedded Maven for running jobs.

So the questions is:

Does exist a possibility to change the Maven Validation Level on command
line via a property etc. ? for Maven 3.0.3 ? 

This is particular interesstion for checking POM problem duplicate
definitions of dependencies, plugins etc. or missing versions...

Kind regards
Karl Heinz Marbaise



-
Kind regards
Karl Heinz Marbaise

http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-3-Maven-Validation-Level-tp4387400p4387400.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



How to add proxy information in maven3

2011-05-11 Thread amaresh mourya
Hi,

As the maven 3 has deprecated wagon manager component where one can add
proxy information and that was accessed everywhere. I want to know what's
the alternate of this deprecation, how can I add proxy information to a
central place which will accessed by all maven apis.

There is provision to add proxy info in
org.sonatype.aether.repository.RemoteRepository but It doesn't seem okay to
keep adding proxy in each repository.


Thanks,
Amaresh


RE: Issue with building .net project through maven

2011-05-11 Thread Martin Gainty

assuming you are compiling a C/C++ program 
the COMPILER.sourceDirectory parameter would specify the source folder for the 
nar-compile goal under maven-nar-plugin 
More info available at
http://duns.github.com/maven-nar-plugin/#nar-compile

like asking a mercedes mechanic to repair a broken yugo
Martin 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> CC: users@maven.apache.org
> From: elstonk...@yahoo.com
> Subject: Re: Issue with building .net project through maven
> Date: Wed, 11 May 2011 08:29:56 -0400
> To: users@maven.apache.org
> 
> OK, I didn't know those existed.  Do they resolve dependancies for you (ie 
> point at the sln file and all is well)?
> 
> 
> 
> On May 11, 2011, at 8:00 AM, sadaf2dec  wrote:
> 
> > In my project we are using different technologies...so we decided to use
> > maven to build the project.
> > 
> > --
> > View this message in context: 
> > http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4387169.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
> > 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
  

Re: Issue with building .net project through maven

2011-05-11 Thread Eric Fetzer
OK, I didn't know those existed.  Do they resolve dependancies for you (ie 
point at the sln file and all is well)?



On May 11, 2011, at 8:00 AM, sadaf2dec  wrote:

> In my project we are using different technologies...so we decided to use
> maven to build the project.
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4387169.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
> 

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



Re: Issue with building .net project through maven

2011-05-11 Thread sadaf2dec
In my project we are using different technologies...so we decided to use
maven to build the project.

--
View this message in context: 
http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4387169.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: Issue with building .net project through maven

2011-05-11 Thread sadaf2dec
I am using below two plugins

org.codehaus.sonar-plugins.dotnet
org.codehaus.mojo


Thanks a lot in advance

--
View this message in context: 
http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4387163.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: Issue with building .net project through maven

2011-05-11 Thread Eric Fetzer
I'm curious as to why you would use maven rather than NAnt to build a .NET 
project.  That's like Eating a bowl of soup with a knife...



On May 11, 2011, at 7:23 AM, Brett Porter  wrote:

> You will need to provide more information about what you tried.
> 
> What plugins are you using to build the .NET project?
> 
> For example, is it http://incubator.apache.org/npanday/ ?
> 
> - Brett
> 
> On 11/05/2011, at 6:59 PM, sadaf2dec wrote:
> 
>> I am getting below error while compiling my project with Maven.
>> "The project 'MyProject' is not a visual studio project" even it is a .net
>> project.
>> 
>> Please help me on this.
>> 
>> 
>> --
>> View this message in context: 
>> http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4386842.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
>> 
> 
> --
> Brett Porter
> br...@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
> 
> 
> 
> 
> 
> -
> 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



Re: Issue with building .net project through maven

2011-05-11 Thread Brett Porter
You will need to provide more information about what you tried.

What plugins are you using to build the .NET project?

For example, is it http://incubator.apache.org/npanday/ ?

- Brett

On 11/05/2011, at 6:59 PM, sadaf2dec wrote:

> I am getting below error while compiling my project with Maven.
> "The project 'MyProject' is not a visual studio project" even it is a .net
> project.
> 
> Please help me on this.
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4386842.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
> 

--
Brett Porter
br...@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





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



Re: Execute a plugin after execution of another plugin

2011-05-11 Thread Anders Hammar
The only way to do that would be to specify the other plugin's execution
right after eclipse:eclipse on the command line. For example:

mvn eclipse:eclipse myplugin:patch

I guess the easiest thing would be to write a script that you use for this.

/Anders
On Wed, May 11, 2011 at 11:52, Konrad Bernstein  wrote:

> Hi,
>
> I want to execute a plugin after execution of another plugin (goal).
> More concrete: I need to patch the eclipse file '.classpath' each time "mvn
> eclipse:eclipse" has been called.
> So I can't bind execution to a phase.
>
> Thanks in advance,
>
> Konrad
>
> --
> NEU: FreePhone - kostenlos mobil telefonieren und surfen!
> Jetzt informieren: http://www.gmx.net/de/go/freephone
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Execute a plugin after execution of another plugin

2011-05-11 Thread Konrad Bernstein
Hi,

I want to execute a plugin after execution of another plugin (goal).
More concrete: I need to patch the eclipse file '.classpath' each time "mvn 
eclipse:eclipse" has been called.
So I can't bind execution to a phase.

Thanks in advance,

Konrad

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

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



Re: metadata.xml

2011-05-11 Thread Benjamin Bentmann

Gracia, Adrien wrote:


The timestamp and the last updated value is the file modified timestamp


Just be sure to store  in UTC.


Benjamin

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



Issue with building .net project through maven

2011-05-11 Thread sadaf2dec
I am getting below error while compiling my project with Maven.
"The project 'MyProject' is not a visual studio project" even it is a .net
project.

Please help me on this.


--
View this message in context: 
http://maven.40175.n5.nabble.com/Issue-with-building-net-project-through-maven-tp4386842p4386842.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 Issue with javadoc

2011-05-11 Thread Jagadeesh Naidu G
While iam doing release my application iam getting error as below. Please
help me out how to solve this issue.

  Loading source files for package
com.mtvi.mediabus.anystream.restservices...
Constructing Javadoc information...
1 error
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error during page generation

Embedded error: Error rendering Maven report: Exit code: 1 -
/u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/src/test/java/com/mtvi/mediabus/anystream/AnystreamResponseHandlerTest.java:11:
cannot access com.mtvi.mediabus.anystream.AnystreamResponseHandler
bad class file:
/u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
class file contains wrong class: org.junit.Test
Please remove or make sure it appears in the correct subdirectory of
the classpath.
import com.mtvi.mediabus.anystream.AnystreamResponseHandler;
   ^

Command line was:"cd
/u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/site/testapidocs
&& /usr/java/jdk1.5.0_07/jre/../bin/javadoc" @options @packages
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 16 minutes 23 seconds
[INFO] Finished at: Tue May 10 07:27:44 EDT 2011
[INFO] Final Memory: 202M/509M
[INFO]

2011-05-10 07:27:45.551::INFO:  Shutdown hook executing
2011-05-10 07:27:45.552::INFO:  Shutdown hook complete
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Maven execution failed, exit code: '1'

[INFO]

[INFO] For more information, run Maven with the -e switch 


Hi please find the pom.xml below for the above issue.






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";>

com.mtvi.mediabus
mediabus
1.0.24-SNAPSHOT

4.0.0
mediabus-transcoder
mediabus-transcoder
1.0.24-SNAPSHOT
Media Bus Transcoder service
   


   
buildWithIntegrationTestCoverage


   
buildWithIntegrationTestCoverage
true





   
org.codehaus.mojo
   
cobertura-maven-plugin
2.3


   
instrument-classes
   
package

   
instrument




   

   
org.mortbay.jetty
   
maven-jetty-plugin


   
org.codehaus.mojo
   
cobertura-maven-plugin
   
2.3
   
jar