Hi!
Did you try specifying the property in your pom.xml or settings.xml like
this:
properties
assemblewhatever.value/assemble
/properties
hth,
- martin
On Wednesday 18 June 2008 Karan Malhi wrote:
Thanks for the response Martin,
I did look at that documentation and added the
which version are you using?
I´m using Archiva 1.0.2 and it does download sources, sure.
In my pom.xml i have:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-eclipse-plugin/artifactId
version2.4/version
[EMAIL PROTECTED] wrote on 18/06/2008 16:50:05:
Can we make use of our own properties/variables in archetypes?
The m2eclipse plugin allows us to define properties to be used at
arcetype
generation time.
The problem is, I've not see a single references as to _how_ to do
this!???
For
Hi,
If you want to exclude some specific tests you need to configure the
surefire plugin in your pom. Have a look at this
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html
There's an example showing how to exclude tests.
On Thu, Jun 19, 2008 at 4:31 AM,
I use Archiva 1.0.2 (WEB). Yes, I mean HTTP Proxy. The configuration in
archiva.xml is default, but I find deference:
releasesonce/releases, but I think it must releasesalways/releases.
proxyConnectors
proxyConnector
order1/order
Hi Ravi!
On Thursday 19 June 2008 Balasubramanian, Ravi Shankar wrote:
Hi all,
I need a way in maven (using the surefire-plugin) to run all tests
in a project ignoring any test failures that might occur. All my tests
are independent of each other and i want all the tests to be run
I am moving my applciaiton build process from ant to maven
earlier, some dependency jars were in my prj_hom/lib dir, these were for the
dependecny resoultion.
now the jars are in the repository and declared in the POM.
so emptying (deleting) the prj_home/lib dir should not be a harm.
my
Hi,
what always worked was:
mvn ... -Dmaven.test.failure.ignore=true
Stefan
Balasubramanian, Ravi Shankar wrote:
Hi all,
I need a way in maven (using the surefire-plugin) to run all tests
in a project ignoring any test failures that might occur. All my tests
are independent of each
On Thursday 19 June 2008 Niranjan Deshpande wrote:
I am moving my applciaiton build process from ant to maven
earlier, some dependency jars were in my prj_hom/lib dir, these were for
the dependecny resoultion.
now the jars are in the repository and declared in the POM.
so emptying (deleting)
Hi,
I have been trying to build a Maven site for some of our modules by
running mvn site, and the build process seems fine until it got to the
changelog report. It was stuck at the following point, and the
changelog.html was generated as a blank file.
Extract from the log:
I would like to create my own archetype. I used the quickstart-archetype as an
example. How is it possible to change the java-folder from src-main-java to
src-java (remove the main-folder)? Can you give me some examples?
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit
Hi all,
I'm trying to upload javadoc to a site when we release an artefact. How
can I switch uploading based on whether it is a release version or not?
Thanks,
Richard
In your archetype's pom, in the build section, put the following
configuration:
build
sourceDirectorysrc/java/sourceDirectory
...
/build
Greetings,
Salvador
[EMAIL PROTECTED] a écrit :
I would like to create my own archetype. I used the quickstart-archetype as an
example. How is it
where do the generated reports of the pmd/checkstyle go?
I am using my own ruleset for both. and right now executing the pmd plugin
as under build
will later move it to the reporting
--
Regards,
Niranjan Deshpande
Shut yourself from the world and create the reality you want
Folks;
so far I make use of a pom artifact having several modules configured
in order to ease building projects depending upon each other. Right
now, the last of these modules is a war artifact which, after
building all modules, I would like to deploy to some server (using
exec:exec and the
Try creating a sample project
then call mvn archetype:create-from-project on that project
then go to target/genetrated-sources/archetype
then call mvn install
to use it go to a fresh directory and call mvn archetyppe:generate
-DarchetypeCatalog=local
Raphaël
2008/6/18 [EMAIL PROTECTED]:
I
Declaring this inside a war artifact, execution phase deploy, works
fine. Using a pom artifact however, it seems to run exec:exec not
along with deploying the pom (i.e. after rebuilding all) but in the
deploy phase for each module (at least that's what the error messages
make me believe). Am I
Hi,
I've been developing a maven plugin for the Java Plugin Framework
(http://jpf.sf.net).
Its a plugin system similar to the one used by eclipse.
A jpf-plugin is a jar file containing the compiled classes in a
subdirectory and a plugin descriptor. A plugin can export certain
classes and
No this is not the issue. The problem is that the version of the build
tool artifact does not get updated during the release:prepare phase.
Pete
-Original Message-
From: Kalle Korhonen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 10:11 PM
To: Maven Users List
Subject: Re:
Hi all,
I am trying to create a WAR file with class files and other jar files. As I
have conflict with an external jar file, I am supposed to omit my jar file
while packaging. Can you please let me know how to achieve that?
Any help is greatly appreciated.
Thanks
Prabhu
--
View this message
I am getting the error below when attempting to add the Apache
commons-validator version 1.3.1 to my project.
It looks like this might be a known issue in Maven based on this bug
report:
http://jira.codehaus.org/browse/MNG-2123?page=com.atlassian.jira.plugin.
hi,all
some questions about executions section i have,
1-Does execution only can be activated along with it's config phase been called?
2-If i have 2 executions,both of them didn't set phase / section,
when and which one will executed?
3-How to directly invoke one of execution?
waiting for
I actually use TestNG, and filter my testng.xml thus getting the result it
sounds like you want.
On Thu, Jun 19, 2008 at 12:51 AM, Julien Simon [EMAIL PROTECTED] wrote:
Hi,
If you want to exclude some specific tests you need to configure the
surefire plugin in your pom. Have a look at
Hi,
I need to invoke the goal archetype:create from a java program using the
Maven API.
Actually I've a class that uses a ProcessBuilder, but this is somewhat
problematic since
it rely on an external maven installation. This is the ugly code:
String command[] = {
mvn,
Hello everybody,
I've following problem.
I'trying to develop Ant Plugin for Maven 2.0.9. In the plugin I'm using
the ant task from Oracle - for assemblying Web Services. First I tried
to create a normal Ant build file - it works correctly and then I've
create (from this file) the Maven plugin.
Hi,
You could specify a provided scope for the dependency that you don't want to
package in your WAR. It will use the dependency for the compile phase, but
will not include it in your war.
dependency
groupIdmy-jar-group/groupId
artifactIdmy-jar-artifact/artifactId
SlinnHawkins, Jon (ELS-CAM) wrote:
Hi,
Is there any way of forcing a dependency to use the highest version available ?
Ranges is the right way to do it.
For example :
Does [4.0,) grab the highest version above 4.0, or does it still use a “best
fit” with the other
I am trying to deploy to resin with:
plugin
groupIdcom.caucho/groupId
artifactIdresin-maven-plugin/artifactId
version3.1.5/version
/plugin
But web\target\webapp is fully blank, but webapp-cach has what looks like my
contents of
I am trying to determine how to bundle my SWT application to release
on windows, linux, linux-amd64 and macosx.
I already have 4 profiles that have the correct dependencies for each platform.
What I want to do is tie this into the assembly plugin and the release plugin.
This is how I can have
Is anyone using the resin plugin?
On Thu, Jun 19, 2008 at 9:06 AM, Mick Knutson [EMAIL PROTECTED] wrote:
I am trying to deploy to resin with:
plugin
groupIdcom.caucho/groupId
artifactIdresin-maven-plugin/artifactId
version3.1.5/version
500 Servlet Exception
[show] javascript:show(); java.lang.NullPointerException
java.lang.NullPointerException
at com.caucho.amber.table.ForeignColumn.init(ForeignColumn.java:50)
at com.caucho.amber.table.Table.createForeignColumn(Table.java:225)
at
AFAIK this plugin is supported by the maven dev team.
Please have a look at http://www.caucho.com/
caucho mailing lists are listed here :
http://maillist.caucho.com/mailman/listinfo
Thanks !
--
Olivier
2008/6/19 Mick Knutson [EMAIL PROTECTED]:
500 Servlet Exception
[show]
oups typo ;-)
AFAIK this plugin is NOT supported by the maven dev team.
2008/6/19 Olivier Lamy [EMAIL PROTECTED]:
AFAIK this plugin is supported by the maven dev team.
Please have a look at http://www.caucho.com/
caucho mailing lists are listed here :
So I need to sign up to yet another list to find help on a Maven supported
plugin?
On Thu, Jun 19, 2008 at 1:50 PM, Olivier Lamy [EMAIL PROTECTED] wrote:
oups typo ;-)
AFAIK this plugin is NOT supported by the maven dev team.
2008/6/19 Olivier Lamy [EMAIL PROTECTED]:
AFAIK this plugin is
Thanks a lot.
I am having a problem in including a jar file though.
I have the following directory structure.
Dir A/
- lib/
- pom.xml
Dir B/
- WEB-INF/lib
- pom.xml (includes dependency for Dir A)
Dir C/
- pom.xml
I want to place the jar files in Dir B/WEB-INF/lib
Hi!
Usually vendor specific ant tasks come in a jar. So is this jar available in
the public repositories or did you deploy it into your company repository? If
so, simply add a dependency to it.
LieGrü,
strub
--- Jan Bohac [EMAIL PROTECTED] schrieb am Do, 19.6.2008:
Von: Jan Bohac [EMAIL
Anyone seen this before. Maven 2.0.7 works just fine.
Error creating bean with name
'org.springframework.transaction.config.internalTransactionAdvisor':
Cannot create inner bean '(inner bean)' of type
[org.springframework.transaction.interceptor.TransactionInterceptor] while
setting bean
I keep getting this error trying to run Selenium tests:
*17:31:54,256 INFO
[org.openqa.selenium.server.SeleniumDriverResourceHandler] Got result: ERROR
Server Exception: sessionId should not be null; has this session been
started yet? on session null
17:31:54,288 INFO
hi,
i know execution may contains configuration,but i am still confusing,
some plugin has the configuration only,some plugin has the execution only,
and some has both of them,
how to differentiate them and use correctly?
thanks a lot!
oliver.lee
2008-06-20
On Thu, Jun 19, 2008 at 9:30 PM, oliver.maven [EMAIL PROTECTED]
wrote:
hi,
i know execution may contains configuration,but i am still confusing,
some plugin has the configuration only,some plugin has the execution only,
and some has both of them,
how to differentiate them and use
On Thu, Jun 19, 2008 at 4:57 PM, Mick Knutson [EMAIL PROTECTED] wrote:
So I need to sign up to yet another list to find help on a Maven supported
plugin?
No, I think you need to sign up for a third-party list to learn about a
third-party plugin for Maven. Does that make more sense?
-
On Thu, Jun 19, 2008 at 11:46 PM, Hoying, Ken [EMAIL PROTECTED] wrote:
I am getting the error below when attempting to add the Apache
commons-validator version 1.3.1 to my project.
It looks like this might be a known issue in Maven based on this bug
report:
hi Geoffrey,
quite clear now!thank you so much!
my last doubt,
the only way to specific a plugin to execute in certain phase, is to add a
execution section?
got any other way?
oliver.lee
2008-06-20
发件人: Geoffrey Wiseman
发送时间: 2008-06-20 09:38:19
收件人: Maven Users List
抄送:
主题: Re: what
Just wondering what the best way to change the version of POMs in a
multi-module Maven 2 project from one number to another? I know you can
use the release:branch plugin to do it if you require a branch, but
sometimes I don't want to branch - I just want to increase the version! I
need to be
44 matches
Mail list logo