Obfuscation of several artifacts with Proguard
Hi, we have a main application with plugins where each plugin is a jar depending on the main application jar. I would like to obfuscate all jars (main and plugins) in one go with the proguard maven plugin without using ant. Does anyone know what is the best way to achieve this? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Execution sequence of three plugins on the same phase: process-classes
Hi. I've had the same problem. Finaly I ended up splitting it into subprojects. See also here : http://jira.codehaus.org/browse/MNG-2258 http://www.mail-archive.com/users@maven.apache.org/msg93651.html 2009/2/4 Thiago Moreira (timba) : > Hi there, > > I have three plugins that must be executed on the same phase > (process-classes). How can I set the sequence on each one will be executed? > > Thanks in advance! > > Thiago Moreira > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Checkstyle report failing
Hi everyone - I'm not sure if this is the appropriate place for this posting or not. We have a Maven build, using Hudson as the CI server. We're running the Checkstyle maven plugin. When I call checkstyle, it runs as expected and I see the resulting output in Hudson through the Checkstyle plugin, but when I run mvn site, it's not showing any results. Here's the checkstyle call, if that helps: org.apache.maven.plugins maven-checkstyle-plugin Any ideas what I'm doing wrong here? Thanks! Bill -- View this message in context: http://www.nabble.com/Checkstyle-report-failing-tp21865980p21865980.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: eclipse: SCM provider is not available
Make sure you have one of the following m2eclipse features [1] installed: * Maven SCM Integration * Maven SCM handler for Subclipse * Maven SCM handler for Subversive I suppose it may make sense to include the default Maven SCM handler into the core feature, but that would increase the minimum download size. regards, Eugene [1] http://docs.codehaus.org/display/M2ECLIPSE/Installation+Requirements#InstallationRequirements-MavenIntegration Edderd wrote: > > When trying to import a maven project from scm I get the above error: > > File->Import->Other->Checkout Maven projects from SCM > > I get a dialog to enter the SCM Url. and a drop down to select the SCM > provider, however there are no options to select. > > I have tried forcing the issue with > scm:*svn*:https://buildbox/svn/repository/project4/trunk > > but it fails with the above error displaying in the console. > > I've installed all relevant plugins for eclipse/svn that I know of... > > Any ideas? > > -- View this message in context: http://www.nabble.com/eclipse%3A-SCM-provider-is-not-available-tp21864909p21865817.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: Excluding packages with maven assembly plugin
On Thu, Feb 5, 2009 at 7:40 PM, Ian Clarke wrote: > It works fine, but I was wondering if there is a way to exclude > specific packages from the jar that this builds, and further, whether > this can be configured by passing options to the mvn assembly:assembly > command? I should clarify that by "packages" I am referring to particular directories in my source folder. So, for example - I'd like to be able to say something like: "build the jar, but exclude the package com.uprizer.prog.stuff, except for com.uprizer.prog.stuff.otherstuff". Ian. -- Ian Clarke CEO, Uprizer Labs Email: i...@uprizer.com Ph: +1 512 422 3588 Fax: +1 512 276 6674 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Excluding packages with maven assembly plugin
Hi, I'm using the jar-with-dependencies configuration with the maven-assembly-plugin as follows: maven-assembly-plugin jar-with-dependencies com.uprizer.sensearray.Main It works fine, but I was wondering if there is a way to exclude specific packages from the jar that this builds, and further, whether this can be configured by passing options to the mvn assembly:assembly command? Any help would be greatly appreciated, Ian. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
eclipse: SCM provider is not available
When trying to import a maven project from scm I get the above error: File->Import->Other->Checkout Maven projects from SCM I get a dialog to enter the SCM Url. and a drop down to select the SCM provider, however there are no options to select. I have tried forcing the issue with scm:*svn*:https://buildbox/svn/repository/project4/trunk but it fails with the above error displaying in the console. I've installed all relevant plugins for eclipse/svn that I know of... Any ideas?
Re: Integration Testing from a separate module.
Thanks, Wendy! I must have been blind to miss that option in my xml editor. That was the trick. Wendy Smoak wrote: On Thu, Feb 5, 2009 at 3:07 PM, David C. Hicks wrote: Essentially, I have two modules - the "war" module and the "integration-test" module. (I intend to split the war stuff up soon, as well.) Obviously, the "integration-test" module must have a dependency on "war" (it can't run tests if the war isn't built). For some reason, Maven is attempting to find the WAR artifact as a "jar" in my repository. How have you declared the dependency? Sounds like you might be missing war on it. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Integration Testing from a separate module.
On Thu, Feb 5, 2009 at 3:07 PM, David C. Hicks wrote: > Essentially, I have two modules - the "war" module and the > "integration-test" module. (I intend to split the war stuff up soon, as > well.) Obviously, the "integration-test" module must have a dependency on > "war" (it can't run tests if the war isn't built). For some reason, Maven > is attempting to find the WAR artifact as a "jar" in my repository. How have you declared the dependency? Sounds like you might be missing war on it. -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn and native2ascii on ubuntu
Ah, my source code view had gotten corrupted, and so directories had gotten hijacked in a bad state. Deleting all the code, and reloading fixed the problem. Sorry for the noise.
Re: mvn and native2ascii on ubuntu
Hmmm, you are right. making a ln to it there does nothing. When i add a directory called 'native2ascii' there, it seems to go past that location, but now all kinds of wonky things are happening. Compiler can't find classes for one. I have no idea why maven wants a directory there - it is beyond me. It should just be calling native2ascii. This was all working a couple of days ago, and i must have inadvertently stepped on something, but for the life of me i have no idea what. -Original Message- From: "Wayne Fay" Sent: Thursday, February 5, 2009 4:31pm To: "Maven Users List" Subject: Re: mvn and native2ascii on ubuntu On Thu, Feb 5, 2009 at 1:12 PM, Dave Brosius wrote: > I'm not following you. The problem is that native2ascii (the executable) > can't be found. Can you make a symlink to native2ascii in that location, to confirm what you're saying is correct? I don't use n2a myself so I really have no particular expectation of what it wants etc, just trying to help. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Integration Testing from a separate module.
I'm trying to set up a module for my team from which to run integration tests, but I can't quite get Maven to like it. It complains that it cannot find a dependency - the WAR file that is required for the tests to run. Essentially, I have two modules - the "war" module and the "integration-test" module. (I intend to split the war stuff up soon, as well.) Obviously, the "integration-test" module must have a dependency on "war" (it can't run tests if the war isn't built). For some reason, Maven is attempting to find the WAR artifact as a "jar" in my repository. The war module is a packaging=war type. For now, I've made the integration-test module a packaging=pom type. Any suggestions? I haven't had much luck finding useful examples on the internet. Thanks, Dave - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Got blocked?
Noone has been blocked recently. Note that wget is blocked automatically so if you use that, it won't work. Use your browser to test connectivity. -Original Message- From: Johannes Schneider [mailto:maili...@cedarsoft.com] Sent: Thursday, February 05, 2009 4:17 PM To: users@maven.apache.org Subject: Got blocked? Hi, I get a lot of 443s when trying to connect to Maven Central Repository. The IP of my build server is "78.47.151.147". How can I get unblocked? I just tried to install Nexus - maybe something went wrong? Regards, Johannes Schneider - 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
dependent on a parent pom.xml
installing the svn head of ws.apach.org/xmlrpc leads this pom.xml files: repository/org/apache/xmlrpc/xmlrpc/pom.xml repository/org/apache/xmlrpc/xmlrpc-client/pom.xml repository/org/apache/xmlrpc/xmlrpc-common/pom.xml repository/org/apache/xmlrpc/xmlrpc-server/pom.xml whereas the first one is the parent to the other three. Declaring the dependency for the last three pom.xml works fine, such as org.apache.xmlrpc xmlrpc-common 3.1.1 ... I wonder if it is possible to refere to the parent pom.xml only. Tried several things, but - as I'm a newbee - did not get through. Do you have any kind advice to me? Rolf - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn and native2ascii on ubuntu
On Thu, Feb 5, 2009 at 1:12 PM, Dave Brosius wrote: > I'm not following you. The problem is that native2ascii (the executable) > can't be found. Can you make a symlink to native2ascii in that location, to confirm what you're saying is correct? I don't use n2a myself so I really have no particular expectation of what it wants etc, just trying to help. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Got blocked?
Hi, I get a lot of 443s when trying to connect to Maven Central Repository. The IP of my build server is "78.47.151.147". How can I get unblocked? I just tried to install Nexus - maybe something went wrong? Regards, Johannes Schneider - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn and native2ascii on ubuntu
I'm not following you. The problem is that native2ascii (the executable) can't be found. -Original Message- From: "Dan Tran" Sent: Thursday, February 5, 2009 1:34pm To: "Maven Users List" Subject: Re: mvn and native2ascii on ubuntu /home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii is where you should put your to be convert files in -D On Thu, Feb 5, 2009 at 10:05 AM, Dave Brosius wrote: > Hi folks, > > I've seen a couple references to problems regarding native2ascii on > various places but i couldn't see a similar problem to what i am > experiencing, so perhaps, if you would indulge me, i will ask again. > > I am running java 6 (/usr/bin/jvm/java-6-sun-1.6.0.10) > > and have a pom with a native2ascii plugin in it (see below at end) > > when i mvn install i get the following exception, which shows that mvn or ant > perhaps, are confused about where native2ascii exists. Which i find in > /usr/bin/native2ascii). Anyone have any suggestions on what i could have set > up wrongly? > > /home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii > not found. >at > org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) >at > org.apache.tools.ant.taskdefs.MatchingTask.getDirectoryScanner(MatchingTask.java:192) >at > org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:215) >at > org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2AsciiMojo.java:115) >at > org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiMojo.java:92) >at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > > > > > > (and here is the maven pom section of note) > > > >org.codehaus.mojo >native2ascii-maven-plugin >${native2ascii-maven-plugin.version} > > >Cp1251 > > native2ascii > > > Cp1251 > TPStrings_ru*.native > ${native.dest.resource.dir} > .properties > > > >big5 > > native2ascii > > > big5 > TPStrings_zh_TW*.native > ${native.dest.resource.dir} > .properties > > > >gb2312 > > native2ascii > > > gb2312 > TPStrings_zh_CN*.native > ${native.dest.resource.dir} > .properties > > > >shift_jis > > native2ascii > > > shift_jis > TPStrings_ja*.native > ${native.dest.resource.dir} > .properties > > > > > > > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: dependent on a parent pom.xml
> I wonder if it is possible to refere to the parent pom.xml only. > Tried several things, but - as I'm a newbee - did not get through. No. You must specify all 3 (or 4) directly, unless there are transitive dependencies from one to another. You would need to look in the various poms to see about transitive deps (eg if -client or -server depends on -common). Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
dependent on a parent pom.xml
installing the svn head of ws.apach.org/xmlrpc leads this pom.xml files: repository/org/apache/xmlrpc/xmlrpc/pom.xml repository/org/apache/xmlrpc/xmlrpc-client/pom.xml repository/org/apache/xmlrpc/xmlrpc-common/pom.xml repository/org/apache/xmlrpc/xmlrpc-server/pom.xml whereas the first one is the parent to the other three. Declaring the dependency for the last three pom.xml works fine, such as org.apache.xmlrpc xmlrpc-common 3.1.1 ... I wonder if it is possible to refere to the parent pom.xml only. Tried several things, but - as I'm a newbee - did not get through. Do you have any kind advice to me? Rolf - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: mvn and native2ascii on ubuntu
/home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii is where you should put your to be convert files in -D On Thu, Feb 5, 2009 at 10:05 AM, Dave Brosius wrote: > Hi folks, > > I've seen a couple references to problems regarding native2ascii on > various places but i couldn't see a similar problem to what i am > experiencing, so perhaps, if you would indulge me, i will ask again. > > I am running java 6 (/usr/bin/jvm/java-6-sun-1.6.0.10) > > and have a pom with a native2ascii plugin in it (see below at end) > > when i mvn install i get the following exception, which shows that mvn or ant > perhaps, are confused about where native2ascii exists. Which i find in > /usr/bin/native2ascii). Anyone have any suggestions on what i could have set > up wrongly? > > /home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii > not found. >at > org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) >at > org.apache.tools.ant.taskdefs.MatchingTask.getDirectoryScanner(MatchingTask.java:192) >at > org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:215) >at > org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2AsciiMojo.java:115) >at > org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiMojo.java:92) >at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) >at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) >at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > > > > > > (and here is the maven pom section of note) > > > >org.codehaus.mojo >native2ascii-maven-plugin >${native2ascii-maven-plugin.version} > > >Cp1251 > > native2ascii > > > Cp1251 > TPStrings_ru*.native > ${native.dest.resource.dir} > .properties > > > >big5 > > native2ascii > > > big5 > TPStrings_zh_TW*.native > ${native.dest.resource.dir} > .properties > > > >gb2312 > > native2ascii > > > gb2312 > TPStrings_zh_CN*.native > ${native.dest.resource.dir} > .properties > > > >shift_jis > > native2ascii > > > shift_jis > TPStrings_ja*.native > ${native.dest.resource.dir} > .properties > > > > > > > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
mvn and native2ascii on ubuntu
Hi folks, I've seen a couple references to problems regarding native2ascii on various places but i couldn't see a similar problem to what i am experiencing, so perhaps, if you would indulge me, i will ask again. I am running java 6 (/usr/bin/jvm/java-6-sun-1.6.0.10) and have a pom with a native2ascii plugin in it (see below at end) when i mvn install i get the following exception, which shows that mvn or ant perhaps, are confused about where native2ascii exists. Which i find in /usr/bin/native2ascii). Anyone have any suggestions on what i could have set up wrongly? /home/dave/views/pr/platform/ProgressReporter/pr-gui/src/main/native2ascii not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) at org.apache.tools.ant.taskdefs.MatchingTask.getDirectoryScanner(MatchingTask.java:192) at org.apache.tools.ant.taskdefs.optional.Native2Ascii.execute(Native2Ascii.java:215) at org.codehaus.mojo.native2ascii.Native2AsciiMojo.executeAnt(Native2AsciiMojo.java:115) at org.codehaus.mojo.native2ascii.Native2AsciiMojo.execute(Native2AsciiMojo.java:92) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) (and here is the maven pom section of note) org.codehaus.mojo native2ascii-maven-plugin ${native2ascii-maven-plugin.version} Cp1251 native2ascii Cp1251 TPStrings_ru*.native ${native.dest.resource.dir} .properties big5 native2ascii big5 TPStrings_zh_TW*.native ${native.dest.resource.dir} .properties gb2312 native2ascii gb2312 TPStrings_zh_CN*.native ${native.dest.resource.dir} .properties shift_jis native2ascii shift_jis TPStrings_ja*.native ${native.dest.resource.dir} .properties
Re: help enabling assertions in the compiler plugin.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 that should of course be 'of course they are not supported' ... opps ;) Johan Lindquist wrote: > Of course they are - I wasn't stating otherwise ... > > Johan > > Jochen Wiedmann wrote: >> On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist wrote: > >>> The compilerArguments are passed directly to javac executable as far as >>> I can tell and javac does not support these flags. >> Obviously not. Assertions are enabled or disabled at runtime, not at >> compile time. These flags are supported by java, not javac. > >> Jochen > > > - - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiwXZpHYnED7evioRAkY1AJ98vUD9PyL7l6FB3FBhbmon13G+IACfeEGv +xi9KwI3al3IHMiodY7Ei+o= =g28X -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: help enabling assertions in the compiler plugin.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Of course they are - I wasn't stating otherwise ... Johan Jochen Wiedmann wrote: > On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist wrote: > >> The compilerArguments are passed directly to javac executable as far as >> I can tell and javac does not support these flags. > > Obviously not. Assertions are enabled or disabled at runtime, not at > compile time. These flags are supported by java, not javac. > > Jochen > > - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiwUhpHYnED7evioRAqygAJ9z7gl0s5fIujF3sWCIUMwexYt4IgCbB1uF 9boXzQ/agEXpinczPDvwo2I= =CeUi -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: help enabling assertions in the compiler plugin.
On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist wrote: > The compilerArguments are passed directly to javac executable as far as > I can tell and javac does not support these flags. Obviously not. Assertions are enabled or disabled at runtime, not at compile time. These flags are supported by java, not javac. Jochen -- I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -- (Bjarne Stroustrup, http://www.research.att.com/~bs/bs_faq.html#really-say-that My guess: Nokia E50) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: help enabling assertions in the compiler plugin.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The compilerArguments are passed directly to javac executable as far as I can tell and javac does not support these flags. Could you use the MAVEN_OPTS environment variable to enable assertions in within the Maven code perhaps? Cheers, Johan Mick Knutson wrote: > I have tried this, but I get a compiler error: > > > maven-compiler-plugin > > *-ea* > > > > > I get this error: > *Failure executing javac, but could not parse the error: > javac: invalid flag: -ea > Usage: javac > use -help for a list of possible options > > * > > I also tried -enableassertions > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc. > Enterprise Architecture, Design, Mentoring & Agile Consulting > p. (866) BLiNC-411: (254-6241-1) > f. (415) 685-4233 > > Website: http://baselogic.com > Linked IN: http://linkedin.com/in/mickknutson > Twitter: http://twitter.com/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > - -- you too? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJiv7RpHYnED7evioRAqZvAJ99NLnNok5JYCMDHUdGF3ZupfCA8wCfSLs/ mm8cteBNDFl0LBXyl6r/Ga4= =mNOo -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [jena-dev] SDB maven depends
Taylor Cowan wrote: I believe this isn't related to your pom setup in the repo, things work fine with regular java builds, jar packaging, etc it has something to do with maven's webapp packaging, which isn't following tansitive dependencies. I'll report back when I've figured out what I'm doing wrong. Taylor, I did not test the webapp packaging. But I think the problem is related to the dependency resolution. I would like to understand why with this pom.xml file: 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";> 4.0.0 com.hp.hpl.test test 0.1 jar com.hp.hpl.jena sdb 1.2.0 I get this dependency tree: com.hp.hpl.test: test:jar: 0.1 \- com.hp.hpl.jena: sdb:jar:1. 2.0:compile +- com.hp.hpl.jena: arq:jar:2. 6.0:compile | +- com.hp.hpl.jena: jena:jar: 2.5.7:compile | +- org.apache.lucene: lucene-core: jar:2.3.1: compile | +- stax:stax-api: jar:1.0:compile | +- woodstox:wstx- asl:jar:3. 0.0:compile | \- com.hp.hpl.jena: json-jena: jar:1.0:compile \- com.hp.hpl.jena: arq-extra: jar:2.6.0: compile Which does not contains: +- com.hp.hpl.jena: iri:jar:0. 5:compile +- antlr:antlr: jar:2.7.5: compile +- commons-logging: commons-logging: jar:1.1.1: compile +- com.hp.hpl.jena: concurrent-jena:jar: 1.3.2:compile +- com.ibm.icu: icu4j:jar: 3.4.4:compile +- xerces:xercesImpl: jar:2.7.1: compile \- xerces:xmlParserAPI s:jar:2.0. 2:compile If, instead, I use this pom.xml file: 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";> 4.0.0 com.hp.hpl.test test 0.1 jar com.hp.hpl.jena sdb 1.2.0 com.hp.hpl.jena jena 2.5.7 I get a dependency tree I am happy with: com.hp.hpl.test: test:jar: 0.1 +- com.hp.hpl.jena: sdb:jar:1. 2.0:compile | +- com.hp.hpl.jena: arq:jar:2. 6.0:compile | | +- org.apache.lucene: lucene-core: jar:2.3.1: compile | | +- stax:stax-api: jar:1.0:compile | | +- woodstox:wstx- asl:jar:3. 0.0:compile | | \- com.hp.hpl.jena: json-jena: jar:1.0:compile | \- com.hp.hpl.jena: arq-extra: jar:2.6.0: compile \- com.hp.hpl.jena: jena:jar: 2.5.7:compile +- com.hp.hpl.jena: iri:jar:0. 5:compile +- antlr:antlr: jar:2.7.5: compile +- commons-logging: commons-logging: jar:1.1.1: compile +- com.hp.hpl.jena: concurrent- jena:jar: 1.3.2:compile +- com.ibm.icu: icu4j:jar: 3.4.4:compile +- xerces:xercesImpl: jar:2.7.1: compile \- xerces:xmlParserAPI s:jar:2.0. 2:compile Maybe, someone on the u...@maven.apache.org mailing list can help me to understand the problem and show everyone how little I know about Maven. :-) Paolo -- Hewlett-Packard Limited - Cain Rd., Bracknell, Berks RG12 1HN, 690597 England - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
help enabling assertions in the compiler plugin.
I have tried this, but I get a compiler error: maven-compiler-plugin *-ea* I get this error: *Failure executing javac, but could not parse the error: javac: invalid flag: -ea Usage: javac use -help for a list of possible options * I also tried -enableassertions --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Twitter: http://twitter.com/mickknutson Vacation Rental: http://tahoe.baselogic.com ---
Re: selenium-maven-plugin howto specifie multiple browsers
Hi! Executing one plugin with different configurations in one phase seems to be a common problem in maven. Problems usually occur with the maven-antrun-plugin or the exec-maven-plugin, but as we see it could also hit other plugins as well. I think(!) the only possibility you have is to use profiles to define the configuration of your selenium plugin and run maven multiple times with different profiles actived. hth, - martin On Thursday 05 February 2009 kukudas wrote: > Hi thanks for your response. I want to run the Selenium tests as html > suits in the integration-test lifecycle, which works perfect but just in > one browser. I thought that there is somehow a way to tell maven that he > has to launch the tests in diffrend browsers aswell. > > Mick Knutson-4 wrote: > > I use TestNG to do this. > > I have my test method to start the server: > > > > *...@beforeclass(groups = {"selenium" }) > > @Parameters( > > { "selenium-server-address", "browser-type", > > "application-address" } > > ) > > protected void startSeleniumServer(String seleniumServerAddress, > > String browserType, String applicationAddress) throws Exception > > { log.info("Starting Selenium client"); > > selenium = new DefaultSelenium(seleniumServerAddress, > > SeleniumServer.getDefaultPort(), browserType, > > applicationAddress); > > selenium.start(); > > }* > > > > Then in my testng.xml: > > > >* > > > > > > > > > > > > * > > > > > > Note this is para-phrased. I actually need to write a blog on this. But > > hopefully this can help get you started. > > > > > > --- > > Thank You… > > > > Mick Knutson, President > > > > BASE Logic, Inc. > > Enterprise Architecture, Design, Mentoring & Agile Consulting > > p. (866) BLiNC-411: (254-6241-1) > > f. (415) 685-4233 > > > > Website: http://baselogic.com > > Linked IN: http://linkedin.com/in/mickknutson > > Twitter: http://twitter.com/mickknutson > > Vacation Rental: http://tahoe.baselogic.com > > --- > > > > On Wed, Feb 4, 2009 at 8:55 AM, kukudas wrote: > >> hi, > >> > >> how can i run selenese command with more than one browser ? Atm i use > >> *opera for example. I couldn't find any hint in the > >> documentation i hope somebody can help me. > >> > >> Thanks kukudas > >> -- > >> View this message in context: > >> http://www.nabble.com/selenium-maven-plugin-howto-specifie-multiple-br > >>owsers-tp21830943p21830943.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 signature.asc Description: This is a digitally signed message part.
Re: Disable plugin during development builds
On Thu, Feb 5, 2009 at 12:58 PM, John Coleman wrote: > During development we don't want our javascript to be compressed, so the > yuicompressor plugin only needs to run when we do a release build. > > How do we change the pom so that this plugin can be selectively turned > off perhaps by a property in settings.xml or similar? Use a profile and -P on the command line to activate it. -- I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -- (Bjarne Stroustrup, http://www.research.att.com/~bs/bs_faq.html#really-say-that My guess: Nokia E50) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Disable plugin during development builds
During development we don't want our javascript to be compressed, so the yuicompressor plugin only needs to run when we do a release build. How do we change the pom so that this plugin can be selectively turned off perhaps by a property in settings.xml or similar? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
using an installed package
I'm new to maven, so please be patient. I'm trying to make my first non-game maven project an application of ws.apache.org/xmlrpc. Unfortunately I need the trunk version for some reason. I checked it out of svn repository, did a "mvn install" successfully. The three jar files appear below ~/.m2/repository/org/apache/xmlrpc/... ... = xmlrpc-server, xmlrpc-client, xmlrpc-common There is also a ~/.m2/repository/org/apache/xmlrpc/pom.xml that seems to summerize the dependencies. I read: install: install the package into the local repository, for use as a dependency in other projects locally Did I do that? Is .m2 the local repository? If not, how to get one and deploy xmlrpc over there? If so, how do I use this package in my non-game project? I tried several things in my other pom.xml but I can not prevent maven from looking at a remote repository. It can not find the jars over there, because they reside locally. Please, could you link me to the text that will enlighten me? Rolf - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven 2.1 or maven 3.0
I'm about to stage alpha-2, I don't know exactly when there will be a GA. Benjamin is pounding out ITs like no one's business and Shane is working full-time on the core. Oleg is working full-time on the artifact layer and I'm probably quarter time hopefully doing more once we get m2e on the rails. Igor (who works on m2e) is also making many changes to mesh Maven with an incremental system like Eclipse. All said the hope is to produce an alpha a week but that's hasn't happened yet because we keep running into snags. But we've installed Nexus and that's where I plan to start pushing all the alphas on a regular basis once we start. The current workload is in JIRA. On 4-Feb-09, at 7:34 PM, Jason Chaffee wrote: Actually, I found this page: http://docs.codehaus.org/display/MAVEN/Maven+3.0.x I cannot tell you how happy I am to hear about the rewriting of the artifact handling. It is the main part of maven that I think has major architectural issues. I very glad to see that Maven developers have realized this as well. kudos. Now I am even more excited for this release. Any idea when it might happen? Is there any chance to play around with a beta? regards, Jason From: Jason Chaffee [jason.chaf...@zilliontv.tv] Sent: Wednesday, February 04, 2009 7:25 PM To: Maven Developers List Cc: users@maven.apache.org Subject: maven 2.1 or maven 3.0 Is there a timeline for a release and there anywhere I can find documentation on the new features/improvements/changes in said release? regards, Jason - 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 Thanks, Jason -- Jason van Zyl Founder, Apache Maven jason at sonatype dot com -- To do two things at once is to do neither. -—Publilius Syrus, Roman slave, first century B.C. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: selenium-maven-plugin howto specifie multiple browsers
Hi thanks for your response. I want to run the Selenium tests as html suits in the integration-test lifecycle, which works perfect but just in one browser. I thought that there is somehow a way to tell maven that he has to launch the tests in diffrend browsers aswell. Mick Knutson-4 wrote: > > I use TestNG to do this. > I have my test method to start the server: > > *...@beforeclass(groups = {"selenium" }) > @Parameters( > { "selenium-server-address", "browser-type", "application-address" > } > ) > protected void startSeleniumServer(String seleniumServerAddress, > String browserType, String applicationAddress) throws Exception { > log.info("Starting Selenium client"); > selenium = new DefaultSelenium(seleniumServerAddress, > SeleniumServer.getDefaultPort(), browserType, > applicationAddress); > selenium.start(); > }* > > Then in my testng.xml: > >* > > > > > > * > > > Note this is para-phrased. I actually need to write a blog on this. But > hopefully this can help get you started. > > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc. > Enterprise Architecture, Design, Mentoring & Agile Consulting > p. (866) BLiNC-411: (254-6241-1) > f. (415) 685-4233 > > Website: http://baselogic.com > Linked IN: http://linkedin.com/in/mickknutson > Twitter: http://twitter.com/mickknutson > Vacation Rental: http://tahoe.baselogic.com > --- > > > > On Wed, Feb 4, 2009 at 8:55 AM, kukudas wrote: > >> >> hi, >> >> how can i run selenese command with more than one browser ? Atm i use >> *opera for example. I couldn't find any hint in the >> documentation i hope somebody can help me. >> >> Thanks kukudas >> -- >> View this message in context: >> http://www.nabble.com/selenium-maven-plugin-howto-specifie-multiple-browsers-tp21830943p21830943.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 >> >> > > -- View this message in context: http://www.nabble.com/selenium-maven-plugin-howto-specifie-multiple-browsers-tp21830943p21847008.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