correctly and some others not O_o
Any hint?
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Thu, Oct 21, 2010 at 7:08 PM, Jon Paynter kittl...@gmail.com wrote:
On Thu, Oct 21, 2010 at 4:08 AM, Aleksey Didik
aleksey.di...@maxifier.comwrote:
Hello all!
I
are wrote: Filtering is
only enabled inside files so that's what we will use.
Could anybody clear the situation?
Best regards.
--
*Aleksey Didik,*
Solution Architect
Tel (Office): + 7 846 342 51 74 ext.242
Mob: +7 927 730 76 43
Skype ID: aleksey.didik
*Maxifier - AOP Technology Award
Hello.
Could anyone tell me the difference between
org.codehaus.*mojo*::sonar-maven-plugin and
org.codehaus.*sonar*::sonar-maven-plugin?
Looks like I have lost a little.
Thanks,
Aleksey.
13.09.2010 19:24, Simon Brandhof пишет:
The Mojo team is pleased to announce the release of Sonar
)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
14.09.2010 13:00, Aleksey Didik пишет:
Hello.
Could anyone tell me the difference between
org.codehaus.*mojo*::sonar-maven-plugin and
org.codehaus.*sonar*::sonar-maven-plugin
(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115)
14.09.2010 13:00, Aleksey Didik пишет:
Hello.
Could anyone tell me the difference between
org.codehaus.*mojo*::sonar-maven-plugin and
org.codehaus.*sonar*::sonar-maven-plugin?
Looks like I have lost
Hello.
Use ${basedir}/src/main/jibx/customization.xml instead your variant.
By default work directory is a directory when you start mvn.
Always use ${basedir} before you relative file paths.
hth,
Aleksey.
26.08.2010 15:51, nishant@hsbcib.com ?:
src/main/jibx/customization.xml f
Hi,
By default, surefire works in fork mode 'once' (new JVM) and all
arguments passed from command line via Hudson will be available in base
maven process,
but not in surefire process.
Try to use forkModenever/frokMode.
hth,
Aleksey.
04.08.2010 15:09, Taariq Levack пишет:
Hi
My surefire
Hi, Likin.
Is this dependency SNAPSHOT or not?
Aleksey.
30.07.2010 12:36, Lukin пишет:
Hi,
I have defined additional repositories in my settings.xml - works OK.
I have manually installed one dependency - OK (it is in my .m2 directory).
Problem is, that this dependency is always looked for in
Hello, Rick.
Please, clarify, how do you define submodule dependency?
Do you use dependecyManagement section in parent pom with
${project.version} property?
Best regards,
Aleksey Didik.
08.07.2010 2:34, DeGrande, Rick пишет:
I have a multi--module configuration. the directory structure
Hello Christoph,
Try to use mvnrepositry.com.
For example:
http://mvnrepository.com/artifact/org.sonatype.tycho/tycho-compiler-jdt/0.9.0
HTH,
Aleksey Didik.
08.07.2010 11:20, Christoph Kutzinski пишет:
Hi,
I thought this would be a no brainer, but suprisingly I found no answer to this
so
Hello Rick.
In this case release will not change dependencies versions, because
maven have no difference between external artifact and module artifact.
My suggestion is to use ${project.version} and dependencyManagement
for cross module dependencies.
hth,
Aleksey Didik.
08.07.2010 17:59
Rick, see comments below.
I thought it would update the sibling modules based on the modules included in
the parent pom. It updates the sibling dependencies when it changes the tagged
version just not the next version.
Look like I've not clear understood release process with sibling
Hello.
It's not clear why do you want to use two different poms,
but I can suggest, you have two different build cycle.
For example one for build on local machine, second for you continuum.
But in this case, the better solution is to use maven profiles. And you
will have possibility to choose
Hello all,
I need to put the applet jar to my WAR root folder.
Applet jar are developed in the same project, just another module.
I define applet jar as module dependency, but in this case it was put in
WEB-INF/lib.
Is at possible to make some mapping to put this jar to root folder? And
use
Use mirror settings in settings.xml.
It make you possible to redirect every maven request to you local repo.
http://maven.apache.org/guides/mini/guide-mirror-settings.html
hth,
Aleksey
17.05.2010 15:07, Kenneth Petersen пишет:
I think my first mail was lost, so here I go again...
I am new
Ah, my fault.
Try to use.
mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-DarchetypeArtifactId=maven-archetype-jsfwebapp
-DarchetypeVersion=3.3.2.GA -DgroupId=org.docs.richfaces
-DartifactId=jsf-app
-DarchetypeRepository=http://repository.jboss.org/maven2
Aleksey.
23.04.2010
Please, send to me a command from console?
Maven try to use SNAPSHOT versions. It's strange.
23.04.2010 15:39, pankjajain15 пишет:
ya i tried your command, but again foung following error
--
1) org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT
Try downloading the file
Ok, I undertsand.
Looks like this archetype is quite difficult as I think before.
You need to add JBoss Snapshot repo to you maven settings.xml.
Try to change previously added profiles section to listed below and
try again with command.
profiles
profile
idjboss-repo/id
repositories
to change archetype version in command to earlier, like
3.3.1.GA
3.3.0.GA
3.2.2.GA
3.3.1.GA
May be the luck will be with you in one moment and this version of archetype
will use only releases...
Aleksey.
23.04.2010 16:34, pankjajain15 пишет:
till it is asking for snapshot version
Aleksey
for archetype in
repositories like any another artifact.
Please, solve my doubt.
Best regards,
Aleksey Didik.
P.S. Looks like I need to use nexus archetype plugin to create my nexus
archetype catalog and define it usage on a 'generate' goal
. I'd suggest contacting others in your
development group to find out what you should put in your
~/.m2/settings.xml.If you are using a repository manager, then you
will need to define a mirror in your settings.xml.
Tim
On Thu, Apr 22, 2010 at 4:19 AM, Aleksey Didik
di...@magenta-technology.ru
://bit.ly/8YtLOh
On Thu, Apr 22, 2010 at 9:58 AM, Aleksey Didik
di...@magenta-technology.ru wrote:
Thanks for response, Tim.
Yes, sure, it's my own archetype. I created it and deployed to our company
Nexus.
Mirror is defined too. It can't be in central, because it's for internal
company usage only
Yes, it's a variant.
Thanks a lot.
Aleksey.
22.04.2010 20:14, Tim O'Brien пишет:
Use archetype:create instead of archetype:generate
See here:
http://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html
Tim
On Thu, Apr 22, 2010 at 11:11 AM, Aleksey Didik
di...@magenta
://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html
Tim
On Thu, Apr 22, 2010 at 11:11 AM, Aleksey Didik
di...@magenta-technology.ru wrote:
Thanks a lot, Tim.
Archetype can be found now, but Maven still try to get archetype catalog
from central and print connection fail error to console
Unfortunately yes :(
Just I need to show my archetype work on the local company Tech Days.
And errors in console or no-interactive-mode is not good for me.
Aleksey.
22.04.2010 20:41, Wayne Fay пишет:
My archetype use interactive mode for defining some project properties.
But create goal don't
Hello pankjajain15.
Look like you need to add jboss repository to your settings.xml.
On the start Maven knows only about 'central' repository which can not
contains necessary archetype.
This archetype contains in JBoss repository.
Try to do next:
1) Add to maven-dir/conf/settings.xml next
Hello Matthew,
IntelliJ Idea use M2_HOME as default maven dir, but you can override it
(or point on it) through interface.
Best regards,
Aleksey.
13.04.2010 8:46, Matthew McCullough ?:
Okay. Thanks for the input guys. So it seems like _not_ defining it
is the more flexible option,
42
12.04.2010 17:56, perfer_chen ??:
one ??
I use maven version 2.2.1??I can download pom file??but the *.jar not??
the pom file and jar in the same dictory
two??
maven-jetty-plugin
how to write the jetty-env.xml and jetty.xml
thanks
You can do it.
Just use:
resources
resource
directorysrc/main/resources//directory
filteringtrue/filtering
/resource
!--Resources within classes except java--
resource
directorysrc/main/java//directory
excludes
exclude**/*.java/exclude
/excludes
/resource
/resources
HTH,
Aleksey Didik
this configuration and maven copy files in
necessary relative locations in targets. Let me check it one more time.
I'll try to make test project.
Aleksey.
Regards,
Cleiton Garcia.
-Mensagem original-
De: Aleksey Didik [mailto:di...@magenta-technology.ru]
Enviada em: Thursday, April 08, 2010 9:29
Ok, It's work as I supposed.
Check target dir of the test project.
May be I understand something wrong in your problem description?
Aleksey
08.04.2010 17:17, Aleksey Didik пишет:
08.04.2010 17:07, Cleiton Dos Santos Garcia пишет:
Hi,
I’ve already tried this configuration, but maven removes
Looks like it's a bad idea to attach zip archives.
I'm going to try again. Rename _zip to zip.
HTH,
Aleksey.
08.04.2010 17:24, Aleksey Didik пишет:
Ok, It's work as I supposed.
Check target dir of the test project.
May be I understand something wrong in your problem description?
Aleksey
to skip tests /-Dmaven.test.skip=true/. I try to use
/skiptrue/skip/ in surefire configuration, it doesn't help.
May be you know some ways to solve this problem?
Best regards,
Aleksey Didik.
Hello.
In my projects I use second variant.
It's makes only one trouble for me, when I have to remember the name of the
last milestone version I have released already and what will be the next :)
By my logic, you always develop snapshot of version 1.0 (for example). Not
1.0-m1, not 1.0-m2.
Hello,
Try to use maven-dependency-plugin in couple with jetty-maven-plugin.
First can dowload artifact (war) from repository. Second, start this war
as webapp.
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
hth,
Aleksey.
11.03.2010 10:30, Alexander
Hmm,
_*!**_ looks strange.
Try to use
mirror
idnew-repository/id
urlhttp://repo.upromise.com:8080/archiva/repository/new-repo/url
mirrorOfplatform-release,platform-snapshot/mirrorOf
/mirror
Aleksey.
09.03.2010 4:49, Michael Delaney пишет:
All,
Using Maven 2.2.1, I'm trying to setup (in the
file name...
Is exists right way to create this folder?
Now I use just /mvn/ command in console, it has broken because no one
project exists in work, but .m2 folder has been created.
Best regards,
Aleksey Didik.
Thank you, Wendy!
Yes, it's possible to create first dotted folder by windows console :)
Quite good.
But idea with msi is the good one, may be I will make it.
Aleksey.
07.03.2010 16:36, Wendy Smoak пишет:
On Sun, Mar 7, 2010 at 7:32 AM, Aleksey Didik
di...@magenta-technology.ru wrote
Thanks for help :)
Aleksey.
19.02.2010 17:34, Adam Leggett (UPCO) пишет:
I blogged about how to do this here:
http://blogs.mikeci.com/2010/01/14/working-with-custom-maven-archetypes-part-1/
See step four - filtering a file name.
Cheers
Adam
On Fri, 2010-02-19 at 17:27 +0400, Aleksey Didik
in
archetype.xml is not work, as expected.
May be anybody know solution?
Thanks and best regards,
Aleksey Didik.
We use
plugin
artifactIdmaven-jar-plugin/artifactId
version2.2/version
configuration
archive
manifestFiletarget/classes/META-INF/MANIFEST.MF/manifestFile
manifest
addClasspathtrue/addClasspath
mainClass${main.class}/mainClass
/manifest
/archive
/configuration
/plugin
with own assembly
The way to put jar + dependencies jars in one folder is:
assembly
idbundle/id
formats
formatzip/format
formattar.gz/format
/formats
includeBaseDirectoryfalse/includeBaseDirectory
dependencySets
dependencySet
outputDirectory//outputDirectory
/dependencySet
/dependencySets
/assembly
Aleksey.
Hello all,
my question is:
Can I add privilege to CRUD, view, upload and download artifacts from
any repository except someone?
Thanks for you response,
Aleksey Didik.
-
To unsubscribe, e-mail: users-unsubscr
Sorry for this message, it's for nexus group.
Aleksey.
18.02.2010 18:25, Aleksey Didik пишет:
Hello all,
my question is:
Can I add privilege to CRUD, view, upload and download artifacts from
any repository except someone?
Thanks for you response,
Aleksey Didik
Hello.
Is twice entries from different jar dependencies?
Is this jar dependencies the same artifacts but with different versions?
Or it's just classes with equals names from different artifacts?
Aleksey.
04.02.2010 12:13, Hauschild, Klaus (EXT) пишет:
Hi,
I'm using the assembly-plugin to
) пишет:
Yes, there are more than one dependency. Currently the problematic entry is
META-INF/NOTICE.TXT.
After packing the .jar I use this with JNLP and its Jar-Loader doesn't
support duplicate entries in jar files.
-Ursprüngliche Nachricht-
Von: Aleksey Didik [mailto:di...@magenta
I will write a mail in Russian to your gmail account.
It will be more useful to speak about this problem.
Aleksey Didik.
01.02.2010 17:06, Andrey Razumovsky пишет:
Hi,
Thanks for an answer.
I don't want to use snapshot for every pom because it brings ugly postfixes
for artifacts e.g. when I
I don't see anything with this functionality.
May be better to use /maven-antrun-plugin/ and write necessary ant script.
Best regards,
Aleksey.
01.02.2010 19:42, Ilya Kazakevich ?:
Hi all,
I have a slightly weird situation: I need to update contents of some
external XML file each time I
But I have found this one:
http://code.google.com/p/maven-replacer-plugin/
01.02.2010 19:42, Ilya Kazakevich пишет:
Hi all,
I have a slightly weird situation: I need to update contents of some
external XML file each time I do deploy.
I wonder if there is a plugin that could be installed in
Hello all,
Do you have any ideas, how to upload some project files to another host?
I have found wagon-maven-plugin, but it's upload goal is very poor (imho).
I want to upload 2 files from different folders, but I can define only
one fromDir.
But if I define fromDir as ${basedir} and set
Hello,
as to me, the best way for integration tests organization is using 'pom'
packaging for it module.
In this case you could manually switch on only necessary plugins like
compiling only tests, copy resources or not, and etc..
My it-module pom:
project
Sorry, looks like I don't understand your question.
The shame.
Aleksey.
maik.eb...@icw.de пишет:
Hello everyone,
is it possible to remove the maven-resource-plugin with its testResources
mojo execution from the lifecycle when tests are skipped?
The maven-compiler-plugin respects the
But what about maven-assembly-plugin?All assemblies will be installed
and deployed, not only main jar.
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
Getting started with the Assembly Plugin is pretty simple. If you're
using one of the prefabricated assembly descriptors, you
the command
line (provided all required files are available before the build starts, or
are produced by another goal specified before this one on the command line).
Change _goalsingle/goal_ to _goalassembly/goal_ and try again.
Best regards,
Aleksey Didik
Wim Deblauwe ?:
Hi,
I have
/plugins/maven-assembly-plugin/index.html
Best regards,
Aleksey Didik
Valentin Jacquemin пишет:
Hi all,
Is it possible to use one pom file that generates 2 artifacts?
I have one pom taking care of creating an ejb artifact but I'd like to
produce also a jar library containing every interfaces
be used for dependencies specification which must be
included into EAR.
Best regards,
Aleksey Didik
Joerg Heinicke ?:
Aleksey Didik didik at magenta-technology.ru writes:
Using separate module for EAR is the most useful solution.
This module is description of what must be in the ear.
Use
/artifactId
versionSNAPSHOT/version
/dependency
/dependencies
/project
Belive, it will help your.
Best regards,
Aleksey Didik
Joerg Heinicke пишет:
Hi,
I'm trying to create an EAR from my WAR file. The WAR itself works perfectly.
Now I expected ear:ear will simply create my EAR
Hello Sammaiah,
You have started maven in offline mode in first case. And maven wrote about it
in log.
Reason: System is offline.
...
*NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.*
When you start maven
dependencies...
Do you have any ideas?
Best regards, Aleksey Didik.
Thanks for so fast response, Jorg.
I'll try to use your solutions.
Best regards, Aleksey.
Jörg Schaible пишет:
Hi Aleksey,
Aleksey Didik wrote at Montag, 22. Juni 2009 08:08:
Hello all.
I have met a situation which confuse me a little.
Let's imagine we have two assembly for one maven
dependencies...
Do you have any ideas?
Best regards, Aleksey Didik.
dependencies...
Do you have any ideas?
Best regards, Aleksey Didik.
62 matches
Mail list logo