Hello,
I m currently trying to inject a custom property in the execution of the
creation of a project my an archetype. I'd like to maven resolves this
property like groupId or artifactId in a pom file.
I tried to both inject the property in the command line (eg.: -Dmyproperty )
and the settings
Hello
is there a way to deploy a website generated with mvn site by FTP ?
According to the documentation I only saw file scp. Do you know an other
way ?
thanks in advance for your help
regards,
Alexandre
--
View this message in context:
hi,
I m looking for a way to copy to a remote server the web site created by mvn
site.
Now, I only found the scp way and I d like an other way such as rcp or ftp.
Is these protocols avialable ?
Thanks
Alexandre
--
View this message in context:
Hello,
I m trying to implement maven into all my development processes such as
compile, package, release, quality,and much more. Especially I'd like to
deploy on a maven repository my artifacts but classified by target
environment. Right now, I have 5 ones : local for developers, develepment,
I saw that both pom.xml and settings.xml doesn t like files modified by
ultraedit.
When I opened these files with edit ( in command prompt yeahh) I could see a
'bad' byte at the beginning.
It this one which occurs this error
hope this helps
regards
alexandre
Danilo Tuler-2 wrote:
Hi,
I'm
In my opinion, if you want to produce a 'one shot' action and you dont care
about reusability - which is the case of your touch plugin- you may run an
antrun plugin inside a phase. Else, if you want to produce a reusable
action, you should work to a mojo plugin
Alexandre
Saloucious wrote:
Hello,
In my opinion, you should try to run the eclipse plugin with wtp enabled. If
you have read the maven user list recently you should have read the
announcement about the last release of the maven-eclipse-plugin.
For WTP support run the following command if you have the eclipse-plugin
2.5
suggestions how how to do that?!
Thanks,
James
Alexandre Touret
[EMAIL PROTECTED]
ree.fr
Hello,
I guess install is not a plugin but a phase, such ascompile or test
the related plugin is described as following :
dependency
groupIdplugins.org.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
version2.0-alpha-3/version
/dependency
Hope this helps ;-)
Hello,
I guess install is not a plugin but a phase, such ascompile or test
the related plugin is described as following :
dependency
groupIdplugins.org.apache.maven.plugins/groupId
artifactIdmaven-install-plugin/artifactId
version2.0-alpha-3/version
/dependency
Maybe, you should try
Hello,
No I don't think so
Regards,
Alexandre
2008/3/10, Baz [EMAIL PROTECTED]:
Is there a way that I can use Maven 2 to run ant 1.7.0 tasks?
On Mon, Mar 10, 2008 at 12:37 AM, Baz [EMAIL PROTECTED] wrote:
Do you know if there is a maven version that will support Ant 1.7.0+ ?
Thanks.
Thanks
Alexandre Touret wrote:
Hi,
I deployed a custom archetype in the repository of my company.
Unfortunately, I
cant figure out how to retreive automatically that. I saw on JIRA I should
use
the remoteRepositories property but I have the same behaviour. Maven
doesnt try
to download
Hello
I tried to create a project from a SNAPSHOT release of my custom archetype.
It works fine ...
So, in conclusion : maven can download automatically archetypes from a
snapshot custom repository but not for a release repository
If you can see how to solve this problem or any workaround
Hi,
I deployed a custom archetype in the repository of my company.
Unfortunately, I cant figure out how to retreive automatically that. I saw
on JIRA I should use the remoteRepositories property but I have the same
behaviour. Maven doesnt try to download the archetype from the 'local'
repository
Hello,
I have to replace one argument in a file which is in the
src/main/webapp/WEB-INF directory .
Just for information, the argument is the version of the current maven
project.
ex. :
from
core:init debug=true
jndi-pattern=@@applicationname@@/#{ejbName}/local /
to
core:init debug=true
in Maven core.. you can find it inside the uber
jar in your $M2_HOME/lib.
-Deng
Alexandre Touret wrote:
Hello,
I m currently programming a mojo plugin.
I d like to use the MavenProject class as described in the book
Better builds with maven. I created the project with a simple plugin
Hello,
probably, you could add the directory META-INF in your resource
directory like
src/main/resources/META-INF
It should work
Alexandre
Farrukh S. Najmi a écrit :
Dear colleagues,
My maven2 war project produces a file under the target tree as part of
the generate-source phase:
META-INF files from target tree?
Any other suggestions?
Alexandre Touret wrote:
Hello,
probably, you could add the directory META-INF in your resource
directory like
src/main/resources/META-INF
It should work
Alexandre
Farrukh S. Najmi a écrit :
Dear colleagues,
My maven2 war
Hello,
I m currently programming a mojo plugin.
I d like to use the MavenProject class as described in the book Better
builds with maven. I created the project with a simple plugin archetype
generation.
However, the class MavenProject is not present in the dependencies and I
didn t figure out
Hello,
I m using M2.0.5 with the last releases of both eclipse and wtp. I have
an EAR archetype with some wars and jars (ejb, and others).
When I run the eclipse plugin in maven, I have some troubles (sometimes
described in this mailing list) :
- the ear is not recognized as an enterprise
Hello,
do you know if there are any firefox extension (search engine) available
for the website mvn repository ?
Thanks.
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Hello,
I tried to skip the testcases with the property maven.test.skip
initialized to true during the release:prepare goal but its not work.
Is it possible to skip test phase ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Alexandre Touret wrote:
Hello,
I tried to skip the testcases with the property maven.test.skip
initialized to true during the release:prepare goal but its not work.
Is it possible to skip test phase ?
I forgot:
Thanks in advance :-D
Regards,
Alexandre
Hello
firstly, thanks for your response.
Unfortulately, I already tried this option but when I dont set any
testsuite, surefire doesnt find any testcase.
Alexandre Touret
Petar Tahchiev wrote:
On 05/12/06, Alexandre Touret [EMAIL PROTECTED] wrote:
hello,
I have described my problem
OK
I moved the testng dependency from my root project (I use a multiproject
) to each module. Now it works fine.
I suppose its a bug
I m going to add an issue in JIRA
Regards,
Alexandre
Alexandre Touret wrote:
Hello
firstly, thanks for your response.
Unfortulately, I already tried
hello,
I have described my problem recently in a post but I have had no
response. So I that s one of my prioblems:
I m trying to run maven-surefire-plugin with testng.
I specified a testsuite in a xml file. Unfortunately, I have
the following problem:
When I try to run only one testcase
hello,
I m trying to run maven-surefire-plugin with testng.
I have some troubles:
1 - if I dont specify teh testsuites path in pom.xml, surefire doesnt
find any test, even if I try to specify include elements
My pattern : include**/*Test.java/include
I decided to specify a testsuite in a xml
Hello,
I have already tried this.
Regards,
Alexandre
[EMAIL PROTECTED] wrote:
Hi
Try: mvn -DwtpVersion=1.0 eclipse:eclipse
Hermod
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Alexandre Touret wrote:
2 / The configuration of project facets
how may configure the eclipse plugin in order to specify the versions
of projects facets of WTP (Servlet API version number, JAVA version
,...) ?
I finally solved this problem. I add the following configuration to the
maven
Hello,
I m trying to integration a J2EE multiproject built with maven2 under
eclipse WTP (last version)
I have some troubles:
1 / The location of WEB-INF directory
according to the maven structure, I put the WEB-INF directory in
src/main/webapp
Unfortunately when I start mvn eclipse:eclipse
Hello,
There are 2 builds : the classes and test classes.
If you specify the aspectsourcedirectory in src/java, aspectj doesn t
parse any file in src/test. Its the default behaviour
I can suggest you to put all the aspects file have in
${maven.src.dir}/aspectj (as described in the plugin
/exclusions
My question : is there a way to specify ONE TIME this exclusion for all
the project ?
Thanks
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
is there a way to specify the project dependencies between some
artifacts of a J2EE application in pom.xml ?
In my application, I have a war which depends of some JARS and I d like
to specify this depencency with the eclipse plugin
Is it possible ?
Thanks for your help!
Regards,
Finally, I solved my problem with this config location:
classpath*:**/applicationContext-test*.xml
Regards
Alexandre
Alexandre Touret wrote:
Hello,
I programmed some testcases which run perfectly under M1.x . I moved
them to M2 recently. Unfortunately, I have some troubles
configuration files under
test-classes. I have already verified that all the files are present in
this directory.
I also tried to fork the process and to do the childDelegation. I have
the same result
What can I do ?
Thanks for your help
Regards,
Alexandre Touret
Hello
I think you should try to do your plugin with the JAVA API instead of
ANT. In my opinion, I prefer do JAVA Plugins and as a last resort, do
ant plugin
Regards,
Alexandre
Morgovsky, Alexander (US - Glen Mills) wrote:
Is using Ant tasks in Maven going to be supported as long as Maven 2
Hello,
is there a way to specify collections or maps parameters to ant plugins
? I know that it s possible with mojo plugin and I d like to do same
thing in a ant plugin
Thanks in advance
Regards,
Alexandre
-
To
/groupId
artifactIdant-contrib/artifactId
version20020829/version
/dependency
Thanks in advance for your help!!
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
not
create task
or type of type: script.
I 've tried to include rhino dependencies in the plugin's pom.xml but I
still have the same error.
How may I use the script task ?
Thanks
Regards,
Alexandre Touret
-
To unsubscribe, e
of type: script.
I 've tried to include rhino dependencies in the plugin's pom.xml but I
still have the same error.
How may I use the script task ?
Thanks
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED
as:
dependency
groupIdcom.oracle.oc4j/groupId
artifactIdjavax77/artifactId
version10.1.3/version
/dependency
How can I disabled this ?
Thanks in advance!
Regards,
Alexandre Touret
in maven 1
Thanks !
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
possible to use the Sun APT in order to process
annotations in despite of qdox ? Do you know any other workaround?
Thanks in advance for your help!
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED
to
the ibiblio site http://ibiblio.org/maven2 and look at the pom.xml of
the artifact.
If so, would it be necessary to download the whole
artifact to extract this kind of information?
Thanks a lot in advance for any help!
Hope this help
Best regards,
Ovidio
Regards,
Alexandre Touret
Hello
Jeff Mutonho wrote:
Q1) How do I specify a pre-existing application.xml to the
maven-ear-plugin ?
Look at the official documentation of the ear plugin. It seems to have
one property to set during the ear:generate-application.xml execution
in advance for your help!
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello
did you try to set the scope of the dependencies to system or runtime ?
Regards,
Alexandre
daniele pirola wrote:
Hi,
I am novice in Maven.
I try to investigate if my company projects could be migrated to Maven
and I have a question.
We have building many projects creating ear files or war
the
dependencies in the EAR and assign these dependencies with the scope
'provided' in the guis pom.xml but I would like to know what the 'best
practices' for this kind of problem.
Thanks in advance
Regards,
Alexandre Touret
-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED]
Sent: 12 July 2006 12:42
To: Maven Users List
Subject: [M2] Build complex projects
Hi,
I m migrating my projects from M1 to M2. I have a J2EE project (Struts,
spring, hibernate) with the following structure:
daos
? dao
schumhan wrote:
Hi,
I have a multi-module project and use the war-plugin to create finally a war
file. All that works more than fine. Actually my project is version
controlled by subversion and the war-plugin puts the files from .svn/*.*
all in the war file. I tried many hints like exludes or
OK thanks for your answers, I ll try to implement that :-)
Alexandre
Jörg Schaible wrote:
Hi Alöexandre,
Alexandre Touret wrote on Monday, July 10, 2006 6:35 PM:
Hello,
I m trying to migrate from m1.x to m2. I think M2 is powerfull by
transitive dependencies functionality.But in my J2EE
which produce some injections of
dependencies like spring. It will be easier for you.
Hope this helps
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Regards,
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
d'origine-
De : Alexandre Touret [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 21 octobre 2005 11:53
À : Maven Users List
Objet : [M1.0.2] How to change resources dependencies at runtime
Hi
I would like to change resources dependencies at runtime with
a jelly script is t possible ?
it would
Hi
I would like to change resources dependencies at runtime with a jelly script
is t possible ?
it would be nice if someone could give me a sample
Thanks in advance
Alexandre Touret
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hi,
how can I download all the reference documentation of maven 1.0.2 like
we can see on maven web site? I want to install it on a server for avoid
several access on maven site just for doc.
Thanks in advance
Alexandre
-
Hi
I have created a FTP Repository for maven in my society
maven cant connect to this server with this configuration
maven.repo.list= R1, R2
# Interne (par défaut)
maven.repo.R1=ftp://172.20.1.89/repository
maven.repo.R1.username=ato
maven.repo.R1.password=ato
Hi,
I am coding a plugin. When I try to start any of the goal I have the
following error
$ maven oc4jcore:shutdown
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
org.apache.commons.jexl.parser.TokenMgrError: Lexical
dan tran wrote:
dont know to much about this yet, but here it is
http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-ssh/
-D
On 6/14/05, Alexandre Touret [EMAIL PROTECTED] wrote:
phillip rhodes wrote:
I need to do some ssh commands in maven.
Has anyone ever
phillip rhodes wrote:
I need to do some ssh commands in maven.
Has anyone ever used jsch in maven? I would expect
to see it documented as a plugin, but numerous
searches for ssh and maven did not return any
information.
Thanks.
I tried to do this a few time ago with Maven 1.0.2.. I
Hi all,
I am using maven 1.0.2 with JDK 1.4.2. How can I do SSH SCP and SFTP?
I was try ant:scp and ant:ssh but these tasks are not available into
this version of maven.
Do I try to execute the command with ant:exec ?
Thanks for your help
Alexandre
/pscp.exe
ant:arg line=-v/
ant:arg line=D:/Temp/example.txt [EMAIL PROTECTED]:d:/Temp /
echoCommand Executed/echo
/ant:exec
The above code working for me.
And SFTP goal you can use 'taskdef' import that class and it will work
Thanks
Kumar
-Original Message-
From: Alexandre
Hi,
I am trying to parameter hibernate with maven.
Could you send me a sample of project configuration file where the
dependencies of hibernate are initialized?
Thanks in advance
Alexandre
-
To unsubscribe, e-mail: [EMAIL
/dependency
JTA you will need to park somewhere on your own server. And I am not sure
anymore if it is required. Also, note that depending on your environment you
might need to add more deps.
-Original Message-
From: Alexandre Touret [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 8:00
Hi,
I think you could set this dependency in the project descriptor
project.xml like this
dependencies
dependency
groupIdthe group/groupId
artifactIdthe artifact/artifactId
typejar/type
version1.0/version
/dependency
/dependencies
Alexandre
Bahaa Nasrallah wrote:
Hi,
Hi,
I am trying to use the appserver plugin for use it with tomcat 4.1.27.
I ran appserver:install and all the JAR copied into my
${maven.appserver.dir}directory are corrupted!
For an example, I cant open bootstrap.jar .
My configuration
maven 1.0.2
J2SE SUN 1.4.2_07
Thanks in advance for you
66 matches
Mail list logo