Re: how to stop pom downloads
Did you deploy a pom too ? On Wed, Mar 4, 2009 at 11:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it. However, whenever I run a maven command it is constantly trying to check the pom against the server version. Example: Downloading: http://internal-maven-repo:8080/archiva/repository/internal//weblogic/webservices/9.2/webservices-9.2.pom This keeps repeating and it is really slow. I noticed that jars that I pulled from the Internet and cached in Archiva it does not do this for. Is there some way to stop it from doing this? Why does it appear to do it only for the jars I manually deployed? Thanks in advance, Davis -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - 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 stop pom downloads
On Wed, Mar 4, 2009 at 3:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it. However, whenever I run a maven command it is constantly trying to check the pom against the server version. Example: Downloading: http://internal-maven-repo:8080/archiva/repository/internal//weblogic/webservices/9.2/webservices-9.2.pom Does that file exist? This keeps repeating and it is really slow. I noticed that jars that I pulled from the Internet and cached in Archiva it does not do this for. Is there some way to stop it from doing this? Why does it appear to do it only for the jars I manually deployed? My guess is that when you deployed the artifacts, you did not deploy a pom or have one generated. Exactly how did you deploy the jars? -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
slaps-forehead -- I did mvn install:install-file -- can you make the install command generate a pom.xml? On Wed, Mar 4, 2009 at 5:51 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Mar 4, 2009 at 3:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it. However, whenever I run a maven command it is constantly trying to check the pom against the server version. Example: Downloading: http://internal-maven-repo:8080/archiva/repository/internal//weblogic/webservices/9.2/webservices-9.2.pom Does that file exist? This keeps repeating and it is really slow. I noticed that jars that I pulled from the Internet and cached in Archiva it does not do this for. Is there some way to stop it from doing this? Why does it appear to do it only for the jars I manually deployed? My guess is that when you deployed the artifacts, you did not deploy a pom or have one generated. Exactly how did you deploy the jars? -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
On Wed, Mar 4, 2009 at 3:56 PM, Davis Ford davisf...@zenoconsulting.biz wrote: slaps-forehead -- I did mvn install:install-file -- can you make the install command generate a pom.xml? Install is for your _local_ repo. You need deploy:deploy-file, and yes, there's a parameter -DgeneratePom=true (if that's not the default already...) -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
How did you use install:install-file to install something into Archiva? If you mean in your local repository: http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html#generatePom Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Mar 4, 2009 at 11:56 PM, Davis Ford davisf...@zenoconsulting.biz wrote: slaps-forehead -- I did mvn install:install-file -- can you make the install command generate a pom.xml? On Wed, Mar 4, 2009 at 5:51 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Mar 4, 2009 at 3:48 PM, Davis Ford davisf...@zenoconsulting.biz wrote: Hi, we have an internal repo here (using Archiva), and I manually deployed some jars to it. However, whenever I run a maven command it is constantly trying to check the pom against the server version. Example: Downloading: http://internal-maven-repo:8080/archiva/repository/internal//weblogic/webservices/9.2/webservices-9.2.pom Does that file exist? This keeps repeating and it is really slow. I noticed that jars that I pulled from the Internet and cached in Archiva it does not do this for. Is there some way to stop it from doing this? Why does it appear to do it only for the jars I manually deployed? My guess is that when you deployed the artifacts, you did not deploy a pom or have one generated. Exactly how did you deploy the jars? -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - 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 stop pom downloads
Wendy Smoak wrote: On Wed, Mar 4, 2009 at 3:56 PM, Davis Ford davisf...@zenoconsulting.biz wrote: slaps-forehead -- I did mvn install:install-file -- can you make the install command generate a pom.xml? Install is for your _local_ repo. You need deploy:deploy-file, and yes, there's a parameter -DgeneratePom=true (if that's not the default already...) Does Archiva not have some kind of web interface from which you can do an install? I know Nexus does. It handles building the POM for you. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
On Wed, Mar 4, 2009 at 4:02 PM, David C. Hicks dhi...@i-hicks.org wrote: Does Archiva not have some kind of web interface from which you can do an install? I know Nexus does. It handles building the POM for you. Yes, it does have a web interface with a checkbox to generate the pom, so that's an option if the OP prefers. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
Yes, archiva has a way to deploy through the web interface with generate pom option. I'm trying to use the weblogic-maven-plugin which requires all these silly jars from the weblogic install. I just did a manual install:install-file to my local repo to try to get it working. However, whenever I run a command like: mvn weblogic:deploy I have to wait a couple minutes while it hits the server to check for pom files. I know how to fix it now. I will deploy the jars to archiva, or else use the generatePom option for installing locally. The only annoying thing is that weblogic.jar is 53MB. I tried deploying that to archiva and it just times out. soapboxI did not pick weblogic/soapbox On Wed, Mar 4, 2009 at 6:02 PM, David C. Hicks dhi...@i-hicks.org wrote: Wendy Smoak wrote: On Wed, Mar 4, 2009 at 3:56 PM, Davis Ford davisf...@zenoconsulting.biz wrote: slaps-forehead -- I did mvn install:install-file -- can you make the install command generate a pom.xml? Install is for your _local_ repo. You need deploy:deploy-file, and yes, there's a parameter -DgeneratePom=true (if that's not the default already...) Does Archiva not have some kind of web interface from which you can do an install? I know Nexus does. It handles building the POM for you. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
On Wed, Mar 4, 2009 at 4:08 PM, Davis Ford davisf...@zenoconsulting.biz wrote: I have to wait a couple minutes while it hits the server to check for pom files. I know how to fix it now. I will deploy the jars to archiva, or else use the generatePom option for installing locally. The only annoying thing is that weblogic.jar is 53MB. I tried deploying that to archiva and it just times out. Wow, that's huge. If you have time, file an issue so the Archiva devs can look into the timeout problem. Meanwhile, if you can get the file to the repo server (scp? ftp?) you can do mvn deploy:deploy-file -Durl=file:///path/to/repo which should work. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
The only annoying thing is that weblogic.jar is 53MB. I tried deploying that to archiva and it just times out. There's no rule that says you can't break up a massive jar file like this into a series of jar files, and use dependencies to pull them all down and use them as needed... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
True - although that would take me a long time. In any event, I ended up getting the 53MB weblogic.jar deployed to archiva - yay! On Wed, Mar 4, 2009 at 7:50 PM, Wayne Fay wayne...@gmail.com wrote: The only annoying thing is that weblogic.jar is 53MB. I tried deploying that to archiva and it just times out. There's no rule that says you can't break up a massive jar file like this into a series of jar files, and use dependencies to pull them all down and use them as needed... Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: how to stop pom downloads
On Thu, Mar 5, 2009 at 12:09 PM, Davis Ford davisf...@zenoconsulting.biz wrote: True - although that would take me a long time. In any event, I ended up getting the 53MB weblogic.jar deployed to archiva - yay! BEWARE If you are using Weblogic 10 then you need to chase the dragons tail. As the jar defines a Class-Path in its Manifest using relative file definitions. You need to add EACH one of these files into your maven repository AND then define each artifact as a dependency in your pom. We ended up creating an internal dependency project just for weblogic so you can depend upon that instead of having to cut-and-paste for every project. However all the scopes are compile when some should be runtime) On my todo list is to extend the deploy plugin to also deploy artifacts defined in the Manfiest Class-Path... Here is the dependency pom (it may be useful to others) project xmlns=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; modelVersion4.0.0/modelVersion groupIdweblogic/groupId artifactIdweblogic-dependencies/artifactId packagingpom/packaging version10.0.0/version dependencies dependency groupIdweblogic/groupId artifactIdweblogic/artifactId version10.0.0/version /dependency dependency groupIdweblogic/groupId artifactIdjavax.jms_1.1/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdjavax.servlet_2.5/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.repackaged.asm_1.5.2/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.diagnostics.instrumentor_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.1/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdwljmsclient/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.descriptor_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils.classloaders_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.workmanager_1.0.0.0/artifactId version10.0.0/version optionaltrue/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.rmi.client_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.transaction_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.security.wls_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.security_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.logging_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.management.core_1.0.0.0/artifactId version10.0.0/version optionaltrue/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils.full_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdjavax.transaction_1.1/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.store_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.workarea_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils.wrapper_1.0.0.0/artifactId
Re: how to stop pom downloads
Bruce -- thanks a lot for this. I am just trying to use the plugin with 9.2, but I am hitting this issue: http://www.mail-archive.com/u...@mojo.codehaus.org/msg00503.html Is this issue one that you encountered also when trying the plugin with 10.x? I wouldn't mind having 10.x working, also. On Wed, Mar 4, 2009 at 8:58 PM, Barrie Treloar baerr...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:09 PM, Davis Ford davisf...@zenoconsulting.biz wrote: True - although that would take me a long time. In any event, I ended up getting the 53MB weblogic.jar deployed to archiva - yay! BEWARE If you are using Weblogic 10 then you need to chase the dragons tail. As the jar defines a Class-Path in its Manifest using relative file definitions. You need to add EACH one of these files into your maven repository AND then define each artifact as a dependency in your pom. We ended up creating an internal dependency project just for weblogic so you can depend upon that instead of having to cut-and-paste for every project. However all the scopes are compile when some should be runtime) On my todo list is to extend the deploy plugin to also deploy artifacts defined in the Manfiest Class-Path... Here is the dependency pom (it may be useful to others) project xmlns=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; modelVersion4.0.0/modelVersion groupIdweblogic/groupId artifactIdweblogic-dependencies/artifactId packagingpom/packaging version10.0.0/version dependencies dependency groupIdweblogic/groupId artifactIdweblogic/artifactId version10.0.0/version /dependency dependency groupIdweblogic/groupId artifactIdjavax.jms_1.1/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdjavax.servlet_2.5/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.repackaged.asm_1.5.2/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.diagnostics.instrumentor_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdxbean/artifactId version9.2.1/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdwljmsclient/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.descriptor_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils.classloaders_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.workmanager_1.0.0.0/artifactId version10.0.0/version optionaltrue/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.rmi.client_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.transaction_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.security.wls_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.weblogic.security_2.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.logging_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.management.core_1.0.0.0/artifactId version10.0.0/version optionaltrue/optional /dependency dependency groupIdweblogic/groupId artifactIdcom.bea.core.utils.full_1.0.0.0/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId artifactIdjavax.transaction_1.1/artifactId version10.0.0/version optionalfalse/optional /dependency dependency groupIdweblogic/groupId