Simple question on packaging a Java Application
Say you have a Java application (j2Se) and it has some dependent modules. Easy - right??? How do I get the Java application packaged as a jar when in my clause in the Java application pom.xml is "pom"?
RE: Maven with a Proxy Server
Oh my gosh, one of the responders WAS CORRECT!!! The proxy has this nasty comment all around it!! GOOD JOB TEAM!!! YOU HAD THE ANSWER!!! Delete that comment and settings works!!! -Original Message- From: Antonio Petrelli [mailto:antonio.petre...@gmail.com] Sent: Wednesday, February 04, 2009 11:54 AM To: Maven Users List Subject: Re: Maven with a Proxy Server 2009/2/4 Horton, Anne B : > Antonio, > Thank you for trying to help me. I believe our proxy requires no > authentication so that would rule out being NTLM -right??? Not necessarily. Do you use Windows and login in a domain? In this case, most probably the proxy server will follow the authentication of the domain itself. It's a sort of Single-Sign-On. Antonio - 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 with a Proxy Server
Antonio, Thank you for trying to help me. I believe our proxy requires no authentication so that would rule out being NTLM -right??? Any other ideas? Thank you very much in advance, Anne -Original Message- From: Antonio Petrelli [mailto:antonio.petre...@gmail.com] Sent: Wednesday, February 04, 2009 11:24 AM To: Maven Users List Subject: Re: Maven with a Proxy Server 2009/2/4 Horton, Anne B : > Users, > > I just downloaded Maven and tried to run mvn compile. I see it > > "Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p > lugin/2.2/maven-resources-plugin-2.2 " > > And it tries to do this twice. > > > > It returns "BUILD ERROR" with > > Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found > in repository: Unable to download artifact from any repository > > > > So of course, I took the URL above and pasted it into IE and of course - > I get there just fine. So, I did the following: > > * Open settings.xml in the \conf\ directory of your Maven > installation directory > > * In IE, Tools, Internet Options > > * Click on Connections tab and then click on LAN settings > button > > * Copy the www..com in the Address: text box to the value > of tag. (I have replaced company info with ) > > * Copy the port number to the value of which is 8080 > > * Save settings.xml > > > > STILL DOESN'T WORK - any ideas on how to debug this I bet that you are behind a NTLM proxy (such as ISA server). See this: http://docs.codehaus.org/display/MAVENUSER/Configuring+Maven+behind+an+N TLM+proxy HTH Antonio - 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
Maven with a Proxy Server
Users, I just downloaded Maven and tried to run mvn compile. I see it "Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p lugin/2.2/maven-resources-plugin-2.2 " And it tries to do this twice. It returns "BUILD ERROR" with Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found in repository: Unable to download artifact from any repository So of course, I took the URL above and pasted it into IE and of course - I get there just fine. So, I did the following: * Open settings.xml in the \conf\ directory of your Maven installation directory * In IE, Tools, Internet Options * Click on Connections tab and then click on LAN settings button * Copy the www..com in the Address: text box to the value of tag. (I have replaced company info with ) * Copy the port number to the value of which is 8080 * Save settings.xml STILL DOESN'T WORK - any ideas on how to debug this Anne