Dear All,
I've consolidated dependencies in a multi-module project by putting them
all into a dependencyManagement element of the top-level pom.xml so that
dependencies the modules can be simplified. However ``mvn package''
now ends with an error in a module (called import) that's building a
Hi All,
I am a new user to maven. And i have the following queries.
In my concern we use CVS as repository ant for build. Whenever a new build
is created we have a procedure like first updating CVS and then creating
build using ant and then taking the new build and copying it in a new
I have an “interesting” situation at work where I need to unpack the warfile
built by a POM to a known directory whose name does not vary with the project’s
maven coordinates prior to starting an embedded tomcat server via “mvn
tomcat:run-war.” Note that I don’t need to unpack the project
In my concern we use CVS as repository ant for build. Whenever a new build
is created we have a procedure like first updating CVS and then creating
build using ant and then taking the new build and copying it in a new folder
So you want to use Ant to do the building, and Maven for the rest??
build your projects using maven, then orchestrate your build with
something like hudson
http://hudson-ci.org/
you can set various triggers on how to kick off a build (time/cron
based, or monitor CVS for changes)
you can also invoke deploy plugins and what not through maven
On Tue, Jul 6, 2010 at
And install a local repo like Nexus to manage your maven artifacts and
simplify dependency management.
On 06/07/2010 11:54 AM, Shan Syed wrote:
build your projects using maven, then orchestrate your build with
something like hudson
http://hudson-ci.org/
you can set various triggers on how to
If I have a multi-module project made up of JARs and WARs and ZIPs
and... etc is there a way to commit an action on, for example, all the
WARs that were just built, without having to specify particular
projects?
-
To unsubscribe,
On 06/07/2010 2:24 PM, Shan Syed wrote:
If I have a multi-module project made up of JARs and WARs and ZIPs
and... etc is there a way to commit an action on, for example, all the
WARs that were just built, without having to specify particular
projects?
ah cool, looks like something that could be written as a mojo? who knows
my problem is that I am using Hudson to build a few multimodule
projects, which will have an increasing number of WARs as the company
grows
Hudson gives me convoluted URLs to specific builds, which I manually
maintain in an
Does the plugin goal below get executed before or after the completion of the
install phase when I exec 'mvn clean install' command? Is there a way to
configure the before or after order?
profile
idant-explode/id
build
plugins
I have a multimodule maven project and I want to change the version
number. Unfortunately, it looks like I have to manually edit each
pom.xml (or write some sort of perl script) to accomplish this. Is there
a better, cooler, faster way to do this? Maybe with a plugin of some sort?
--
Frank
[INFO] [clean:clean]
[INFO] [ear:generate-application-xml]
[INFO] [resources:resources]
[INFO] [antrun:run {execution:
fix.eclipse:eclipse-eclipseEAR.applicationXML}]
[INFO] [ear:ear]
[INFO] [source:jar {execution: default}]
[INFO] [ear:ear {execution: default}]
[INFO] [install:install]
[INFO]
http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html
On Tue, Jul 6, 2010 at 5:06 PM, Frank Maritato
fmarit...@attinteractive.com wrote:
I have a multimodule maven project and I want to change the version number.
Unfortunately, it looks like I have to manually edit
No, it is executed during the install phase. However, it might be executed
after the install:install goal which is also bound to that phase.
/Anders
On Tue, Jul 6, 2010 at 23:09, asookazian asookaz...@gmail.com wrote:
[INFO] [clean:clean]
[INFO] [ear:generate-application-xml]
[INFO]
% mvn release:update-versions
[snip]
[INFO]
[ERROR] BUILD FAILURE
[INFO]
[INFO] Required goal not found: release:update-versions in
[INFO] Required goal not found: release:update-versions in
org.apache.maven.plugins:maven-release-plugin:2.0-beta-8
Try mvn -U release... You have an older version of release plugin it seems.
Wayne
-
To unsubscribe, e-mail:
dependency:unpack-dependencies is most likely the one you want (I'm assuming
the war is produced as part of your build reactor... if not then
dependency:unpack is your man)
-Stephen
On 6 July 2010 16:06, TOM AULT, BLOOMBERG/ 731 LEXIN ta...@bloomberg.netwrote:
I have an “interesting” situation
or use mvn versions:set -DnewVersion=___
On 6 July 2010 23:08, Wayne Fay wayne...@gmail.com wrote:
[INFO] Required goal not found: release:update-versions in
org.apache.maven.plugins:maven-release-plugin:2.0-beta-8
Try mvn -U release... You have an older version of release plugin it
Currently, I'm running an ant target (unzip) to explode and then copy the
EAR+WAR to JBoss. the jboss-maven-plugin is insufficient b/c the unpack
does not explode the WAR in the EAR.
Is this explode goal/plugin included as a feature in Maven 3? thx.
--
View this message in context:
btw, the need for this functionality is to support incremental hot deployment
(like copying facelets in JSF/Seam apps).
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-3-explode-goal-tp946368p946370.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Currently, I'm running an ant target (unzip) to explode and then copy the
EAR+WAR to JBoss. the jboss-maven-plugin is insufficient b/c the unpack
does not explode the WAR in the EAR.
You should probably look into adding this feature to the jboss-m-p
directly, rather than hoping it might be
what about weblogic, websphere, glassfish, etc.? i don't agree...
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-3-explode-goal-tp946368p946373.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Yay versions:set worked for me. Thanks!
Stephen Connolly wrote:
or use mvn versions:set -DnewVersion=___
On 6 July 2010 23:08, Wayne Fay wayne...@gmail.com wrote:
[INFO] Required goal not found: release:update-versions in
org.apache.maven.plugins:maven-release-plugin:2.0-beta-8
Try mvn
Using Maven 2.0.8.
I run 'mvn clean prepare-package' and see:
[ERROR] BUILD FAILURE
[INFO]
[INFO] Invalid task 'prepare-package': you must specify a valid lifecycle
phase,
or a goal in the format plugin:goal or
This is new in Maven 2.1 apparently... It works in 3.0-BETA1.
--
View this message in context:
http://maven.40175.n5.nabble.com/prepare-package-is-not-a-valid-lifecycle-phase-tp946376p946377.html
Sent from the Maven - Users mailing list archive at Nabble.com.
http://maven.apache.org/plugins/maven-war-plugin/plugin-info.html
note the war:exploded goal!
http://maven.apache.org/plugins/maven-ear-plugin/plugin-info.html
there is no ear:exploded goal!
so how can i actually use 'war:exploded' goal when i run a 'mvn clean
install'?? thx.
--
View this
what about weblogic, websphere, glassfish, etc.? i don't agree...
Then implement the functionality in a place like Plexus-IO or another
common/shared component and depend on it in the various jee
server-specific plugins that you require it in.
Wayne
Well I just ran 'mvn clean war:exploded' and that seems like a possibility as
then that directory just needs to be copied into the exploded EAR directory
in the target directory after (or during?) a 'mvn clean install'.
Has anybody else used the war:exploded goal like this for a completely
actually looks like this will work (but not perfect):
1) run 'mvn clean install' for parent POM
2) run 'mvn war:exploded' for EAR module
3) rename WAR directory (as required)
4) delete package WAR in EAR directory
5) copy exploded WAR directory (from #3) to EAR directory
6) copy to app server
Is it possible to replace the war:war goal invocation during the package
lifecycle phase with war:exploded instead?
You can create your own custom lifecycle (its not *that* tough) and do
whatever you want with your builds...
Wayne
Hi,
I have a strange question on that plugin.
I created a basic C++ program that just create Hello world for my testing,
and tried to compile with the plugin.
I recieved a succesfull message, and can see in my local repository the new
nar file.
My question is- how can I see the native
31 matches
Mail list logo