mvn versions:set -DnewVersion=1.1-SNAPSHOT
On Fri, Apr 30, 2010 at 9:07 AM, Jan Torben Heuer
wrote:
> Wendy Smoak wrote:
>
>> If you find you need to make a fix, then you can branch from the tag
>> -- in your case the version number on your branch might be
>> 1.5.1-SNAPSHOT.
>
> How do I create
I just tested this with mvn 2.2.1 + 2.0-beta-9. It refused to run
release:prepare with the following error message:
[INFO] Cannot prepare the release because you have local modifications :
[pom.xml:modified]
What version of the release plugin are you using?
On Wed, Apr 28, 2010 at 8:35 PM, M
On Mon, Apr 26, 2010 at 8:39 AM, Marshall Schor wrote:
> My use case:
>
> I'm running the maven docbkx plugin to produce both pdf and html outputs
> from multiple docbook sources.
>
> The docbkx plugin says to use two executions (with ids, for instance, of
> "html" and "pdf", one for each of the o
Vernon,
A bunch of us monitor the User mailing list referenced here:
http://nexus.sonatype.org/project-information.html
You can join it by sending an email here: nexus-user-subscr...@sonatype.org
And the archive is here:
http://nexus.sonatype.org/mailing-list-user-archives.html
2010/4/22 Vernon
1. Install Nexus like this: http://www.youtube.com/watch?v=bLskAeXivPg
2. Drop this into your ~/.m2/settings.xml
http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html
3. Login into Nexus with admin/admin123, click on the 3rd party
repository and upload your artifacts, he
Here's a good book on the topic:
http://www.sonatype.com/books/nexus-book/reference/
2010/4/22 Vernon :
> Thanks a lot for your information.
>
> Where I can find a documentation on the subject (an internal Maven proxy
> server)? I have a look at the maven documentation under the user center
> and
atalog
> from central and print connection fail error to console (we have a proxy).
> Is it possible to prevent looking for catalog? I needn't to choose
> archetype, I'm already know what I need.
>
> Best regards,
> Aleksey.
>
> 22.04.2010 19:49, Tim O'Brien пишет:
o generate project from this archetype in this case in
> linking with problems, defined below.
>
> Aleksey.
>
>
>
> 22.04.2010 18:46, Tim O'Brien пишет:
>>
>> There is no archetype in Central with the artifactId
>> "magenta-basic-project"
>>
There is no archetype in Central with the artifactId "magenta-basic-project"
Maybe you are trying to use an internal artifact? You email is from
"magenta-technology.ru", and you are attempting to reference a
"com.magenta" groupId. I'd suggest contacting others in your
development group to find
That's wonderful. Do you have a question?
On Wed, Apr 21, 2010 at 5:32 AM, Manuel Grau wrote:
> We have recently updated the plugin to use google app engine 1.3.2
>
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
This is because of the space in your JAVA_HOME. You should use
quotes, or use a a JAVA_HOME that truncates the "Program Files", like
this: set JAVA_HOME=c:\progra~1\java\jdk1.6.0_20
On Sun, Apr 18, 2010 at 12:09 PM, angisad wrote:
>
> Hi,
> I am a newbie and I am trying to compile a code source
You could configure the default command line execution. The
following section provides an example with the Assembly plugin. Use
the execution id "default-cli"
http://www.sonatype.com/books/mvnref-book/reference/configuring.html#d4e3735
Also, apologies for the assembly chapter, it needs some w
en-by-example or maven-complete-reference pdf books.
>
I'll file a JIRA for those two books... there "WTF is an aggregator
plugin?" -> https://issues.sonatype.org/browse/MVNREF-144
> [1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html
>
> Raphael
>
> On
The DefaultReleaseManager is a part of the maven-release-manager, if
you look at the code in prepare(), you'll notice that it does not take
preparationGoals from anything other than the root project into
account.If you are looking at DefaultReleaseManager.java from the
2.0 branch the relevant l
Frank,
In Project C's pom.xml, use the "single" goal instead of the
"assembly" goal. This should fix the problem.
Tim
On Tue, Apr 13, 2010 at 12:01 PM, Frank Maritato
wrote:
> Hi All,
>
> I have a multi module project and my "mvn package" command from the top
> level is failing when one of my
On Tue, Apr 13, 2010 at 10:30 AM, Wayne Fay wrote:
>> I use Maven 2 in a project and i would like to link plugin execution to the
>> execution of another plugin.
>
> No, you cannot link plugin executions.
>
>> With that, I thought that execution of my id process-ant was like a phase
>> process-ant
You have to reference an existing phase. The "process-ant' phase does
not exist in the Default Maven Lifecycle. Look at the Lifecycle
Reference on this page:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Build_Lifecycle_Basics
On Mon, Apr 12, 2010 at 5:22 PM
You can do whatever you need to do with versions, but this isn't
really the workflow associated with the maven-release-plugin. The
release plugin exists to automate the following process:
Prepare
1. Take the current working copy - assume you have version 1.2-SNAPSHOT
2. Update the version numb
On Apr 10, 2010, at 1:38 AM, Vijay Shanker Dubey
wrote:
Hi,
I have a multi module web project. Four modules of the project are
packaged
as jar and added as dependency to the fifth module, which is
packaged as
war. When it is time to deploy the application i just run package on
the w
es or not.
That's the conundrum here, I see not other way than excludes to do
this overlay without replacing files that already exist.
The alternative would be to set staleMillis on the compiler plugin to
a value that would always force a compile, but StaleSourceScanner
doesn't support an
Fox wrote:
> On Tue, Aug 4, 2009 at 3:30 PM, Tim O'Brien wrote:
>> Use the excludes config property to exclude the specific files you
>> don't want to overwrite.
>>
>> http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
>>
>&g
Use the excludes config property to exclude the specific files you
don't want to overwrite.
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html
The docs on that mojo leave much to be desired.
On Tue, Aug 4, 2009 at 2:10 PM, David Hoffer wrote:
> Perhaps I'm not clear what yo
ure the compile to always overwrite?
Move the copy goal that you declared to happen just after compilation.
Look at the lifecycle list, I think you want "process-classes"
>
> -Dave
>
> On Tue, Aug 4, 2009 at 12:10 PM, Tim O'Brien wrote:
>
>> On Tue, Aug
On Tue, Aug 4, 2009 at 1:27 PM, Anders Hammar wrote:
> Tim,
>
>> 4. Package, publish your new patched artifact to a repository manager
>> (under a new groupId, artifactId, version).
>>
>> The key here is that you create a project that patches the original
>> artifact and then publishes it under a d
n "mvn compile".
Also use the -X flag to get more output.
Take a look at the list of phases here:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
>
> Since the generate-sources phase is before compile shouldn't the compile
> have over writte
On Tue, Aug 4, 2009 at 9:25 AM, David Hoffer wrote:
> What is the maven way of creating a patched jar?
>
> I have a case where I need to apply some overrides to a binary jar which is
> one of my dependencies. I have the source code for the overrides. So I
> could create a child module with the so
es authentication. Do whatever you want to do, but if you
have to have script that populates your local repo, you need to use a
repository manager. I
If you use Maven, you should be using a repository manager. If you
are not using a repository manager, you have to resort to shenanigans
to dis
On Thu, Jul 30, 2009 at 1:23 PM, jvsrvcs wrote:
>
> Thanks, the reason we are doing this is because:
>
> 1. We have a lot of new programmers coming on board (10) that need to
> quickly setup their local repo
Use a repository manager. Distribute a settings.xml file.
> 2. Many of these programm
Upgrade your Maven installation. If you haven't upgraded to at least
2.0.9, there is no telling what issues you are going to run up
against.
My suggestion would be to use two settings.xml files and instead of
trying to control this with a profile, just pass in different
settings.xml files with th
You can define multiple executions.
My advice is the same as Justin's, don't do this. Use a repository
manager.The fact that you have to configure multiple calls to
install-file means that you don't have a good way to distribute internal or
third-party artifacts.
On Thu, Jul 30, 2009 at 12
On Wed, Jul 29, 2009 at 6:06 PM, jvsrvcs wrote:
>
>
> I want to create a maven profile called "init", such
> that a person would type: $mvn init
This won't work, Maven has a lifecycle that consists of phases when
you execute "mvn init", Maven is going to complain because there is no
"init" phase
On Wed, Jul 15, 2009 at 1:42 AM, ykyuen wrote:
>
> it works in windows now.
> the problem is previously, i created the maven project directly in eclipse
> by the m2eclipse plugin and the project is located in the workspace.
>
> then i try to create the project in the maven repository by the mvn
> a
On Tue, Jul 14, 2009 at 6:56 PM, Rusty Wright wrote:
> My pom starts with
>
>
> waitlist-parent
> edu.berkeley.ist.waitlist
> 1.1
> ../../waitlist-parent/pom.xml
>
>
> When I run maven and the inside the tags doesn't match
> what's in the parent's pom, it uses the po
On Tue, Jul 14, 2009 at 5:34 PM, daniel.green wrote:
>
>
> Tim O'Brien wrote:
>>
>> You should take a look at Cargo: http://cargo.codehaus.org/
>>
> Thank you for the info! Is
> http://cargo.codehaus.org/Passing+system+properties what I'm looking for
You should take a look at Cargo: http://cargo.codehaus.org/
Cargo has a Maven 2 plugin which will allow you complete control over
your JBoss server.
Tim
On Tue, Jul 14, 2009 at 5:20 PM, daniel.green wrote:
>
> I would like to configure my build scripts to deploy an ear file to a remote
> jboss s
On Tue, Jul 14, 2009 at 1:40 PM, Subramanian,
N.Venkata wrote:
> Hi
>
> Good morning!
>
>
>
> I have couple of question which is quite critical in our current project
> scenario
>
>
>
> 0) Our product is supporting around 14 platforms and our prodct code is
> divided into many components a
When you run Maven, you usually specify a lifecycle phase such as
install or package or deploy. Maven will then execute every
lifecycle phase sequentially until it reaches the specified phase.
If you want a full list of lifecycle phases take a look at the Maven
docs here: http://tr.im/shS4 -
On Fri, Jul 10, 2009 at 1:54 PM, Vincent Fumo wrote:
> I'm converting an old project to maven and I have a question re: spring.
> This project has about 20 spring config files and it reads them all in on
> startup and uses the In addition I have 4 properties files
> (local/dev/qa/prod) that I'd li
load the remote index for the JBoss repository manager.
Tim O'Brien
On Sat, Jul 11, 2009 at 5:29 AM, Edelson,
Justin wrote:
> As to your second question, m2eclipse will only index the repositories you
> tell it to. Open up the Index View and you'll se
want)
>>
>> The second is_one single invocation of Maven_ thus the assembly:assembly
>> mojo can find the artifacts that were attached to the reactor during the
>> earlier phases/mojo executions.
>>
>> You should always try to make sure th
David,
It looks like com.solbright.adinventory.projects.base:jar:jar:2.1.2-SNAPSHOT
can't be found in the local repository. Instead of running
assembly:assembly by itself, try: mvn install assembly:assembly
Better yet, why not just bind the assembly goal to the package phase
of the project tha
Don't get me started on the Maven site, I'd like to remain on speaking terms
with the Maven Developer's list. I don't believe that the Site plugin
produces documentation for a few reasons. I'm currently an advocate of
removing any and all pages on the Maven site that are half-finished.
mgain
Peter Horlock wrote:
>
> Hey, Tim,
>
> where are you??? One year ago, you wrote and wrote and wrote for "The
> definitive guide".
> Now it's in Version 0.6 and not much if not nothing at all has changed
> during the last months.
> Also, I can't wait to see the new Maven cookbook! Maybe you got
I announced the book as an open source project (Creative Commons ND-NC-BY) in
April. It took us that long to clear up some lingering questions about
licensing. Here's the announcement: http://tr.im/rnDc
If you want to see the code for the EN version:
http://github.com/sonatype/maven-guide-en/
It's in the works. I think it would be better to write a book
about writing a book, but only because I wanted to write that.
Tim
On Apr 14, 2008, at 11:07 AM, Dan Tran wrote:
big +1.
On Mon, Apr 14, 2008 at 8:23 AM, Brian E. Fox <[EMAIL PROTECTED]
> wrote:
Maybe we should add a chapter
Manfred, sorry it took me so long to respond. (I wasn't subscribed
to the user list until yesterday ).
On Apr 13, 2008, at 11:14 PM, Manfred Moser wrote:
Jason van Zyl-2 wrote:
Right, this is where the book-like features are missing from Doxia
and
though I would like to fix th
46 matches
Mail list logo