Modifying a CSS file with Groovy in target before packaged into WAR
Hi, I'm trying to figure out how to get my Groovy code to execute after my CSS files has been copied from /src to /target, but *before* the content is packaged from /target into the WAR file. Any hint on where to add this into the pom.xml?!? Thanks in advance! /Per -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728.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: Modifying a CSS file with Groovy in target before packaged into WAR
I forgot to mention we are using Maven 2.2.1. -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746729.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: Modifying a CSS file with Groovy in target before packaged into WAR
Exactly what folder do you have your css files in? /Anders On Tue, Feb 12, 2013 at 9:30 AM, Cagecurrent p...@cagecurrent.com wrote: Hi, I'm trying to figure out how to get my Groovy code to execute after my CSS files has been copied from /src to /target, but *before* the content is packaged from /target into the WAR file. Any hint on where to add this into the pom.xml?!? Thanks in advance! /Per -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728.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: Modifying a CSS file with Groovy in target before packaged into WAR
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Built-in_Lifecycle_Bindings Have a look at the war lifecycle, you'll see that there is only one goal that does the copying from src/main/webapp to target/${finalName} and that is the war:war goal which does the copy and zip in one step. On 12 February 2013 08:30, Cagecurrent p...@cagecurrent.com wrote: Hi, I'm trying to figure out how to get my Groovy code to execute after my CSS files has been copied from /src to /target, but *before* the content is packaged from /target into the WAR file. Any hint on where to add this into the pom.xml?!? Thanks in advance! /Per -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728.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 2 tree vs Maven 3 list
I moved this ticket to the dependency plugin. /Anders On Tue, Feb 12, 2013 at 6:55 AM, Richard Vowles rich...@bluetrainsoftware.com wrote: I made a bug report focused on the disappearing dependencies in Aether. http://jira.codehaus.org/browse/MNG-5433
Repackage Apache Jar
Hello All, In my company we have checkout and modified One class of org.apache.axis2:axis2-transport-http:1.5.1 We repackage it as a jar but with ours modification and Explicit other artifact name. But in the following section: plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version1.4.0/version extensionstrue/extensions configuration instructions Bundle-Version1.0/Bundle-Version Bundle-Name${pom.artifactId}/Bundle-Name Bundle-Version${pom.version}/Bundle-Version Bundle-VendorApache Software Foundation/Bundle-Vendor Bundle-Description${pom.description}/Bundle-Description Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName Export-Package org.apache.axis2.transport.http.*;-split-package:=merge-last, /Export-Package /instructions /configuration /plugin We must let Vender Apache Software Foundation, or we change for our company name, or place Apache Software Foundation and our company name ? Thank a lot best regards, Adrien Ruffié
Re: Modifying a CSS file with Groovy in target before packaged into WAR
Anders: My files are in src/main/webapp/shared/eipa/css/elayout.css, and the target is folder is target/ROOT/shared/eipa/css/elayout.css -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746742.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: Modifying a CSS file with Groovy in target before packaged into WAR
Stephen, so you mean that I *can't* add anything in the middle of that? Or can I override the normal process? Sorry if I ask stupid questions, but I'm not that fluid in speaking Maven. :) -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746743.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: Modifying a CSS file with Groovy in target before packaged into WAR
You can't. Those files are copied and package in one go. If you explain what you want to do, without including a solution you think is right, we can probably help you. I think you're trying to modifying the css files through executing a groovy script, is that right? /Anders On Tue, Feb 12, 2013 at 10:20 AM, Cagecurrent p...@cagecurrent.com wrote: Stephen, so you mean that I *can't* add anything in the middle of that? Or can I override the normal process? Sorry if I ask stupid questions, but I'm not that fluid in speaking Maven. :) -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746743.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: Modifying a CSS file with Groovy in target before packaged into WAR
Yes, I want to be able to use Groovy to modify the image references in the CSS, but *not* in the /src directory as that is in subversion. The change I'm doing is to be able to increase the caching times for the images. So for example I would replace the image reference url(/images/myimage.png) with url(/images/myimage~r2323.png). This way I can have really long caching times for the images without having to manually change the name of the image. The ~r2323 will be removed in a rewrite in the proxy, so the image myimage.png will still be served from the server. But as I said, I don't want to modify the CSS in the /src folder as it will make subversion so it as edited. So the plan is to modify the version of the CSS file once it's been copied over the /target folder, but it needs to be done before the WAR is created. Thanks a lot for your help! /Per -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746755.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: Modifying a CSS file with Groovy in target before packaged into WAR
What you want to do is move the css out of src/main/webapp to e.g. src/processed/webapp Then you bind the groovy step for processing to the prepare-package phase (or any earlier one either) putting the processed files in target/generated-webapp/groovy/... and use http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webResourcesto add the target/generated-webapp/groovy directory that you've put the processed CSS files into back into the list of files that should be packaged into the war file. Warning: side-effect is that jetty:run will no longer have the CSS files. jetty:run-exploded will work, but you cannot live-edit the source files An alternative is to use a second webapp module to do the CSS processing between the exploding and repacking steps. Has the advantage of letting jetty:run continue to work. An alternative is to use resource filtering rather than Groovy to filter the CSS file. http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html you'd have in your CSS file something like url(/images/myimage${image-revision}.png) and have the war plugin filter CSS files so that the image-revision property gets substituted directly. Jetty:run may still have issues, but you've used standard maven tech to get to your end-game On 12 February 2013 09:43, Cagecurrent p...@cagecurrent.com wrote: Yes, I want to be able to use Groovy to modify the image references in the CSS, but *not* in the /src directory as that is in subversion. The change I'm doing is to be able to increase the caching times for the images. So for example I would replace the image reference url(/images/myimage.png) with url(/images/myimage~r2323.png). This way I can have really long caching times for the images without having to manually change the name of the image. The ~r2323 will be removed in a rewrite in the proxy, so the image myimage.png will still be served from the server. But as I said, I don't want to modify the CSS in the /src folder as it will make subversion so it as edited. So the plan is to modify the version of the CSS file once it's been copied over the /target folder, but it needs to be done before the WAR is created. Thanks a lot for your help! /Per -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746755.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: Repackage Apache Jar
You need to ask the Axis2 people, their PMC is responsible for their brand. On 12 February 2013 09:16, adrien ruffie adriennolar...@hotmail.fr wrote: Hello All, In my company we have checkout and modified One class of org.apache.axis2:axis2-transport-http:1.5.1 We repackage it as a jar but with ours modification and Explicit other artifact name. But in the following section: plugin groupIdorg.apache.felix/groupId artifactIdmaven-bundle-plugin/artifactId version1.4.0/version extensionstrue/extensions configuration instructions Bundle-Version1.0/Bundle-Version Bundle-Name${pom.artifactId}/Bundle-Name Bundle-Version${pom.version}/Bundle-Version Bundle-VendorApache Software Foundation/Bundle-Vendor Bundle-Description${pom.description}/Bundle-Description Bundle-SymbolicName${pom.artifactId}/Bundle-SymbolicName Export-Package org.apache.axis2.transport.http.*;-split-package:=merge-last, /Export-Package /instructions /configuration /plugin We must let Vender Apache Software Foundation, or we change for our company name, or place Apache Software Foundation and our company name ? Thank a lot best regards, Adrien Ruffié
Re: Modifying a CSS file with Groovy in target before packaged into WAR
Thanks for your help! :) I guess another solution would be to modify the CSS files in the WAR after that it has been created, do you see any problems with that? -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746761.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 2 tree vs Maven 3 list
Even if I find this bug critical I think nobody had the time to study it more deeply (me the first) and for now I'm always downgrading to maven 2 and the dependency plugin 2.4 when I have to use either the tree or the list goals (which is a mess). Like you I provided some logs but I didn't succeeded to create an easy test case to create an integration test case. Aether is sadly a bug black box for many of us which explains why it's not easy to fix. - Arnaud Le 12 févr. 2013 à 08:09, Richard Vowles rich...@bluetrainsoftware.com a écrit : So do we know if they are being worked on? Is there a page somewhere that might explain where to start to find aether bugs? I remember the last time I looked and it was seriously confusing :-) Thanks for the heads up. On Feb 12, 2013 7:26 PM, Arnaud Héritier aherit...@gmail.com wrote: Yes there are some known issues already open in the dependency plugin Jira. The bug is somewhere in the dependency walker of aether. It seems that aether has the right deps but it doesn't allow plugins (I had the bug in dependency plugin but also in enforcer) to browse these deps accordingly to what it has in memory. - Arnaud Le 12 févr. 2013 à 06:55, Richard Vowles rich...@bluetrainsoftware.com a écrit : I made a bug report focused on the disappearing dependencies in Aether. http://jira.codehaus.org/browse/MNG-5433 - 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 proxy problem in ubuntu 12.04
Hi all, I would like to ask about the maven in ubuntu 12.04. I downloaded maven version: 3.0.4 and tried to run the mvn archtype:generate, then I have the result like bellow: *dzung@dzung:~$ mvn archtype:generate [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.0: Plugin org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5* I tried to search google and they said that maybe I have to configure the proxy in ~/.m2/settings.xml but I don't know what the information of proxy ip, port I have to add in settings.xml. I checked in System Setting -- Network Settings of ubuntu 12.04 and see that the proxy mode is None. Could you please give me an advice ? Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764.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 proxy problem in ubuntu 12.04
Are you behind a http proxy? If you're in a corporate environment you most likely are. /Anders On Tue, Feb 12, 2013 at 12:37 PM, dzungdev dzung...@gmail.com wrote: Hi all, I would like to ask about the maven in ubuntu 12.04. I downloaded maven version: 3.0.4 and tried to run the mvn archtype:generate, then I have the result like bellow: *dzung@dzung:~$ mvn archtype:generate [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.0: Plugin org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5* I tried to search google and they said that maybe I have to configure the proxy in ~/.m2/settings.xml but I don't know what the information of proxy ip, port I have to add in settings.xml. I checked in System Setting -- Network Settings of ubuntu 12.04 and see that the proxy mode is None. Could you please give me an advice ? Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764.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: Modifying a CSS file with Groovy in target before packaged into WAR
That is the An alternative is to use a second webapp module to do the CSS processing between the exploding and repacking steps. route I suggested On 12 February 2013 10:31, Cagecurrent p...@cagecurrent.com wrote: Thanks for your help! :) I guess another solution would be to modify the CSS files in the WAR after that it has been created, do you see any problems with that? -- View this message in context: http://maven.40175.n5.nabble.com/Modifying-a-CSS-file-with-Groovy-in-target-before-packaged-into-WAR-tp5746728p5746761.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 proxy problem in ubuntu 12.04
Your ~/.m2/settings.xml may need an entry similar to below. Full docs for this can be found on the main maven website. This works correctly on my Ubuntu system with openjdk7, netbeans, eclipse, jenkins and command line. You may be able to find the proxy info from your IT group or in firefox or IE Internet settings. proxies proxy activetrue/active protocolhttp/protocol hostfirewall.domain.com/host usernamewe...b/username password.../password port8080/port nonProxyHostslocalhost/nonProxyHosts /proxy /proxies Original Message Subject: Maven proxy problem in ubuntu 12.04 From: dzungdev To: users@maven.apache.org Date: 02/12/2013 05:37 AM Hi all, I would like to ask about the maven in ubuntu 12.04. I downloaded maven version: 3.0.4 and tried to run the mvn archtype:generate, then I have the result like bellow: *dzung@dzung:~$ mvn archtype:generate [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.4.1: Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1: Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.0/maven-site-plugin-3.0.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:3.0: Plugin org.apache.maven.plugins:maven-site-plugin:3.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:3.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2-beta-5/maven-assembly-plugin-2.2-beta-5.pom [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5* I tried to search google and they said that maybe I have to configure the proxy in ~/.m2/settings.xml but I don't know what the information of proxy ip, port I have to add in settings.xml. I checked in System Setting -- Network Settings of ubuntu 12.04 and see that the proxy mode is None. Could you please give me an advice ? Thanks and best regards, Dzung - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Why is the functionality of the all attribute of the RequireActiveProfile rule commented out?
Found it at https://svn.apache.org/repos/asf/maven/enforcer. Still, what gives? Why is it commented out? You'd have to check svn logs/history to see who commented it out, and ask them directly. ;-) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Tiles dependencies needed for Maven (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE Does anyone have a list of the dependencies necessary to use Tiles with Spring? Isaac Classification: UNCLASSIFIED Caveats: NONE smime.p7s Description: S/MIME cryptographic signature
Re: Tiles dependencies needed for Maven (UNCLASSIFIED)
Please ask the Tiles mailing list. Antonio 2013/2/12 Carter, Isaac S CTR USARMY HRC (US) isaac.s.carter@mail.mil Classification: UNCLASSIFIED Caveats: NONE Does anyone have a list of the dependencies necessary to use Tiles with Spring? Isaac Classification: UNCLASSIFIED Caveats: NONE
Re: Tiles dependencies needed for Maven (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE Does anyone have a list of the dependencies necessary to use Tiles with Spring? Unfortunately that information is Classified!! Only the Apache Tiles User (or Dev) List has sufficient clearance to fulfill your request. ;-) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Tiles dependencies needed for Maven (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE Lol. Sorry about that. Typical email work stuff. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, February 12, 2013 11:19 AM To: Maven Users List Subject: Re: Tiles dependencies needed for Maven (UNCLASSIFIED) Classification: UNCLASSIFIED Caveats: NONE Does anyone have a list of the dependencies necessary to use Tiles with Spring? Unfortunately that information is Classified!! Only the Apache Tiles User (or Dev) List has sufficient clearance to fulfill your request. ;-) Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Classification: UNCLASSIFIED Caveats: NONE - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to tell release:perform only to deploy specific modules
Hi Chris, Since you're well aware that you're fighting the release procedure as expected by the maven-release-plugin, I'd suggest not to use release:perform As described on the perform a release-page[1] this goal does just 2 things: - Checkout from an SCM URL with optional tag - Run the predefined Maven goals to release the project (by default, deploy site-deploy) These are steps you can do with or without Maven. Robert ps. Maybe you can convince your team if you can show them how easy a release:perform is when the structure better fits the release cycle. btw. additionalArguments is filled with arguments[2] [1] http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html [2] http://maven.apache.org/maven-release/maven-release-plugin/perform-mojo.html#arguments Op Sat, 09 Feb 2013 19:13:23 +0100 schreef christofer.d...@c-ware.de christofer.d...@c-ware.de: Hi, this is a relatively special case and I am sort of running out of options. I am trying to setup a build that it allows minor releases of individual projects (I don't want to get into a discussion about if this is a good thing ... please). Now I am using release:prepare to prepare the release by providing version numbers for all modules in the project. This is working great. Unfortunately I would like to invoke release:perform and use mavens -projects property to limit the reactor to a specific subset of artifacts. Otherwise the build would try to deploy artifacts that have been previously released and would instantly fail. Unfortunately the -projects is only picked up by the main maven process, the setting is not passed to the spawned deploy maven build in the checkout-directory. How could I configure the build to act as I want? I have noticed the additionalArguments property in the release.properties, and was thinking about putting my -projects in there, but I guess this would be applied to several executions and not only the deploy build in the separate checkout. Chris - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to Get DefaultProjectBuilderConfiguration
Hi, Take some time to read this chapter [1] and you should be able to find the answer. These pages cover almost every issue you'll hit when writing custom Maven plugins. I noticed these pages are still based on doclet-tags. We've introduced annotations recently, but it's quite easy to translate doclet-tags to annotations. Robert [1] http://www.sonatype.com/books/mvnref-book/reference/writing-plugins.html Op Sun, 10 Feb 2013 01:29:45 +0100 schreef kamaci furkankam...@gmail.com: How can I get the default project builder configuration of my maven project when I implement my custom maven plugin? I will get execution properties from it (I think I can get the maven variables values from it i.e. project.version, bamboo.build.number etc.) I am searching for a way i.e. I will say getProperty(bamboo.build.number) and it will return me the value of it as like how maven understand its value when it processes a pom.xml If there is another easy way to retrieve it you are welcome. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-Get-DefaultProjectBuilderConfiguration-tp5746525.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: Maven POM file question
How can I use a different name like pom.company.xml instead of pom.xml? For all intents and purposes, you cannot. Why do you want to do this? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven POM file question
Just wondering if it can be done. Are locked into using only pom.xml? Let's say I make a label on my application and I build that application based on that label. I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? On Tue, Feb 12, 2013 at 12:15 PM, Wayne Fay wayne...@gmail.com wrote: How can I use a different name like pom.company.xml instead of pom.xml? For all intents and purposes, you cannot. Why do you want to do this? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Patrick D. Haggerty
Re: Maven POM file question
Let's say I make a label on my application and I build that application based on that label. What does make a label on my application mean? Are you talking about tagging a build in source code? I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? You need to describe things more completely if you want a better answer from this list. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven POM file question
Hi Patrick, How can I use a different name like pom.company.xml instead of pom.xml? Did you try the -f flag? mvn -f pom.company.xml ... Run man mvn for more details. HTH, Curtis On Tue, Feb 12, 2013 at 11:12 AM, Patrick Haggerty pdhagge...@gmail.comwrote: How can I use a different name like pom.company.xml instead of pom.xml? -- Patrick D. Haggerty
Re: Maven POM file question
Here are the steps in my proccess: Edit code, Local build and test, Check code in, Apply Label to all files in my application, Request Build based on label using Corporate Build system. (It gets code based on the label and builds it, packages it and deploys it to Nexus then to the Target App WAS servers. During this process the pom file gets changed to satisfy the build #. Now the POM files is different from the one that has been labeled. Audit does not like the fact that the pom file changes during the build. Would like to see the build version passed as a parameter so the pom file does not get changed during the build. Thanks, PDH On Tue, Feb 12, 2013 at 12:36 PM, Wayne Fay wayne...@gmail.com wrote: Let's say I make a label on my application and I build that application based on that label. What does make a label on my application mean? Are you talking about tagging a build in source code? I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? You need to describe things more completely if you want a better answer from this list. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Patrick D. Haggerty
Re: Maven POM file question
Hi Patrick, Would like to see the build version passed as a parameter so the pom file does not get changed during the build. Definitely. You can use buildnumber-maven-plugin [1, 2] to embed your SCM revision in the JAR. For an actual build number, you can pass it as a parameter from your CIS (e.g., Jenkins uses ${BUILD_NUMBER}). -Curtis [1] http://mojo.codehaus.org/buildnumber-maven-plugin/ [2] Sample configuration: https://github.com/scijava/scijava-common/blob/a7f2089ccd3f1451b75bd0170b16d399aa73cb9c/pom-scijava/pom.xml. Search for buildnumber for all the important bits. On Tue, Feb 12, 2013 at 12:01 PM, Patrick Haggerty pdhagge...@gmail.comwrote: Here are the steps in my proccess: Edit code, Local build and test, Check code in, Apply Label to all files in my application, Request Build based on label using Corporate Build system. (It gets code based on the label and builds it, packages it and deploys it to Nexus then to the Target App WAS servers. During this process the pom file gets changed to satisfy the build #. Now the POM files is different from the one that has been labeled. Audit does not like the fact that the pom file changes during the build. Would like to see the build version passed as a parameter so the pom file does not get changed during the build. Thanks, PDH On Tue, Feb 12, 2013 at 12:36 PM, Wayne Fay wayne...@gmail.com wrote: Let's say I make a label on my application and I build that application based on that label. What does make a label on my application mean? Are you talking about tagging a build in source code? I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? You need to describe things more completely if you want a better answer from this list. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Patrick D. Haggerty
Re: Maven 2 tree vs Maven 3 list
Ok - so is anyone actively working on it? I suspect finding what the bug is will make it easier to create a test case for it, so if no-one else has the time, I will find the time. Thanks! Richard On Wed, Feb 13, 2013 at 12:22 AM, Arnaud Héritier aherit...@gmail.comwrote: Even if I find this bug critical I think nobody had the time to study it more deeply (me the first) and for now I'm always downgrading to maven 2 and the dependency plugin 2.4 when I have to use either the tree or the list goals (which is a mess). Like you I provided some logs but I didn't succeeded to create an easy test case to create an integration test case. Aether is sadly a bug black box for many of us which explains why it's not easy to fix. - Arnaud Le 12 févr. 2013 à 08:09, Richard Vowles rich...@bluetrainsoftware.com a écrit : So do we know if they are being worked on? Is there a page somewhere that might explain where to start to find aether bugs? I remember the last time I looked and it was seriously confusing :-) Thanks for the heads up. On Feb 12, 2013 7:26 PM, Arnaud Héritier aherit...@gmail.com wrote: Yes there are some known issues already open in the dependency plugin Jira. The bug is somewhere in the dependency walker of aether. It seems that aether has the right deps but it doesn't allow plugins (I had the bug in dependency plugin but also in enforcer) to browse these deps accordingly to what it has in memory. - Arnaud Le 12 févr. 2013 à 06:55, Richard Vowles rich...@bluetrainsoftware.com a écrit : I made a bug report focused on the disappearing dependencies in Aether. http://jira.codehaus.org/browse/MNG-5433 - 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 -- --- Richard Vowles, Grails, Groovy, Java, Javascript, AngularJS Consistency is the last refuge of the unimaginative - Oscar Wilde ph: +64275467747, google+:http://rvowl.es/UX8Bmq podcast: http://www.illegalargument.com
Re: Maven POM file question
How can I use a different name like pom.company.xml instead of pom.xml? Did you try the -f flag? mvn -f pom.company.xml ... That will not work with other Maven related tools such as m2e though. /Anders Run man mvn for more details. HTH, Curtis On Tue, Feb 12, 2013 at 11:12 AM, Patrick Haggerty pdhagge...@gmail.com wrote: How can I use a different name like pom.company.xml instead of pom.xml? -- Patrick D. Haggerty
Re: Maven POM file question
How are you using SNAPSHOTs and releases? How do they relate to versions in the SCM? Is your problem only around releases? Why do you not have a stable release number? Can you not do tagging in your SCM to identify the SCM version of the release? There seems to be something missing from your explanation. Your audit and traceability requirements seem to be pretty normal and usually maven follows a pretty acceptable set of practices. Maybe you should share a few more of the factors that makes your situation so unusual. Ron On 12/02/2013 12:21 PM, Patrick Haggerty wrote: Just wondering if it can be done. Are locked into using only pom.xml? Let's say I make a label on my application and I build that application based on that label. I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? On Tue, Feb 12, 2013 at 12:15 PM, Wayne Fay wayne...@gmail.com wrote: How can I use a different name like pom.company.xml instead of pom.xml? For all intents and purposes, you cannot. Why do you want to do this? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven POM file question
Have you taken a look at the Maven Release Plugin? It seems to do exactly what you want. In short: 1) Update the version in your pom to a stable version 2) Check in updated pom(s). 3) Label/tag the SCM with your current revision 4) Change the version in your pom to the next unstable version 5) Check in Voila, stable label and ready for next release. Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Tue, Feb 12, 2013 at 8:59 PM, Ron Wheeler rwhee...@artifact-software.com wrote: How are you using SNAPSHOTs and releases? How do they relate to versions in the SCM? Is your problem only around releases? Why do you not have a stable release number? Can you not do tagging in your SCM to identify the SCM version of the release? There seems to be something missing from your explanation. Your audit and traceability requirements seem to be pretty normal and usually maven follows a pretty acceptable set of practices. Maybe you should share a few more of the factors that makes your situation so unusual. Ron On 12/02/2013 12:21 PM, Patrick Haggerty wrote: Just wondering if it can be done. Are locked into using only pom.xml? Let's say I make a label on my application and I build that application based on that label. I still need to modify the POM file to set the version. I do not want to change files that have been labeled. Is my understanding wrong? On Tue, Feb 12, 2013 at 12:15 PM, Wayne Fay wayne...@gmail.com wrote: How can I use a different name like pom.company.xml instead of pom.xml? For all intents and purposes, you cannot. Why do you want to do this? Wayne --**--** - To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --**--**- To unsubscribe, e-mail: users-unsubscribe@maven.**apache.orgusers-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-surefire-plugin 2.13: test order (know about runOrder)?
Can one control the ordering of test *methods* inside a test class? I'm using JUnit 4.11 and Surefire 2.13. It seems to me from the wording of the runOrder parameter this would be used to choose what test *classes* to run in what order. One of our developers is pointing out that Surefire 2.13 seems to have changed the order that it uses to run methods inside her test class. While I know and you don't have to tell me that ordering shouldn't be a property of unit tests, I want to at least understand if it is controllable or not. Thanks very much, Best, Laird -- http://about.me/lairdnelson
AW: How to tell release:perform only to deploy specific modules
First of all ... thank you for replying. Hopefully I will be able to post some stuff that doesn't scare the crap out of normal Maven users one day ;-) Well I doubt that I will be able to convince them. This build is a very special case and they do have valid reasons for this. I do know that I will probably never have to setup a build like this again, but in this case the solution is the best solution for that particular case. They are aware of the problems that come with this and are sort of begging me to finish automating the build-system for them. I already had the Idea of creating a custom deploy mojo, inspired by the maven release:perform mojo, but would really like to automate this without a custom plugin. I did do some research but couldn't find a way to actually do a checkout of a tag to some place and then trigger a Maven build there. I know the checkout is not the problem here, but more the triggering of a separate Maven build ... how could I configure such a thing from the Maven commandline? And thanks again for your help ... it's greatly appreciated. Chris -Ursprüngliche Nachricht- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Dienstag, 12. Februar 2013 17:36 An: Maven Users List Betreff: Re: How to tell release:perform only to deploy specific modules Hi Chris, Since you're well aware that you're fighting the release procedure as expected by the maven-release-plugin, I'd suggest not to use release:perform As described on the perform a release-page[1] this goal does just 2 things: - Checkout from an SCM URL with optional tag - Run the predefined Maven goals to release the project (by default, deploy site-deploy) These are steps you can do with or without Maven. Robert ps. Maybe you can convince your team if you can show them how easy a release:perform is when the structure better fits the release cycle. btw. additionalArguments is filled with arguments[2] [1] http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html [2] http://maven.apache.org/maven-release/maven-release-plugin/perform-mojo.html#arguments Op Sat, 09 Feb 2013 19:13:23 +0100 schreef christofer.d...@c-ware.de christofer.d...@c-ware.de: Hi, this is a relatively special case and I am sort of running out of options. I am trying to setup a build that it allows minor releases of individual projects (I don't want to get into a discussion about if this is a good thing ... please). Now I am using release:prepare to prepare the release by providing version numbers for all modules in the project. This is working great. Unfortunately I would like to invoke release:perform and use mavens -projects property to limit the reactor to a specific subset of artifacts. Otherwise the build would try to deploy artifacts that have been previously released and would instantly fail. Unfortunately the -projects is only picked up by the main maven process, the setting is not passed to the spawned deploy maven build in the checkout-directory. How could I configure the build to act as I want? I have noticed the additionalArguments property in the release.properties, and was thinking about putting my -projects in there, but I guess this would be applied to several executions and not only the deploy build in the separate checkout. Chris - 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: How to tell release:perform only to deploy specific modules
Hi Chris, Unfortunately I would like to invoke release:perform and use mavens -projects property to limit the reactor to a specific subset of artifacts. Otherwise the build would try to deploy artifacts that have been previously released and would instantly fail. This probably does not completely solve your problem, but my team had a vaguely similar issue with incremental deployment [1], and decided to write a script that deploys only changed artifacts: https://github.com/scijava/scijava-common/blob/master/bin/incremental-deploy.sh Maybe it is useful to you. Regards, Curtis [1] http://mail-archives.apache.org/mod_mbox/maven-users/201205.mbox/%3CCADN69ynMmyS-V%2BeROd44Z1qeCKZvJBfc828fumphsvvmnx8Wrg%40mail.gmail.com%3E On Sat, Feb 9, 2013 at 12:13 PM, christofer.d...@c-ware.de christofer.d...@c-ware.de wrote: Hi, this is a relatively special case and I am sort of running out of options. I am trying to setup a build that it allows minor releases of individual projects (I don't want to get into a discussion about if this is a good thing ... please). Now I am using release:prepare to prepare the release by providing version numbers for all modules in the project. This is working great. Unfortunately I would like to invoke release:perform and use mavens -projects property to limit the reactor to a specific subset of artifacts. Otherwise the build would try to deploy artifacts that have been previously released and would instantly fail. Unfortunately the -projects is only picked up by the main maven process, the setting is not passed to the spawned deploy maven build in the checkout-directory. How could I configure the build to act as I want? I have noticed the additionalArguments property in the release.properties, and was thinking about putting my -projects in there, but I guess this would be applied to several executions and not only the deploy build in the separate checkout. Chris
Re: maven-surefire-plugin 2.13: test order (know about runOrder)?
Hi Laird, The execution order of the methods within a test class is in control of Junit itself. AFAIK, Junit 4.11 contains a change to order the execution of @Test methods alphabetically by default. [1] has some information on how to control that behavior. I think what's now called the JVM sorting was the default behavior in previous versions. [1] http://www.hascode.com/2012/11/new-features-in-junit-4-11/#Test_Execution_Order Cheers, Andreas Am Dienstag, 12. Februar 2013 schrieb Laird Nelson : Can one control the ordering of test *methods* inside a test class? I'm using JUnit 4.11 and Surefire 2.13. It seems to me from the wording of the runOrder parameter this would be used to choose what test *classes* to run in what order. One of our developers is pointing out that Surefire 2.13 seems to have changed the order that it uses to run methods inside her test class. While I know and you don't have to tell me that ordering shouldn't be a property of unit tests, I want to at least understand if it is controllable or not. Thanks very much, Best, Laird -- http://about.me/lairdnelson
Re: maven-surefire-plugin 2.13: test order (know about runOrder)?
On Tue, Feb 12, 2013 at 2:43 PM, Andreas Gudian andreas.gud...@gmail.comwrote: The execution order of the methods within a test class is in control of Junit itself. Thanks, Andreas; that explains it. Best, Laird -- http://about.me/lairdnelson
Re: maven-surefire-plugin 2.13: test order (know about runOrder)?
Can one control the ordering of test *methods* inside a test class? I'm using JUnit 4.11 and Surefire 2.13. It seems to me from the wording of the runOrder parameter this would be used to choose what test *classes* to run in what order. One of our developers is pointing out that Surefire 2.13 seems to have changed the order that it uses to run methods inside her test class. While I know and you don't have to tell me that ordering shouldn't be a property of unit tests, I want to at least understand if it is controllable or not. If your test methods depend on the order in which they are executed they should be refactored to be atomic rather than trying to order them via the test framework. manfred - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven proxy problem in ubuntu 12.04
Hi Anders, Thank you for your idea, I am using it at home, so I don't think it is cooperate environment. Best Regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746836.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 proxy problem in ubuntu 12.04
Dear Hanasaki, I would like to say thanks for your detail explanation. I saw that you put the host is: firewall.domain.com but how I can get the information of username/password for it ? Actually I tried to get information of proxy via firefox by go to Edit -- Preference -- Advanced -- Network -- Settings but I saw that the current option is: use System proxy. Then I tried to check my ubuntu 12.04 to see proxy information but when I go to System setting -- network setting -- Proxy, the use mode is None. Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.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 proxy problem in ubuntu 12.04
how is system and environment dependent. It is probably time for you consult with whomever is responsible for the setup and administration of your system and/or network. Original Message Subject: Re: Maven proxy problem in ubuntu 12.04 From: dzungdev To: users@maven.apache.org Date: 02/12/2013 06:13 PM Dear Hanasaki, I would like to say thanks for your detail explanation. I saw that you put the host is: firewall.domain.com but how I can get the information of username/password for it ? Actually I tried to get information of proxy via firefox by go to Edit -- Preference -- Advanced -- Network -- Settings but I saw that the current option is: use System proxy. Then I tried to check my ubuntu 12.04 to see proxy information but when I go to System setting -- network setting -- Proxy, the use mode is None. Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.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: Maven proxy problem in ubuntu 12.04
Take one of those URLs and type wget http://... See if that works On Feb 13, 2013 1:14 PM, dzungdev dzung...@gmail.com wrote: Dear Hanasaki, I would like to say thanks for your detail explanation. I saw that you put the host is: firewall.domain.com but how I can get the information of username/password for it ? Actually I tried to get information of proxy via firefox by go to Edit -- Preference -- Advanced -- Network -- Settings but I saw that the current option is: use System proxy. Then I tried to check my ubuntu 12.04 to see proxy information but when I go to System setting -- network setting -- Proxy, the use mode is None. Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.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 proxy problem in ubuntu 12.04
Also check what Maven you are using. The Ubuntu/Debian package of Maven does some nasty rewriting and has some interesting default settings.. If you are using the debian package I would suggest to remove it and switch to a manual install from the apache download. manfred Take one of those URLs and type wget http://... See if that works On Feb 13, 2013 1:14 PM, dzungdev dzung...@gmail.com wrote: Dear Hanasaki, I would like to say thanks for your detail explanation. I saw that you put the host is: firewall.domain.com but how I can get the information of username/password for it ? Actually I tried to get information of proxy via firefox by go to Edit -- Preference -- Advanced -- Network -- Settings but I saw that the current option is: use System proxy. Then I tried to check my ubuntu 12.04 to see proxy information but when I go to System setting -- network setting -- Proxy, the use mode is None. Thanks and best regards, Dzung -- View this message in context: http://maven.40175.n5.nabble.com/Maven-proxy-problem-in-ubuntu-12-04-tp5746764p5746837.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