Hi,
Is there a way to restrict reactor plugin to forbid running sub modules in a
pom configuration.
What I want to do is exact equivalent of non recursive parameter ( -N ) of
Maven. My parent pom is inherited by all sub modules and my goal is running
my pom profile without command line
Simplest way
* mvn archetype:generate
It helps you create a demo project. Read here [1]
* At idea: File, new project, import from external resource, and select your
created project folder.
You can run your goals.
[1]: http://maven.apache.org/archetype/maven-archetype-plugin/usage.html
--
View
Hi Stephen,
Thanks for suggestion. This is not applicable because of the 3 level
architecture. 2nd level modules might be a parent pom too. :(
I though that maybe I might pass -N parameter to reactor plugin. :) It seems
this is deliberately disabled.
Thanks
--
View this message in context:
For those who wants another use case for custom unique version is:
At our legacy application based on JPA has persistence.xml. Our domain jars
were divided into the two module and they are included at our
persistence.xml at like this:
persistence-unit name=SearchV2PU
Hi I have a dozen projects utilizing common war configuration at my parent
pom pluginManagement as this:
configuration
webResources
resource
directory${ui-dir-jsp}/directory
includes
include${jsp-for-war}/include
/includes
/resource
/webResources
Hi Olivier,
Brilliant solution :) I have totally forgotten such kind of features. [1]
By the way, I would like to thank you for your all contributions by this
opportunity. I really like your blog and articles. :)
Thanks
[1]:
We were almost in same situation and after deeply analyzing projects such as
Jetty, Camel etc. concluded that the best practice for us releasing all of
the modules at one time even if some projects haven't changed. At first it
seems that there is nothing changed but it has very crucial side
Hi,
Simply I would like to check all classes at a certain package has an
annotation. For this requirement, I have thought that enforce plugin rule
could be great but I dont know how to load all classes from file system.
Is there a simple way to load all classes from target directory?
Thanks
I have various questions regarding Maven 3 and Nexus repository. At our nexus
repository I would like to resolve only timestamp dependencies. That is to
say I would like to prevent downloading timestapped dependencies to my local
repository. And also at my nexus configuration having only latest
I was really expecting something very very simple. :) I think that we should
file an issue regarding that. What we are trying to do is really very simple
and essential. Maybe properties should has another attribute like final
which is forbidding to be overwritten by children modules? What are your
@stephenconnolly
Sorry but I could not understand your point exactly. Could you explain a
little bid more? You mean because of being at another folder such as my
repository it will point somewhere else?
Thanks
--
View this message in context:
Thanks for detailed explanation.
In order to not having relative path problems at our build server each
modules has it is own script and common workplace.
I will keep in my mind your suggestions. I am strongly agree with your
opinion.
Is there any resource for Maven patterns/antipatterns?
I have 3 level multi module maven project. I want to utilize a common plugin
configuration at parent pom and the rest of the 2nd and 3rd level modules
will utilize this configuration. The plugin configuration has a
configuration file for 3rd level modules such as:
thanks guys for your attention.
I have solved my problem as @stephenconnolly described. But I will keep in
my mind your suggestions.
--
View this message in context:
http://maven.40175.n5.nabble.com/Parent-Pom-and-maven-goals-for-only-war-projects-tp4582234p4585936.html
Sent from the Maven -
Hi,
I have a multi module maven project. It has 5 module and 2 of them are web
projects.
I want to customize my plugins to be run at only war projects. I mean at
parent pom level I would like to trigger my goals and only my war projects
will be affected. Is there any way for it?
As a result of
Hi Marc,
Firstly, the configuration what you suggessted solved our problem.
Actually before posting last example here, I checked out source of the war
plugin and checked difference between two version of the files. I noted that
there was a change in the behaviour of the cache mechanism of the
Hi Marc!
You really made my day. Thank you very very much. I dont know how to thank
you.
Have a nice day.
--
View this message in context:
http://maven.40175.n5.nabble.com/War-plugin-2-1-beta-1-problem-tp3384365p3386181.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Hi,
I have an application which was working with maven 2.1-beta-1 quite good.
However after upgrading my war plugin I started to have a problem regarding
packaging my application.
Short decription: Running this command
mvn clean war:exploded package
Detailed Description:
I would like to make
Also tried such configuration to test. It is still changing that processed
files with unprocessed files.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.1.1/version
executions
execution
idprepare-war/id
Hi,
I am not sure that I understood everything very good but I changed my custom
plugin lifecycle to 'process-resources'. It did not help me as I expected.
(Cmd: mvn clean war:exploded package)
At the logs I could see successfully processed files. My custom plugin is
processing sources without
Hi,
I attached a sample project.
You can compare with mvn clean prepare-package and mvn clean package
Check test.txt file and note that maven replace plugin logs.
http://maven.40175.n5.nabble.com/file/n3384991/Test.zip Test.zip
Also I dont know how did you conclude that I have not enough
21 matches
Mail list logo