Hi,
i would like to know what is recommanded by Maven Team when a procces does
not fit with any plugins/goals provides by Maven.
Just for example, if i want to touch a file, what is better : create a
my.company.plugin.touch or add a simple antrun task ?
Thanks
--
View this message in context:
Any ideas ?
Saloucious wrote:
Hi,
Here is an multi-module example :
project-parent/
module1/
module2/
The module1 generates 2 artifacts, one with classifier client.
The module2 depends on this artifiact client.
When I run : mvn install from project-parent, during
Hi,
it's not the first time i've got this trace ending by a NullPointerException
(here is just an extract)
Occurs on eclipse:eclipse
Any ideas ?
[DEBUG] log4j:log4j:jar:1.2.8:compile (applying version: 1.2.13)
[DEBUG] commons-collections:commons-collections:jar:2.1:compile
(applying
Hi,
I would like to know which is the best way to build a MavenProject instance
from a File.
I do not want to use lookupMojo because i don't want to load my mojo but
just unit testing an Util Class.
--
View this message in context:
- by not calling 'clean' goal your
build
will be incremental
On 11/30/07, Saloucious [EMAIL PROTECTED] wrote:
I don't think Maven will recompile modules which depends of modified one
Is maven can make incremental builds ?
http://www.javaworld.com/javaforums/showflat.php?Cat=0Number
Not an answer, just same question as you
http://www.nabble.com/How-to-do-incremental-build--tf4602698s177.html
Kees van Dieren-2 wrote:
This would be helpful for us as well. We have a pom.xml with multiple
modules, e.g.
modulemodA/module
modulemodB/module
modulemodC/module
I don't think Maven will recompile modules which depends of modified one
Is maven can make incremental builds ?
http://www.javaworld.com/javaforums/showflat.php?Cat=0Number=32334Main=32334
http://www.javaworld.com/javaforums/showflat.php?Cat=0Number=32334Main=32334
Andrew Boyer wrote:
Ok my problem are solved,
because I haven't understand that defining a profiles List on command line
(-P) overrides actived By Default profiles configuration
Wendy Smoak-3 wrote:
On Nov 23, 2007 10:03 AM, Saloucious [EMAIL PROTECTED] wrote:
Is it possible to activate a profile
Ok my problem is solved,
-- Sorry
Saloucious wrote:
Ok my problem are solved,
because I haven't understand that defining a profiles List on command line
(-P) overrides actived By Default profiles configuration
Wendy Smoak-3 wrote:
On Nov 23, 2007 10:03 AM, Saloucious [EMAIL
Hi,
Is it possible to activate a profile if a profile is or is not activated ?
--
View this message in context:
http://www.nabble.com/Active-a-profile-if-another-is-not-activated-tf4862672s177.html#a13915247
Sent from the Maven - Users mailing list archive at Nabble.com.
Hi,
when i compile my project, Maven throws a NullPointerException :
[DEBUG] commons-beanutils:commons-beanutils:jar:1.6:compile (removed -
nearer found: 1.7.0)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile (selected
for compile)
[DEBUG]
yes, Maven just prints the wrong url in the error message if the artifact is
not
found
Wendy Smoak-3 wrote:
On Nov 22, 2007 11:11 AM, Saloucious [EMAIL PROTECTED] wrote:
Ok i've just trace Http request,
You were right, Maven always prints the original url put does not send
any
HTTP
Hi,
I'm trying to redirect central repository to my maven proxy,
mirrors
mirror
idcentral/id
mirrorOfcentral/mirrorOf
urlhttp://myproxy/url
/mirror
/mirrors
But I don't
With mirror, My proxy never receive a requet from my computer.
But i will check my traffic to see what happen on my computer
Wendy Smoak-3 wrote:
On Nov 22, 2007 9:20 AM, Saloucious [EMAIL PROTECTED] wrote:
I'm trying to redirect central repository to my maven proxy,
mirrors
Ok i've just trace Http request,
You were right, Maven always prints the original url put does not send any
HTTP request to repo01
Wendy Smoak-3 wrote:
On Nov 22, 2007 9:20 AM, Saloucious [EMAIL PROTECTED] wrote:
I'm trying to redirect central repository to my maven proxy
Hi,
is it possible to create an Assembly with ZIP format with files in root
dir.
Actually i've got
assembly.zip
|
|${finalName}
| |
| |- my_file
And i would like:
assembly.zip
|
|my_file
outputDirectory seems to begin at ${finalName} dir ...
Thanks
Because in AssemblyMojo, filters are in read-only mode, don't understand why
It's binded to filters define in build tag
/**
* @parameter default-value=${project.build.filters}
* @readonly
*/
protected List filters;
Saminda Abeyruwan-3 wrote:
Hi All,
I'm using
Re-explain my problem,
is it possible to filter more than once a properties file in a build process
?
I desire to create (with an assembly), 3 output dir with same properties
file indise, each files filtered by a different filter.
I success to build my assembly with profiles, but i need tu run
Ok , assume you don't want to bind your goal to a phase.
Have you got a solution to be able to launch several times same goal in a
unique build process ?
franz see wrote:
Good day to you, Marcus,
As already mentioned, you cannot create your custom phase ( well,
technically, you can. but
Ok, i have solved my problem
I have created 3 executions, in my assembly plugin definition, binded to
pre-integration-test
Saloucious wrote:
Re-explain my problem,
is it possible to filter more than once a properties file in a build
process ?
I desire to create (with an assembly), 3
Hi,
I would like to produce an assembly :
What I would like to do, is to filtering file1.properties with different
filters and produce for each filter a new filetered file.
Here is the assembly files structures i'm looking for
/
|
|--bin/artifact.war
|
|--env1
||-- file1.properties
Haven't succeed too
May be i've miss something in maven lifecycle, but i really don't understand
why it's not possible ...
You must attach your execution to a goal (e.g package) but don't know why
...
EJ Ciramella-2 wrote:
Yeah, I've been trying this:
plugin
inheritance will sufice.
Thanks again.
Will post the end resut here for all who care.
Regards,
On Nov 12, 2007 7:48 PM, Saloucious [EMAIL PROTECTED] wrote:
If you have multi-projects and a parent, a easier solution, should to add
your maven-antrun-plugin to pluginsMagement/ tag
dependencies plugin to unpack the properties files into your
current module so they will be packaged by assembly into the conf dir
you require.
Wayne
On 11/9/07, Saloucious [EMAIL PROTECTED] wrote:
So if i package properties file into my jars, how can I create finally
an
assembly which create
Just an idea
May be you can fork maven-antrun-plugin, and instead of let plexus bind
tasks attribute, instanciate tasks attribute with an xml file embded in you
plugin artifact
I was just having a look in AntRunMojo class but i think you have to use
AntTargetConverter
This is just assumptions
needed information
including the source and package, until we publish the repository.
Regards,
On Nov 12, 2007 5:53 PM, Saloucious [EMAIL PROTECTED] wrote:
Just an idea
May be you can fork maven-antrun-plugin, and instead of let plexus bind
tasks attribute, instanciate tasks attribute
dependency.
Wayne
On 11/6/07, Saloucious [EMAIL PROTECTED] wrote:
Ok, but is it possible to get jar artifact and properties artifact in one
dependency decalaration:
For example, I deploy module1 with jar artifact and properties artifact
and in a module2, i declare a dependency
Hi,
is it possible to exclude files in main artifact , and include these ones in
client artificat ?
It seems that it is only possible to exclude files in client.
--
View this message in context:
http://www.nabble.com/EJB-Excludes-files-in-Main-Artifact-tf4778361s177.html#a13669188
Sent from
/javaModule
Include this in the modules tag in maven-war-plugin.
The modules parameter exists only on mave-ear-plugin as far as I know.
Thanks
Saritha
On 11/5/07, Saloucious [EMAIL PROTECTED] wrote:
Hi,
I'm packaging a war and all dependencies go into WEB
}
/directory
...
/resource
/webResources
/configuration
/plugin
On Nov 6, 2007 5:04 AM, Saloucious
of properties
files that are jar'ed together and deploy it into your repo.
Wayne
On 10/26/07, Saloucious [EMAIL PROTECTED] wrote:
Hi,
Acutally, i'm working on a migration from Ant to Maven.
The old Ant script creates for each project a jar and copy properties
files in a deploy dir
Hi,
I'm packaging a war and all dependencies go into WEB-INF/lib, but i would
like to exclude 2 of them and but them into a services dir.
The target layout I'm after is:
WAR root
|
|---WEB-INF
| |---lib (with dependencies)
|
|---services (with my 2 excluded
Hi,
Here is an multi-module example :
project-parent/
module1/
module2/
The module1 generates 2 artifacts, one with classifier client.
The module2 depends on this artifiact client.
When I run : mvn install from project-parent, during compilation of the
module2, classes from the
module1
Each time I have encoutered this behaviour, i used Java ANT Task (antrun
plugin) to launch sources generation or a plugin calling a external class
(eg. WSDL2Java)
Saloucious wrote:
Hi,
Here is an multi-module example :
project-parent/
module1/
module2/
The module1
Hi,
Acutally, i'm working on a migration from Ant to Maven.
The old Ant script creates for each project a jar and copy properties
files in a deploy dir.
So these properties file are not embeded in jar.
Now i'm on Maven,
If I excludes files from jar, they will not be in repository
I don't
Hi
Is it possible to change assembly artifact extension (here i need to
produce a SAR) ?
I konw it is possible to do this for over plugins, eg: jar
(Create a new empty plugin with a components.xml file with
role-hintmy.new.extension/role-hint)
But i fail to do this with assembly.
Any ideas ?
project with only properties file
or create a classifier artifact attached to main jar artifact ?
Thanks
Graham Leggett wrote:
On Tue, October 16, 2007 3:44 pm, Saloucious wrote:
Ok refactoring projects has been validated !!!
Thanks for your reply
So, it will be easy now to follow
Hi,
I would like to know if i define something like that :
plugin
executions
execution
configuration
param1something/param1
/configuration
/execution
/execution
configuration
param2something/param2
/configuration
/plugin
Are
to
use Maven but can't follow the conventions.
Perhaps someone else will reply with something more useful. My general
response is do what works best for you.
Wayne
On 10/15/07, Saloucious [EMAIL PROTECTED] wrote:
Sure this is painful.
The only solution I have found is :
my-app
.
:-)
like Wayne has suggested, do it on the branch and show your boss prototype
before your proposal shows up on his desk.
-D
On 10/11/07, Wendy Smoak [EMAIL PROTECTED] wrote:
On 10/11/07, Saloucious [EMAIL PROTECTED] wrote:
Each Ant scripts creates one or more artifacts : jar , ejb, aar
Sure this is painful.
The only solution I have found is :
my-app
|-- pom.xml
|-- build.xml
|-- src
||- App.java
|
|--m2
|--jar
||--pom.xml
|
|--ejb
||--pom.xml
|
|--sar
|--pom.xml
Is better to put everything in one pom.xml, with
This is just an example (many projects)
Here, ejb is embed in sar and jar a separated artifact
Graham Leggett wrote:
Saloucious wrote:
|--jar
||--pom.xml
|
|--ejb
||--pom.xml
|
|--sar
|--pom.xml
Can you explain what
Hi,
i'm newbie with Maven and i'm in charge to convert application projects from
Ant to Maven
Each Ant scripts creates one or more artifacts : jar , ejb, aar, sar (with
embeded artifacts) ...
As i can see in Maven : one pom.xml = one artifact (recommanded).
I search a good design solution to
Sorry for the really poor subject title, Ant to Maven : Best Practises would
be better ...
Saloucious wrote:
Hi,
i'm newbie with Maven and i'm in charge to convert application projects
from Ant to Maven
Each Ant scripts creates one or more artifacts : jar , ejb, aar, sar
44 matches
Mail list logo