Did you try to escape the special character:
\#\#\# ?
-Lukas
On 03/20/2013 08:06 PM, Kevin Minder wrote:
> Point of clarification. Velocity is eating the ### Sub-heading line because
> from its perspective this is a comment and doesn't belong in the rendered
> output.
>
> On 3/20/13 3:04 PM
Thank you very much, the effort is truly appreciated.
I didn't consider system scope. Not sure whether that was because I
heard advice against using it or whether I simply overlooked it unter
the wealth of approaches to try.
We have finally decided to try Gradle despite the amount of work
inv
Thomas Broyer wrote:
> If the class from C is part of the API of B, then it's not an "internal
> detail".
But C isn't necessarily part of the API of B and might still be required.
(think inheriting protected methods for example)
I would also argue that even if it is part of the API of B this can
Just did and that doesn't work. Velocity doesn't remove the line from
the output (which is good) but Markdown for some reason doesn't
interpret it as a heading (which is bad). So I end up with:
### Section Test
in the HTML instead of a nice shaded box.
On 3/21/13 3:27 AM, Lukas Theussl wrot
I found the goal deploy:deploy-file that works to deploy specific file to Nexus.
mvn deploy:deploy-file -Durl=$REPO_URL -DrepositoryId=$REPO_ID
-DgroupId=org.myorg -DartifactId=myproj -Dversion=1.2.3 -Dpackaging=zip
-Dfile=myproj.zip
What I don't understand is why do I have to supply url, repos
I think mailing lists are not the best way to explain why different
solutions are to be preferred when ranking against what is best for the
Maven ecosystem as a whole.
So I wrote a blog post to explain my views on what are good ways and what
are bad ways.
http://developer-blog.cloudbees.com/2013/
Yup, this is a surprising repetition, agreed, but that's "normal".
Please file an enhancement request about that, I guess this might be
something fixable.
But as deploy-file is supposed to be used quite exceptionnally, I guess not
a lot of people complained.
Btw, if you use Nexus and that deploy v
Hmm, not sure if this is the correct behavior, the markdown module has never
been very well tested.
I would probably use your property hack, you don't have to define it in the pom
though, you can set it inside the template file like:
#set( $H = '###' )
$H
HTH,
-Lukas
On 03/21/2013 01:00 PM,
Hi,
I would say this is http://jira.codehaus.org/browse/MDEPLOY
But if you have a classical maven build, using deploy-file is actually not
the way to go.
Just do mvn deploy from the command line, and your artifacts should deploy
naturally.
Cheers
2013/3/21 Zanzerkia, Robert
> Hi,
> Can you
Hi,
> Yup, this is a surprising repetition, agreed, but that's "normal".
> Please file an enhancement request about that, I guess this might be
> something fixable.
I haven't used deploy:deploy-file from the command line for a longer time,
but can't you omit groupId, artifactId etc. when you spe
You're right I would have preferred to use just deploy but I ran into problem.
I am using maven-assembly-plugin which creates my zip file.
I could not figure out how to deploy that zip file to Nexus right from assembly.
Thanks,
Robert Zanzerkia
Fidelity Investments
FTG-OPS
Two Contra Way
Merrimack
Yes, I tried the -DpomFile approach but if I don't supply groupID,version etc.
it still complained.
Robert Zanzerkia
Fidelity Investments
FTG-OPS
Two Contra Way
Merrimack, NH 03054
Work: 603-791-3477
Blackberry: 603-320-9682
-Original Message-
From: thorsten.h...@vkb.de [mailto:tho
One simple way to go is to have a module dedicated to that assembly.
Then just mvn deploy it (or even simpler inside the whole multimodule
build).
Cheers
That's a good post to sum up all the options.
On Thu, Mar 21, 2013 at 8:15 AM, Stephen Connolly
wrote:
> I think mailing lists are not the best way to explain why different
> solutions are to be preferred when ranking against what is best for the
> Maven ecosystem as a whole.
>
> So I wrote a blo
Created JIRA improvement request.
http://jira.codehaus.org/browse/MDEPLOY-159
Robert Zanzerkia
Fidelity Investments
FTG-OPS
Two Contra Way
Merrimack, NH 03054
Work: 603-791-3477
Blackberry: 603-320-9682
-Original Message-
From: bmat...@gmail.com [mailto:bmat...@gmail.com] On Behalf
Hi,
I have one plug-in that creates the zip file.
How do I change it to do deploy stage?
Normally I do mvn assembly:assembly deploy:deploy-file
maven-assembly-plugin
well a simpler way would be to bind an execution of the assembply plugin to
the lifecycle (probably at the package phase) and then you would just go
"mvn deploy" which will invoke all the plugins bound to phases on or before
the "deploy" phase.
IIRC assembly:single the the preferred goal when bind
Oh and if you want the assembly to be the primary artifact without a
classifier, you need to read
http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
On 21 March 2013 14:05, Stephen Connolly wrote:
> well a simpler way would be to bind an execution of the assembpl
Hi Stephen,
Stephen Connolly wrote:
> I think mailing lists are not the best way to explain why different
> solutions are to be preferred when ranking against what is best for the
> Maven ecosystem as a whole.
>
> So I wrote a blog post to explain my views on what are good ways and what
> are ba
That is really just a different flavour of internal maven repository, i.e.
just one that does not give the proxying or performance benefits that a MRM
can give... perhaps you would feel more comfortable if I called it the
"file:///${basedir}" hack which is really really bad for the reasons I
cited.
Stephen,
Thank you for answering the question and sending below information.
I changed my POM.xml (See attached).
When I use the command:
mvn antrun:run assembly:single deploy
(I have external ant command to do other things before creating the zip
fi
Great idea.
This should save a lot of mailing list traffic.
Can you add this to the Maven site or if not add a link to you post?
Ron
On 21/03/2013 8:15 AM, Stephen Connolly wrote:
I think mailing lists are not the best way to explain why different
solutions are to be preferred when ranking aga
Hi Stephen,
Stephen Connolly wrote:
> That is really just a different flavour of internal maven repository, i.e.
> just one that does not give the proxying or performance benefits that a
> MRM can give... perhaps you would feel more comfortable if I called it the
> "file:///${basedir}" hack whic
yeah you probably want to bind antrun:run to the lifecycle before the
package phase then
On 21 March 2013 14:45, Zanzerkia, Robert wrote:
> Stephen,
> Thank you for answering the question and sending below information.
> I changed my POM.xml (See attached).
> When I use
Jörg, Any better now?
On 21 March 2013 14:56, Jörg Schaible wrote:
> Hi Stephen,
>
>
> Stephen Connolly wrote:
>
> > That is really just a different flavour of internal maven repository,
> i.e.
> > just one that does not give the proxying or performance benefits that a
> > MRM can give... perha
Stephen Connolly wrote:
> Jörg, Any better now?
Yep. Fine.
Cheers,
Jörg
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Hi Stephen,
> This should save a lot of mailing list traffic.
I agree with Ron; thank you very much for writing that article.
I know some people don't like "+1" replies, but the article really is
excellent, and much appreciated.
Regards,
Curtis
On Thu, Mar 21, 2013 at 9:49 AM, Ron Wheeler wr
Another +1 from me. This was quite a substantial amount of effort on
your part Stephen!
>> This should save a lot of mailing list traffic.
Honestly not so sure about that. Unless you mean the reply traffic
from the regulars on this list. :)
And I'm slightly concerned that the people who NEED to
Stephen,
That solved my problem.
I also had to make sure that id for both plug-in matched.
Also I tried to change id from 'default-cli' to something else and it
didn't work.
After below changes this command worked. It created zip file and
deployed to Nexus without
Glad to help. Could probably tidy up that pom but I burned up all my free
time this week writing plugins and blog posts, so you'd need to ask others
if you want to trim it back to lean and no fat ;-)
On Thursday, 21 March 2013, Zanzerkia, Robert wrote:
> Stephen,
> That solved my problem.
> mvn antrun:run assembly:single deploy
>
> Here's the POM that worked.
If you are happy with things, then there is nothing more to do!
But if you want to further reduce your typing at the command line then
you could:
1. change id of default-cli in assembly plugin to something else
2. change id o
I guess that we will just have to explain that we will write it to them
in a long series of annoying short cryptic messages if the don't read it
themselves.
Ron
On 21/03/2013 1:33 PM, Wayne Fay wrote:
Another +1 from me. This was quite a substantial amount of effort on
your part Stephen!
Hi Wayne,
Thank you for that hint.
I have a lot to learn about maven :-) (what difference does it make
when plugin is inside pluginManagement vs. outside).
I was able to change id also.
Now my command is very simple (I like it).
mvn deploy
Thanks,
Robert
Ne
> I have a lot to learn about maven :-) (what difference does it
> make when plugin is inside pluginManagement vs. outside).
>From Maven documentation:
pluginManagement: is an element that is seen along side plugins.
Plugin Management contains plugin elements in much the same way,
except t
My release:prepare is failing when it tries the following:
git push ssh://g...@github.com:MyOrg/apps-thor.git
releaseBranch:releaseBranch
With the following error:
ssh: Could not resolve hostname github.com:MyOrg: Name or service not known
It also fails on the command line. If i remo
Hi,
T
On Tue, Mar 19, 2013 at 7:55 PM, Adrien Rivard wrote:
> On Tue, Mar 19, 2013 at 1:39 PM, virg g <06v...@gmail.com> wrote:
>
> > Hi,
> > Yes have added as two different artifactItems like this
> > Since I have placed this in Parent POM, it was trying to copy even my
> > PARENT artifact (pare
Hi
Thank you. But this copies only the dependencies. But i want to copy all
the artifactids i.e my project build creats jars and wars, and i need to
copy all the jars with md5 to one location and wars with md5 to another
location. I used this sample code, could not understand why it is not
filterin
37 matches
Mail list logo