maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Omega <jason007tho...@yahoo.com>
Subject Re: having problems with java -cp taget command
Date Mon, 19 Dec 2011 05:20:39 GMT
thank you
I'm going to research on the proxy subject 

I didnt know learning all this would be so difficult. I'm just a junior in college just getting
past C++ and Java
but I now my proxy is in settings so I think i'm in the right direction

thanks again!!!



________________________________
 From: Wayne Fay [via Maven] <ml-node+s40175n5085064h71@n5.nabble.com>
To: Apache Omega <jason007thomas@yahoo.com> 
Sent: Sunday, December 18, 2011 10:24 PM
Subject: Re: having problems with java -cp taget command
 

> Running org.jason.ShadowInnovations.AppTest 
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec 
... 
> when I run java -cp target\TestAppTest-1.0-SNAPSHOT.jar 
> (and then)org.jason.ShadowInnovations.App (that didnt work [Error: Could not find or
load main class jar] so I put 
> in)org.jason.ShadowInnovations.AppTest (and i got [Error: Could not find or load main
class] 

Maven does not package your test files into the primary project 
artifact. Thus you will not get java -jar xyz.jar blah.AppTest to work 
without additional configuration in the pom file. 

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/having-problems-with-java-cp-taget-command-tp5084317p5085064.html

To unsubscribe from having problems with java -cp taget command, click here.
NAML 

--
View this message in context: http://maven.40175.n5.nabble.com/having-problems-with-java-cp-taget-command-tp5084317p5085115.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message