Hudson deploys our site nightly, we don't publish the site at all with
releases - the release now takes only a fraction of what it used to take
with site deploy (15-20mins compared to 2.5h).
Kalle
On Fri, Mar 27, 2009 at 2:57 PM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:
> we d
Ok, I realized I have to get the Maven Invoker from here:
http://svn.apache.org/viewvc/maven/shared/tags/maven-invoker-2.0.10
I'll try to make some tests with the code I have and see if it works...
--
David Nemer
Sent from: Kaiserslautern RP Germany.
On Sat, Mar 28, 2009 at 12:49 AM, David Neme
Hello All,
I'm new with Maven, and I was wondering if you guys could help me out here.
I'm trying to invoke Maven from Java-code. For example, I have a build file,
and I call it in Java code to build the project.
I found this code, but I'm not sure if it works, I imported the Maven JAR to
the pr
we deploy the site to a local directory and then afterwards copy the site to
the web server location
2009/3/27 Hoehmann, Andreas
> Hi folks,
>
> i have a multi-module-project (~30 artifacts).
>
> I wrote a little script to release the whole project from root
>
> - check dependencies
> - try site
I just realized the "snippet" macro is actually not at all what I'm looking
for. I don't want the source of a file displayed in my document; instead I
want to actually _render_ a piece of verbatim HTML. So that I can i.e.
include a form that the user can fill out and submit.
Thanks!
Lukas
you could save alot of time try to pull all your static artifacts to
localRepository
but this may invite contention as BuildManager is downloading while you may be
synch'ing
to shared structures..the solution of a simple lockfile as whomever has the
lockfile
would have update access..all other
By changing a release artifact you are violating Maven Commandment #1:
Release artifacts are immutable. Maven will never recheck for updated
release artifacts, so it will just hand back what's in the local
repository to the plugin every time.
-Original Message-
From: Richard Chamberlain [m
Overwriting is different than re-resolving. He wants to re-resolve a
release that has changed.
-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Friday, March 27, 2009 2:10 PM
To: Maven Users List
Subject: Re: dependency:unpack-dependencies not updat
Trinition,
Usually, a client ejb artifact is a secondary artifact produced from an
ejb project, and it normally would be named as myproject-ejb-1.0-ejb-client,
where "ejb-client" is a classifier you'd specify in element.
When such dependency is resolved from Eclipse workspace, the m2eclipse
sh
Hi folks,
i have a multi-module-project (~30 artifacts).
I wrote a little script to release the whole project from root
- check dependencies
- try site-build
- try release:prepare
- clean up
- release:prepare
- release:perform
- deploy new snapshots
My repository works with webdav behind a apa
Hi Stephen,
Sure no problem. What I came up with was another set of posts, and was
essentially following the advice you gave me a few days ago and some help from
Dan Tran. That is, I use mvn deploy but output to a empty directory, then use
a maven plugin to merge that to my primary repositor
Have a look at the plugin mojo... you'll see there's a config option to
control whether snapshots are overwritten and whether releases are
overwritten.
2009/3/27 Richard Chamberlain
> Hi,
>
>
>
> I'm using dependency:unpack-dependencies to get some zips of artefacts
> from our company repository
On Wed, Mar 25, 2009 at 10:17 PM, Jim McCaskey
wrote:
> Hello all,
>
> I have several components all built from a top level pom. This
> works great for accelerating users to be able to build a lot of stuff
> quickly but is giving me some fits when trying to deploy. Up to
> this point I have bee
Any chance you could post your solution?
2009/3/27 Jim McCaskey
> I have found a solution that is working nicely. Having said that, I don't
> think the request is that farfetched. When doing a deploy, you would
> definitely want to make sure that all the components that made up the run
> built
Hi Anita,
I strongly suggest you read through the definitive guide:
http://www.sonatype.com/node/158?file=books/maven-definitive-guide.pdf
Cheers,
Martijn
On Mar 27, 2009 4:26pm, anitasrivatava wrote:
Hi,
I need to convert a existing JEE project into maven project. Could
somebody
pl
Hi,
I'm using dependency:unpack-dependencies to get some zips of artefacts
from our company repository.
However if I update a released artefact without changing the version
(i.e. documentation change), our company repository is never checked by
my script. The only way to get the latest vers
Hi,
I need to convert a existing JEE project into maven project. Could somebody
please provide me step by step instructions.
Thanks,
anita
--
View this message in context:
http://www.nabble.com/Converting-JEE-project-into-Maven-Web-Project-tp22745124p22745124.html
Sent from the Maven - Users m
Hi,
Using Maven 2.1.0, release-plugin 2.0-beta-8 and resources-plugin 2.3.
When performing normal mvn install for multi-module project all builds
succes, but when trying release projekts, those projects that have
filter files whitch are specified in profiles via properties failed.
Resources
I have found a solution that is working nicely. Having said that, I don't
think the request is that farfetched. When doing a deploy, you would
definitely want to make sure that all the components that made up the run built
successfully before deploying. Not doing so leaves your repository in
Hi,
I'm facing a problem while migrating a project to Maven.
This project is a web application, with some optional plugins.
I would like to modularize it by making the main web application an
artifact with package=war,
the optional plugins with package=war (since they provide some jsp) and
decl
Hi,
When I run the command below I only get checkstyle reports for 2 classes
in the project, and the class I have named is missed out. Why isn't the
file I have referred to used? Perhaps I cannot put maven properties on
the command line, who knows?
mvn -Dmaven.checkstyle.includes=**/Named.java c
I have a typical project structure that works perfectly fine for me:
myproject
|__myproject-app
|__myproject-shared
|__myproject-ejb
|__myproject-web
Within the EJB project's pom (packaging=ejb), I have two build plugin:
* org.codehaus.mojo:was6-maven-plugin:ejbdeploy
* org.apache.maven.plugins
I'm currently trying to make a set of archetypes for a project of mine (a
framework on top of an API of sorts), and there's one particular feature I'm
curious about. The API that I'm building the framework on top of also offers
a set of archetypes to create a project skeleton, and when you create
Yes, currently we
1) are building Common-2.3.0.v20090327 first using release:prepare (next dev
version remains Common-2.3-SNAPHOT), then
2) we change the pom of AppA-2.0-SNAPSHOT to depend on
Common-2.3.0.v20090327 (instead of Common-2.3-SNAPSHOT), then
3) we build AppA-2.2.0.v20090327 using releas
Hi,
We are getting an error when trying to execute the following goal
located in an xml imported from our maven.xml:
The error we are getting is the following:
INTERNAL ERROR
Reference made to goal 'clean' which has no definition.
If we change the goal to use attaingGoal instead
When 1.0-alpha-3 of versions-maven-plugin is released
you could build your own snapshot of it at the moment
look at the lock-snapshots and unlock-snapshots goals
-Stephen
2009/3/27 Torben Knerr
> Hi all,
>
> we have "AppA" and "AppB", both having a dependency to "Common".
>
> All of these
Hi Anshul,
This is pretty funny ... I wondered the same questions 2 weeks ago :-)
... And I think I can answer since while reading surefire plugin source
code, I sadly saw use of directory test suite is hardcoded in
SurefirePlugin.constructSurefireBooter() (search use of string
"org.apache.maven.s
Hi all,
we have "AppA" and "AppB", both having a dependency to "Common".
All of these are under active development and using SNAPSHOT versions:
AppA: 2.2-SNAPSHOT ==> Common: 2.3-SNAPSHOT
AppB: 2.1-SNAPSHOT ==> Common: 2.3-SNAPSHOT
Further, we want to have weekly releases of AppA. The release ve
Sammy wrote:
Hello,
In a multi-module maven project, a webapp module has java, resources and
WEB-INF folders. In which folder should jsp, css, web.xml, spring XML
configurations and other files go?
In a war module, src/main/webapp usually contains:
WEB-INF
jsp
css
images
index.html
-
if your module requires the dependency to complie then it is a
dependency of your module
what you describe as a "work around" is actually what you are supposed to do
the real issue is that compile is transitive. compile needs to be
transitive as a runtime dependency but should not be a transitive
30 matches
Mail list logo