hey all,
am currently working on a new archetype for wordpress projects in
phpmaven. but am not in need of the PHPUnit tests and would like to
disable them. How would I best go about it?
thanks,
Chuck
-
To unsubscribe,
Yes, so true. I realized that but I already send the email. I think I
was just too tired, I hacked the project together in one day.
But I was confused, because maven could not find the package
com.google.common.base from commons-lang either. So I thought, was is going on
that
Just remove the unit tests?
And to clarify a maven topic wrt your subject, you cannot disable a phase.
However, you can disable a plugin bound to a phase, which could also be the
solution to your questions (although simply remove the tests would be better
I think as it would then allow for the
that's the problem. I have found a few examples but none of them work.
even skiptrue/skip in the configuration block for the plugin has
no effect.
On 04/06/2011 10:37 AM, Anders Hammar wrote:
Just remove the unit tests?
And to clarify a maven topic wrt your subject, you cannot disable a
Tim, I hope You don't mind the question, but did You add the the wagon
jar to the MAVEN_HOME/lib directory on Your Hudson server, too?
Anyway, I'd rather not add any libraries to the MAVEN_HOME/lib
directory, because this needs to be done on each and every server and
workstation where the
WHat plugin is that?
/Anders
On Wed, Apr 6, 2011 at 10:43, Charles Williams ch...@itadmins.net wrote:
that's the problem. I have found a few examples but none of them work. even
skiptrue/skip in the configuration block for the plugin has no effect.
On 04/06/2011 10:37 AM, Anders Hammar
Anders,
Here is the info I posted to the phpmaven google group:
am currently working on a new archetype for wordpress projects and am
wanting to disable phpunit tests. adding skiptrue/skip in the
configuration of the test phase doesn't seem to do the trick. I still
get the following error.
So it whould be the phpunit maven plugin then.
If it has a skip param and it doesn't work - file a bug ticket. If it
doesn't have a skip param - file an enhancement ticket. In both cases a
patch would increase the likelihood of this getting fixed quickly.
However, why aren't you just removing the
The problem is here:
[WARNING] Ignoring project type maven-plugin - supportedProjectTypes = [jar]
I don't know how to solve it, but recommend a workaround: add your maven
build to Hudson as a shell task (not as Maven task).
—
Yegor Bugayenko, PMP®, SCEA
On Tue, Apr 5, 2011 at 3:09 PM, Prashu
am still learning atm. just started with maven 2 days ago. have not
reached the book section that covers the test/compile phase. ;)
will try and see if I can figure out the test phase and just get rid of
all tests.
thanks.
On 04/06/2011 12:19 PM, Anders Hammar wrote:
So it whould be the
Hi Marc,
On 6 April 2011 09:52, Marc Rohlfs wrote:
Tim, I hope You don't mind the question, but did You add the the wagon jar
to the MAVEN_HOME/lib directory on Your Hudson server, too?
Thanks, no, I had not. I have now, and it still does not work:
Hi, im newbie in mavne-nexus, and I have a question regarding install
thirdparty artifacts from nexus by maven.
I have pom that has dependency of python to be installed in order to run
test phase. I have python in specified version as third party in my nexus
thirdparty repository.
How can I
OK. by deleting apptest.php I got the project to generate the packages
as well as the new archetype. now I just have to figure out why the
generation of archetype.xml didn't work.
thanks Anders.
chuck
On 04/06/2011 12:23 PM, Charles Williams wrote:
am still learning atm. just started with
so. I finally got my archetype created and it's in my local repository
(mvn install). but if I try mvn archetype:generate
-DarchetypeCatalog=local I can't see my archetype as an option. any ideas?
chuck
-
To unsubscribe,
I wasn't in the tart/generated-sources/archetype directory when I called
mvn install.
all working great now.
On 04/06/2011 01:12 PM, Charles Williams wrote:
so. I finally got my archetype created and it's in my local repository
(mvn install). but if I try mvn archetype:generate
Btw, if you're on your first week of Maven you should probably not be trying
to create an archetype. Start by use Maven for some builds first. If you
don't know Maven, how would you be able to create a good template (a.k.a
archetype) for someone else to use?
/Anders
On Wed, Apr 6, 2011 at 13:00,
Hi,
I'm using maven-surefire-plugin 2.7.1 along with JUnit 4.8.2. I'm trying to
run :
mvn -Dtest=IndexRecordDAOTest#testGetAndList clean test.
It fails telling me that there are no tests to run.
This command runs wihout any errors :
mvn -Dtest=IndexRecordDAOTest clean test
What am I missing?
Hi,
I now have my project deploying using scp.
I added an explicit configuration for the deploy plugin to the pom:
plugin
artifactIdmaven-deploy-plugin/artifactId
version2.5/version
dependencies
dependency
groupIdorg.apache.maven.wagon/groupId
Hi Tim,
On 06/04/11 12:34, Tim Pizey wrote:
I cannot see in what sense ssh is an extension ...
In the sense that it is not incuded in the Maven core anymore ... ;)
... But if You really need different configurations for M2 and M3,
You could use different profiles that are automatically
If this is for a Sourceforge (I saw Webmacro in there) project then the route
that many have gone is to drop SCP, and use Nexus OSS. There are 1300 projects
using Nexus OSS now, it's easier to get your project into Maven Central and you
don't have to worry about the Maven repository
Hello,
This feature -Dtest=IndexRecordDAOTest#testGetAndList is available for
surefire 2.8.
Update the plugin version and try again :-).
HTH,
--
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy
2011/4/6 Marc SCHNEIDER marc.schneide...@gmail.com:
Hi,
I'm using
Hi Jason, Marc,
Thankyou for your help.
I am now back to working for M2 and M3, but it looks like I need to
get with the plot and use Nexus.
I have never understood why the maven generated site does not link to
the default distribution repo.,
nor why the decision was taken not to persue per
Olivier,
Thanks for this. I have written a mojo and found a defect while testing it.
I'll move this conversation to scm-...@maven.apache.org to discuss this
further.
Paul
--
Paul Mackinlay
http://www.webotech.co.uk/
On Apr 6, 2011, at 8:33 AM, Tim Pizey wrote:
Hi Jason, Marc,
Thankyou for your help.
I am now back to working for M2 and M3, but it looks like I need to
get with the plot and use Nexus.
I have never understood why the maven generated site does not link to
the default distribution
Hello,
I am experiencing a problem since I have my project configured to use
maven-source-plugin. When I try to execute a mvn clean install deploy
command the deploy plugin tries to uploadsources jar to repository twice.
Since this is a nexus release repository it doesn't allow redeployment and I
install and deploy are redundant. If you look at the Maven lifecycle
(http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html),
then all targets before the one you selected will be executed.
So a deploy calls also call install before. If you choose deploy, then
you don't
mvn clean install deploy
means the following
Mr Maven,
please look up the clean phase in the standard lifecycles and
execute all phases in the lifecycle it belongs to up to and including
the clean phase
then
please look up the install phase in the standard lifecycles and
execute all
Hello all,
I'm working on a large aggregate project that I'm trying to build 4 WAR
files for.
What I would like is a top level pom which upon doing mvn package it will
produce my 4 WAR files by compiling all child modules AND jars.
Each WAR file is comprised of a number of modules and some of
Hi Adam,
What I would like is a top level pom which upon doing mvn package it will
produce my 4 WAR files by compiling all child modules AND jars.
Each WAR file is comprised of a number of modules and some of the multiple
modules have a dependency on in-house compiled jars. Ideally when
Hi Karl,
That is effectively what I have so far. Except there are also some jar
projects in the structure too which more than 1 module will reference. (This
is to avoid sub-child modules being added to the reactor list more than
once.) At the moment I don't think the jar modules get
Also I refer you to:
http://maven.apache.org/plugins/maven-assembly-plugin/which states
that it can create distributions in the war format.
On 6 April 2011 15:27, Karl Heinz Marbaise khmarba...@gmx.de wrote:
Hi Adam,
What I would like is a top level pom which upon doing mvn package it will
On Wed, Apr 6, 2011 at 10:37 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote:
At the moment I don't think the jar modules get compiled/deployed
when i build the war.
What makes you say that? What exactly are you doing and what happens
vs. what you expected to happen?
Guessing, I'd say you
On Wed, Apr 6, 2011 at 10:44 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote:
Also I refer you to:
http://maven.apache.org/plugins/maven-assembly-plugin/which states
that it can create distributions in the war format.
It *can* but you generally only need it if the war plugin is not doing
what
Hi Jason,
thank you for your detailed reply.
On 6 April 2011 13:59, Jason van Zyl wrote:
On Apr 6, 2011, at 8:33 AM, Tim Pizey wrote:
Hi Jason, Marc,
Thankyou for your help.
I am now back to working for M2 and M3, but it looks like I need to
get with the plot and use Nexus.
I have
Hi Adam,
Adam Gibbons wrote:
That is effectively what I have so far. Except there are also some jar
projects in the structure too which more than 1 module will reference.
(This
is to avoid sub-child modules being added to the reactor list more than
once.)
So what's the problem this will
Hi Wendy,
Thank you for the helpful reply! I've never used Maven on this scale before
and it's a steep learning curve! I've been trying to convert a massive multi
module project from ant to maven these past two weeks, it all compiles and
runs unit tests now, but i've had no end of problems
This doesn't explain why he runs into errors though. The build would only
take a while longer.
/Anders (mobile)
Den 6 apr 2011 15.59 skrev Stephen Connolly
stephen.alan.conno...@gmail.com:
mvn clean install deploy
means the following
Mr Maven,
please look up the clean phase in the standard
Yes,
+-- pom.xml
+-- m1 (j1, j2)
+-- m2 (j3)
+-- m3 (j1, j3)
+-- m4
+-- m5
+-- j1
+-- j2
+-- j3
+-- war1 (m1,m2,m3)
+-- war2 (m4)
+-- war3 (m5)
This setup is effectively what I have so far.
However I am unable to use parent on a number of modules (as some have more
than 1). On
On Wed, Apr 6, 2011 at 10:56 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote:
for example let's say i build my pdf-creation.war file. this depends on a
tree-like structure of sub modules and some in-house jar files. It seems
that when I build the war the sub module tree is pulled in and the
On Wed, Apr 6, 2011 at 11:06 AM, Adam Gibbons adam.s.gibb...@gmail.com wrote:
Yes,
+-- pom.xml
+-- m1 (j1, j2)
+-- m2 (j3)
+-- m3 (j1, j3)
+-- m4
+-- m5
+-- j1
+-- j2
+-- j3
+-- war1 (m1,m2,m3)
+-- war2 (m4)
+-- war3 (m5)
This setup is effectively what I have so far.
On Wed, Apr 6, 2011 at 11:07 AM, Wendy Smoak wsm...@gmail.com wrote:
That's out of scope for Maven command line if you are *just* building
the war from its subdirectory. As I mentioned, it's something your
IDE might handle for you.
Hmm, well... maybe not. The output of mvn --help includes:
Hi.
I forced surefire provider in the following way
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.8/version
configuration
I have pom that has dependency of python to be installed in order to run
test phase. I have python in specified version as third party in my nexus
thirdparty repository.
How can I specify what to do with the dependency (for this example, install
python on machine if not exists)
Maven has no
So why maven couldn't find commons-lang? The two packages were not
used in the same class (the com.globalscalingsoftware.rsscon.internal package
and the com.google.common.base package).
Perhaps something related to transitive dependencies.
Wayne
On Wed, Apr 6, 2011 at 3:25 AM, Erwin Mueller erwin.muel...@deventm.org wrote:
Yes, so true. I realized that but I already send the email. I think I
was just too tired, I hacked the project together in one day.
But I was confused, because maven could not find the package
the sources get attached to the reactor twice
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 6 Apr 2011 15:45, Novak Dalibor dalibo...@gmail.com wrote:
Hi Stephen,
I
Hmm, wouldn't this be a bug then in either maven core or the sources plugin?
I'm quite sure executing mvn install deploy would work for a multi-module
build without sources attached. The main artifact wouldn't be uploaded
twice. (Haven't verified though.)
Possibly Maven 3.0.x doesn't have this
because there can only be one main artifact so it gets replaced but
you add to the collection of secondary artifacts... perhaps if core
implemented a set rather than a list and the set entries were equals
based on classifier and type
On 6 April 2011 19:01, Anders Hammar and...@hammar.net wrote:
Hi.
I forced surefire provider in the following way
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.8/version
configuration
Perhaps you need to set order of execution of tests, by giving following
optional parameter.
runOrder:
Defines the order the tests will be run in. Supported values are
alphabetical, reversealphabetical, random, hourly (alphabetical on
even hours, reverse alphabetical on odd hours) and
The Maven team is pleased to announce the release of Maven ANT Tasks,
version 2.1.2.
The Mavent Ant Tasks allow several of Maven's artifact handling
features to be used from within an Ant build. These include:
Dependency management - including transitive dependencies, scope
recognition and
On Wed, Apr 6, 2011 at 3:25 PM, sushil_rajmane sushil_rajm...@yahoo.com wrote:
Perhaps you need to set order of execution of tests, by giving following
optional parameter.
I am pleased to announce that the raising the dead award for 2011
goes to Sushil Rajmane for replying to a post that was
I am using ant to deploy artifacts to our Nexus repostory. Yes, I would love
to be using Maven but not with this horrible project!
The ant magic looks like
53 matches
Mail list logo