Re: Proper way to build a Maven repository without Internet access

2019-11-13 Thread Henrik Ridder
JFrog has an air-gap how-to. Do a search for "using-artifactory-with-an-air-gap” That maybe can help you? Henrik > On 14 Nov 2019, at 00:01, Stephen Connolly > wrote: > > So I know that Sonatype have or had a feature in nexus that let you approve > what dependencies

Re: mvn dependency:analyze fails with IllegalArgumentException

2018-03-24 Thread Henrik Eriksson
Hi Karl, That worked! Regards Henrik 2018-03-23 19:35 GMT+01:00 Karl Heinz Marbaise : > Hi Henrik, > > can you try to add the following to your pom configuration (just a try to > see if I'm on the right path): > > > > org.apache.maven.plugin

mvn dependency:analyze fails with IllegalArgumentException

2018-03-21 Thread Henrik Eriksson
Hello, Running mvn dependency:analyze fails with the follwing exception: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze (default-cli) on project utils: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:3.0.2:analyze faile

Long-running shutdown hook in forked JVM

2016-08-15 Thread Henrik Plate
revent the shutdown of forked JVMs until such (long-running) shutdown hooks are properly terminated? Thank you in advance, Cheers, Henrik [1] https://maven.apache.org/surefire/maven-surefire-plugin/examples/shutdown.html

Re: properties that are not being resolved

2014-03-24 Thread Henrik Østerlund Gram
t inside a element for the ear plugin, but it would not work until I modified the plugin to do an extra substitution itself. Regards, Henrik Gram On Mon, Mar 24, 2014 at 10:38 PM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Please read my answer to a similar question on Stack

Re: properties that are not being resolved

2014-03-24 Thread Henrik Østerlund Gram
/pulls it doesn't appear those are being processed by anyone. Is there another way to suggest that change be implemented? Regards, Henrik Gram On Mon, Mar 24, 2014 at 9:13 AM, Anders Hammar wrote: > It doesn't matter which plugin you use to set the property. What does > ma

Re: properties that are not being resolved

2014-03-24 Thread Henrik Østerlund Gram
plugin? May not be your issue, but may be the plugin > you're using doesn't create properties in the right way (no offense, just > trying to guess)? > My 2 cents > Le 23 mars 2014 22:37, "Henrik Østerlund Gram" a > écrit : > > > I stumbled over some rat

properties that are not being resolved

2014-03-23 Thread Henrik Østerlund Gram
ally a solution I favour, so I hope someone can provide a better and more permanent fix. Regards, Henrik Gram

Re: Maven deploy plugin 2.8.1 - deploy-file goal - unable to avoid attachedArtifacts from being deployed in execute

2014-02-16 Thread Henrik Skriver Rasmussen
Hi Robert Thanks - that sounds interesting and I will look into that Monday. But what is the right way to deploy a zip file build in the project to the artifactory repository then? Is it to only use deploy? Regards Henrik Skriver Rasmussen > On Feb 16, 2014, at 14:47, "Robert Scholte

Re: Maven deploy plugin 2.8.1 - deploy-file goal - unable to avoid attachedArtifacts from being deployed in execute

2014-02-16 Thread Henrik Skriver Rasmussen
d due to it's simplicity and transparency. ;) That being said, I have been using maven for a looong time and enjoy it most of the time - so keep up the good work! regards Henrik Skriver Rasmussen On Sun, Feb 16, 2014 at 2:03 PM, Robert Scholte wrote: > Op Sun, 16 Feb 2014 08:15:25

Re: Maven deploy plugin 2.8.1 - deploy-file goal - unable to avoid attachedArtifacts from being deployed in execute

2014-02-15 Thread Henrik Skriver Rasmussen
somewhere and provide the patch which fixes this?? I already mailed the email listed in the top of the java file in question but he does not reply. Med venlig hilsen Henrik Skriver Rasmussen On Thu, Feb 13, 2014 at 2:54 PM, Anders Hammar wrote: > You should really restart with the module 2

Re: Maven deploy plugin 2.8.1 - deploy-file goal - unable to avoid attachedArtifacts from being deployed in execute

2014-02-13 Thread Henrik Skriver Rasmussen
Med venlig hilsen Henrik Skriver Rasmussen On Thu, Feb 13, 2014 at 2:15 PM, Anders Hammar wrote: > You need to provide more info on what you're doing! Is the > deploy:deploy-file bound to the build lifecycle of a project? How? > > /Anders > > > On Thu, Feb 13,

Fwd: Maven deploy plugin 2.8.1 - deploy-file goal - unable to avoid attachedArtifacts from being deployed in execute

2014-02-13 Thread Henrik Skriver Rasmussen
of other artifacts. I will be happy to provide a patch where this is aspect is removed. Thank you in advance regards Henrik Skriver Rasmussen

Re: Maven compiler fails non-randomly

2013-02-02 Thread Henrik Eriksson
ut any problmes. The difference now is that I've added annotation processing. 2013/1/11 Henrik Eriksson > Well seems like its not solved. This time I cant trace it to usage of suns > classes, and the condition is reverse now, building the whole project > doesn't render in a

Re: Listing all attached artifacts for a specific GAV

2013-02-01 Thread Henrik Eriksson
ncy info is > missing. > > /Anders > > > On Fri, Feb 1, 2013 at 12:10 AM, Henrik Eriksson < > henrikeriksso...@gmail.com > > wrote: > > > Hello. > > > > I'm writing a plugin and I'm wondering if there is any way of retrieving > an

Re: Maven compiler fails non-randomly

2013-01-10 Thread Henrik Eriksson
[INFO] - [ERROR] An unknown compilation problem occurred [INFO] 1 error Im going to try switching to another jdk today to see if the same error is there. 2013/1/10 Henrik Eriksson > No multithread build. > Windows 7x64 > changed to alwaysNew > changed to 3.0 > > I isolate

Re: Maven compiler fails non-randomly

2013-01-10 Thread Henrik Eriksson
u try with changing value of > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerReuseStrategy > > to alwaysNew ? > > Do you have same issues using compiler plugin 3.0 ? > > > > 2013/1/10 Henrik Eriksson : > > Hi all! > >

Re: Setting a plugins configruation parameter

2013-01-01 Thread Henrik Eriksson
set up and run the > > > annoying one as configured by your other stuff. > > > > > > On Mon, Dec 31, 2012 at 1:00 AM, Henrik Eriksson > > > wrote: > > > > The somcomp-maven-plugin isn't mine plugin, I've not written it and > the > >

Re: Setting a plugins configruation parameter

2012-12-30 Thread Henrik Eriksson
oject in a "maven" style. So I need to set that plugin parameter somehow. Not sure how attaching the information would solve this propblem. //Henrik 2012/12/30 Anders Hammar > One other aspect, why two separate plugins? As they seem to be tightly > coupled I would argue for one

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Henrik Arro
;java -version", I get "java version "1.6.0_31"". The computer in question is a Sony Vaio laptop, with an Atheros AR9285 wireless network adapter. /Henrik Arro martin.eisengardt wrote > > I got some similar problems. > https://bugs.eclipse.org/bugs/show_bug.cgi?id=3

Re: Maven 3.0.3 hanging / having timeouts often?

2012-04-25 Thread Henrik Arro
ector with priority 0 for http://repo.maven.apache.org/maven2 Downloading: http://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8.3/groovy-1.8.3.jar [DEBUG] Writing resolution tracking file C:\Users\Henrik Arro\.m2\repository\org\codehaus\groovy\groovy\1.8.3\groovy-1.8.3.jar.lastUpd

Re: Dependency overriding.

2010-12-02 Thread per-henrik hedman
Hi John, there is such a thing as dependency exclusions, that might help you in this: http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html cheers, Phh On Fri, Dec 3, 2010 at 1:14 AM, asdas adasads wrote: > Hi, > >    My project has two pom's. One is

hi

2010-11-29 Thread per-henrik hedman
Hi , long time no seeing you ! There is good news I want to share . For a long time , I want to buy a laptop , one that is high quality but low price . This morning I got my laptop , just one week after I put the order on the site ( www.olcekn0.com ) . The site has many kinds of electric products

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
oint. > > Am 18.10.2010 23:30, per-henrik hedman wrote: >> >> Are you using property files in resources? Those could be stored >> differently. >> >> What are your default encoding on your machines? It could be that some >> of the behavior, eg the different config

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
Are you using property files in resources? Those could be stored differently. What are your default encoding on your machines? It could be that some of the behavior, eg the different configurations that you are using aren't used and then it falls back to default behavior. Another thing can be tha

Re: Compiler encoding on SuSE Linux

2010-10-18 Thread per-henrik hedman
What are you running on your developer machine? Can you run it with Oracle JDK? Cheers, Per Hedman On Mon, Oct 18, 2010 at 8:51 PM, Andreas Simon wrote: > Hi all, > > I got a quite strange problem with my tests. I have 3 tests that shall > control some messages for the user. These messages conta

Re: Difference between archetype:create and archetype:generate?

2010-10-06 Thread per-henrik hedman
The archetype:create generates an archetype once you have defined all the necessary properties for the archetype, while the archetype:generate gives you user interactive options for a number of template-archetypes. But they both generate/creates an archetype but in quite a different manner... Che

Re: package question

2010-09-15 Thread per-henrik hedman
Hello Daniel, you only need to define your dependency in your pom.xml and then maven will take care of it, but you will have to define it for yourself, as the version of the javamail needs to be correct, and only you know what version you are using, right? Cheers, Per-Henrik On Wed, Sep 15, 2010

Re: Class loading issues while running tests

2010-09-14 Thread per-henrik hedman
If you run: mvn -X test you should be able to decipher your classpath during the test-phase and see whats missing. Cheers, Per-Henrik On Tue, Sep 14, 2010 at 4:00 PM, nitingupta183 wrote: > > Hi All, > > I have got a multi-project setup in which one project is acting as a parent >

Re: package question

2010-09-14 Thread per-henrik hedman
Tomcat it probably exists at Central, so you won't need to add a repository declaration to your pom.xml. You should also declare the as provided... Cheers, Per-Henrik On Tue, Sep 14, 2010 at 2:43 PM, Daniel Rindt wrote: > Hello, > > my Tomcat 5.5 is comming with the classpathx

Re: Maven *.ear build for SAP Web AS

2010-09-10 Thread per-henrik hedman
If I understand you correctly, you are building ear-file and you want to remove certain jars from that ear? You could do that by: javax.xml.soap saaj-api 1.3 {groupId for jaxp-api} jaxp-api.jar 1.4 Cheers, Per-Henrik Don't thi On Fri, S

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread per-henrik hedman
And you can do javac -version? Per-Henrik On Tue, Sep 7, 2010 at 11:17 PM, Wayne Fay wrote: >>> I believe that the Java home path given by "mvn -version" on a Windows >>> platform points at the jre, not the jdk. Possibly someone on Windows could >> >> T

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread per-henrik hedman
Enrique, I'm currious about the Java_home Java home: C:\IBM\ibm-java-sdk-60-win-i386\sdk\jre Does the jre have the javac -command? isn't that with the jdk-suite? Can you do "javac -version" from command line? cheers, Per-Henrik On Tue, Sep 7, 2010 at 7:35 PM, Enrique

Re: Maven failing due to javac path issue -- Windows

2010-09-07 Thread per-henrik hedman
what's the output from "mvn -version"? Could help determine what the actual value of JAVA_HOME according to mvn. What resides in the C:\IBM\ibm-java-sdk-60-win-i386\sdk\bin ? can you run javac -version? Per-Henrik On Tue, Sep 7, 2010 at 6:43 PM, Trevor Harmon wrote: > On Se

Re: Maven 2.0.10 with two plugins with custom packaging types

2010-04-16 Thread Henrik Niehaus
Am 15.04.2010 16:51, schrieb Jörg Schaible: Hi Henrik, Henrik Niehaus wrote: Am 15.04.2010 15:40, schrieb Jörg Schaible: Hi Henrik, Henrik Niehaus wrote: Am 15.04.2010 14:54, schrieb Jörg Schaible: [snip] Please look into the POMs of the plugins and tell whether they declare a

Re: Maven 2.0.10 with two plugins with custom packaging types

2010-04-15 Thread Henrik Niehaus
Am 15.04.2010 15:40, schrieb Jörg Schaible: Hi Henrik, Henrik Niehaus wrote: Am 15.04.2010 14:54, schrieb Jörg Schaible: [snip] Please look into the POMs of the plugins and tell whether they declare a dependency to another plugin themselves. If yes, which ones? - Jörg Hi Jörg, thanks

Re: Maven 2.0.10 with two plugins with custom packaging types

2010-04-15 Thread Henrik Niehaus
Am 15.04.2010 14:54, schrieb Jörg Schaible: Hi Henrik, Henrik Niehaus wrote: Hi Maven users, I'm having problems with two plugins, which both define a custom packaging type. The packaging types are source-plugin and binary-plugin, which are defined in a private maven plugin and wa

Maven 2.0.10 with two plugins with custom packaging types

2010-04-15 Thread Henrik Niehaus
it works as expected. Also the plugin order is irrelevant. Is this a limitation of maven 2.0.*, or a bug or am I doing something wrong? I'm lost with this problem. Any hints are appreciated. Let me know, if some relevant information is missing. Thanks in advance, Henrik --

Newbie-Problem: Wicket/Maven/Jetty: FileNotFoundException?

2009-05-14 Thread Henrik
I am very new to the Java-World and want to make a web project using Java/Maven2/Wicket. I tried to install Wicket with these instructions: http://cwiki.apache.org/WICKET/windows-guide-to-installing-wicket-on-eclipse-with-maven.html Everything went fine up to the point of running a project. I tri

Re: Exclude dependency from scope runtime test classpath

2009-05-07 Thread Henrik
e test the application. The problem is that the jar (dependency) is loaded in a separate classloader when you are running the application and are using the specific operation. I use runtime scope for now and see if I can solve it some other way later. Thanks for all help. Keep up the good work on Mave

Exclude dependency from scope runtime test classpath

2009-05-07 Thread Henrik
x27;t want to add it to compile or test classpath. Thanks, Henrik - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Trouble with "ejbs" folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
OK, thanks. nicolas de loof skrev: I've created MRM-659 for this issue, so that we don't forget it and create ejb dedicated testcase. 2008/1/18, Henrik Brautaset Aronsen <[EMAIL PROTECTED]>: nicolas de loof skrev: Rename the "type" folder in your repository to the

Re: Trouble with "ejbs" folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
project with hundreds of artifacts. I guess I'll stick to maven-proxy for our maven1 repo until this is solved. Is http://jira.codehaus.org/browse/MRM-268 the issue that is tracking this problem? Henrik

Re: Trouble with "ejbs" folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
OK, thanks for the swift answer. Is there a workaround available? Henrik nicolas de loof skrev: This issue has been reported recently. It requires a fix in archiva code to enhance the "type" folder used by maven1. The current code use the file extension to select the folder

Continuum freezes after checkout

2008-01-03 Thread Henrik Brautaset Aronsen
however, continuum builds all projects as it should (cvs v1.12.13, mvn v2.0.7, java v1.5.0_13). I added this as an issue as well: http://jira.codehaus.org/browse/CONTINUUM-1615 Best regards, Henrik

Re: Support for CM Synergy?

2007-04-02 Thread henrik . jonsson
Great! Thanks alot. /Henrik Emmanuel Venisse <[EMAIL PROTECTED]> 2007-04-02 14:27 Please respond to continuum-users@maven.apache.org To continuum-users@maven.apache.org cc Subject Re: Support for CM Synergy? Continuum support it too. We'll include it in the distrib

Support for CM Synergy?

2007-04-02 Thread henrik . jonsson
Hi, I read on the SCM website that the SCM Plugin now has support for CM Synergy. But Continuum does not seem to support CM Synergy yet. Are there any plans for this? /Henrik

Get offline status from within a mojo?

2006-08-31 Thread Henrik Mejlgaard
Hi, Is it possible to detect wheter Maven is working offline (with -o option) from within a Mojo? Regards, Henrik

Re: Profiles for sub-projects

2006-06-30 Thread Henrik Mejlgaard
Why not use: However, this bit is not working: ${basedir}\plugin.xml /Henrik On 6/12/06, Boden, David <[EMAIL PROTECTED]> wrote: I've managed to track this down. The profiles work correctly. However, this bit is not working: plugin.xml

Fatal bug in dependency mediation (2.0.4)?

2006-06-18 Thread Henrik Mejlgaard
totally unacceptable behavior as it makes it impossible to make reproducible builds Any opinions? Henrik

maven-changes-plugin ????

2006-06-09 Thread Henrik Mejlgaard
From the plugins documentation, the configuration of the maven-changes-plugin should be: <...> org.apache.maven.plugins maven-changes-plugin <...> This is not found in (deployed to ) any respository. Could anyone please update the documentation with the right configuration? Regards, Henrik

Re: Hammurapi plugin?

2006-05-31 Thread Henrik Mejlgaard
I'm planning to create a Hammurapi-plugin. Let's see what the future brings. /Henrik On 5/30/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Never seen/heard of any such plugin for M2, but if you get inspired, please contribute it back for the benefit of others! Wayne On 5/30/06,

Hammurapi plugin?

2006-05-30 Thread Henrik Mejlgaard
Does anyone have a Hammurapi plugin for Maven 2? Regards, Henrik

Re: Re: m2: How do I expand the clean-goal?

2006-05-09 Thread Henrik Mejlgaard
/Henrik On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Good Idea, but how? I found only three parameters in the plugin-documentation, each can handle only a single directory and are read only! mvn clean ... [INFO] Error configuring: org.apache.maven.plugins:maven-clean-

Re: m2: How do I expand the clean-goal?

2006-05-09 Thread Henrik Mejlgaard
Use the maven-clean-plugin and configure it to delete the generated source folders you want. /Henrik On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, we have bound a source-generator on the generate-sources-phase with the maven-antrun-plugin. I wan't to clean the genera

dependencies in parent pom's

2006-03-31 Thread Henrik Østerlund Gram
pring-full/1.2.6/spring-full-1.2.6.pom http://www.ibiblio.org/maven2/org/springframework/spring-parent/1.2.6/spring-parent-1.2.6.pom Hope someone can help shed some light on this. Thanks. Henrik Gram - To unsubscribe, e-mail: [

Re: Is it possible to use the local scm provider with Continuum?

2006-03-24 Thread henrik . jonsson
Now it works better, thanks for the info. However, now I get "java.lang.OutOfMemoryError: Java heap space" when I run my bat file. How can I increase the java memory limit for the build? /Henrik Emmanuel Venisse <[EMAIL PROTECTED]> 2006-03-24 10:56 Please respond to

Is it possible to use the local scm provider with Continuum?

2006-03-23 Thread henrik . jonsson
Hi! Is it possible to use the local scm provider with Continuum? I have tried to add a local scm url to the Add Projects (Shell script) dialog. But it wont accept the url. I'm using Windows by the way. /H

APT format

2006-03-23 Thread Henrik Mejlgaard
rting them into the containing document anywhere. TIA, Henrik

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread henrik . jonsson
This looks very interesting. Thanks! Is the M2 headless eclipse plugin also available in some source repository? /Henrik Sachin Patel <[EMAIL PROTECTED]> 2006-03-22 16:02 Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Handling

Handling Eclipse plugin development in Maven?

2006-03-22 Thread henrik . jonsson
cture can be changed, but I don't know if that is the "right" solution. Regards Henrik ___ This e-mail communication (and any attachment/s) may contain confidential or pr

POM clean-up tool?

2006-03-08 Thread Henrik Mejlgaard
that POMs gets polluted with stale dependencies as time goes by. TIA, Henrik

Re: import statements in Eclipse and maven2

2006-02-28 Thread Henrik Mejlgaard
Does anyone know of ETA for a new release of the embedder? In particular, I'm interested in the multi-modules build functionality. /Henrik On 2/28/06, Kathryn Huxtable <[EMAIL PROTECTED]> wrote: > > Yes, it's not the plugin, it's the embedder. And yes, it's ve

Re: Specifying -Xmx in surefire plugin?

2006-02-20 Thread Henrik Mejlgaard
OK, I found the answer myself. The trick is to use the argline-tag. I now specify: org.apache.maven.plugins maven-surefire-plugin -Xmx512m pertest true true /Henrik On 2/19/06, Henrik Mejlgaard <[EMAIL PROTECTED]> wrote: > > How do

Specifying -Xmx in surefire plugin?

2006-02-19 Thread Henrik Mejlgaard
How do I specify a -Xmx property in the surefire plugin? I know of the system properties tag, but don't know the exact syntax for properties like this. TIA, Henrik

Re: [m2]Guide to Developing Ant Plugins error

2006-01-20 Thread Henrik Mejlgaard
. I then created new sha1's for the files as well. Ugly, ugly, ugly :( The path is \.m2\repository\org\apache\maven\maven-plugin-tools-api /Henrik On 1/20/06, Alexandre Russel <[EMAIL PROTECTED]> wrote: > Hi, > I am following the Guide to Developing Ant Plugins, first example hel

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
ath refid to be used in a taskdef in the *.build.xml. My taskdef looks as follows: .. How do I inject the plugin.dependency.classpath from the *.mojos.xml? Regards, Henrik - To unsubscribe, e-m

Re: [m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
l need to get a classpath refid from the mappings file to the build.xml Any other ideas? /Henrik On 1/17/06, Scokart Gilles <[EMAIL PROTECTED]> wrote: > If you launch a separated ant script ( using the "ant" task into the pom), > you should not forget the inheritRef attribu

[m2] Ant driven plugins and classpath refid's

2006-01-17 Thread Henrik Mejlgaard
ath refid to be used in a taskdef in the *.build.xml. My taskdef looks as follows: .. How do I inject the plugin.dependency.classpath from the *.mojos.xml? Regards, Henrik - To unsubscribe, e-mail: [EM

including multiproject in a multiproject

2003-10-17 Thread Henrik Westergaard Hasnen
multiproject:site to work for included multiprojects. I would like to do something like: maven.multiproject.type=multiproject Is that possible? /Henrik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail