Just thought I'd send a little back to the community. I coded a
simple eclipse builder plugin that helps speed up webapp development
when using the war plugin.
I'm sure there's something out there that does this already, but this
works pretty well. If you edit and save a file in either the
Anybody if there is an archetype and a packaging model for building eclipse
plugins? It doesn't look overly complicated, but before I embark on this
project, I figured I'd ask. Searching has been difficult as the
following...
maven eclipse plugin archetype
Tends to produce some 'static', as
Just had a crazy thought about the external organization making secret
changes issue. If the issue is with snapshot builds I guess I don't have
much for you there (other than the above, of course). However if the
concern is simply that you don't know that what's in the repository hasn't
I've been having some issues with things like this in the war build. There
is a way to process resources in the war build plugin. You'll have to dig
around the mailing list for 'webResources'.
If what you want to do is more complicated, you can take a look at this
thread...
basic idea.
On 5/18/06, Kevin Galligan [EMAIL PROTECTED] wrote:
In detail, I want to edit jsf facelet files in BEA workshop studio. It
does a really good job with jsf jsp files, but if you try to edit non-jsp
files in that view, the helpful jsf features disappear.
Facelets are essentially
plugin needs to include the custom code as a dependency, but its the
same basic idea.
On 5/18/06, Kevin Galligan [EMAIL PROTECTED] wrote:
In detail, I want to edit jsf facelet files in BEA workshop studio. It
does a really good job with jsf jsp files, but if you try to edit non-jsp
files
a great way to
go.
I'm sure I'm missing something and it'll all end in tears, but its something
to try. Any thoughts? Does this make sense or am I totally off?
On 5/19/06, Kevin Galligan [EMAIL PROTECTED] wrote:
Sorry. Sent from the wrong email. Not sure if it made it. Copy...
I've been
!-- END SNIPPET: war-lifecycle --
The new mojo is just a copy of 'WarMojo.java' with '@goal war-package', and
'buildExplodedWebapp' removed from 'performPackaging'.
Obviously this has had no testing at all, other than a basic webapp build.
On 5/19/06, Kevin Galligan [EMAIL PROTECTED] wrote:
All
I'd like to run my jsp code through some filters before being packaged. Not
just simple find and replace filters, though. A little more complex. I
know there is a feature in the recent version of the war plugin that allows
some regular filtering, but its not really what I'm looking for.
Were
a discussion on
this subject. I know at least one other person has posted a similar
question on the User list in the last 60 days -- search the User
archives for filter jsp and you're bound to find it.
Wayne
On 5/18/06, Kevin Galligan [EMAIL PROTECTED] wrote:
I'd like to run my jsp code through some
If it doesn't hurt anything, I +1 that. At least for ejbs.
On 4/19/06, Wayne Fay [EMAIL PROTECTED] wrote:
Yea they could (should?) make this the default for Jar (inc EJB), War,
and Ear imho. And then require the user to turn it OFF if they don't
want it.
We get a good number of emails like
For our build, I hacked the ear plugin. I added an 'explodedUri' attribute
to the web artifact configuration. When the application.xml file is built,
it sets the web component to the exploded url on the file system.
The down side is that you have to have a relative reference to your web xml
Attaching a diff for the ear plugin. Its a diff from 380736 to my local vendor branch. There are some extra things, like the deploy repository is our local path, but you should be able to see what I did to the code from the diff file.
On 4/18/06, brianwainwright [EMAIL PROTECTED] wrote:
Thanks for
chopped
in transit somewhere.
Wayne
On 4/18/06, Kevin Galligan [EMAIL PROTECTED] wrote:
Attaching a diff for the ear plugin. Its a diff from 380736 to my local
vendor branch. There are some extra things, like the deploy repository
is
our local path, but you should be able to see what I did
I was wondering if there is some utility out there for this.
Build a maven jar package for a simple 1-off app. Could be something
bigger, but basically you want to execute this on the command line. What I
do now is run assembly with 'jar-with-dependencies' (if that's not exactly
it, you know
I've coded this into the resource filtering plugin locally. See mailing
list messages...
http://www.nabble.com/Property-filter-with-xml-files-t1405875.html#a3784833
I would assume you'd want this for resource filtering.
I've never used the ant task, but looking at this...
/06, Kevin Galligan [EMAIL PROTECTED] wrote: I've coded this into the resource filtering plugin locally.See mailing
list messages... http://www.nabble.com/Property-filter-with-xml-files-t1405875.html#a3784833 I would assume you'd want this for resource filtering.
I've never used the ant task
Is there any way to specify an xml file as the source of property values
instead of a properties files...
build
filters
!-- Something like this ... --
filtersrc/main/filters/filter.xml/filter
!-- End of special section. Don't worry about the rest... --
/filters
Not sure how the submit process works...
On 4/6/06, Eric Redmond [EMAIL PROTECTED] wrote:
Current documentation states that filters are *.properties files. I have
not
heard of any change to this. It should be a relatively minor patch, why
don't you submit the idea?
Eric
On 4/6/06, Kevin
/contributing/help.html
On 4/6/06, Kevin Galligan [EMAIL PROTECTED] wrote:
Not sure how the submit process works...
On 4/6/06, Eric Redmond [EMAIL PROTECTED] wrote:
Current documentation states that filters are *.properties files. I
have
not
heard of any change to this. It should
Is there any way to get the resource plugin to copy empty directories (I
assume its the resource plugin when doing a jar packaged build). Long story
as to why I'd need this.
Thanks,
-Kevin
Its built into the war plugin. Instead of packaging your included files as
a jar, package them as a war, and make that a dependency in your project.
We use this extensively in our build.
dependency
groupIdyourgroup/groupId
artifactIdcommonwar/artifactId
version1.0-SNAPSHOT/version
We use VSS. I had tried to move to subversion, but my plan was shot down
from on high. I know VSS inside and out, and with that understanding I
decided that trying to move stuff around inside VSS to the maven structure
wouldn't be worth it. I created a new source safe database and started
Not sure how much this helps, but it works for us. I have the same
dependencies in a parent pom for the webapps we have, and I specify
'scopeprovided/scope'. This keeps them out of the lib directory. The
manifest classpath is not being set in the webapps. Only in the ejb's. To
be honest, my
Does anybody know how to get eclipse to ignore the target directory? I
refreshed the whole set of projects I have, and it was running
validators on stuff in the target dir.
Also, I have 'JSP Syntax Validator' unchecked in the Validation
preferences section, and I was still seeing JSP
I know that we should use the resources directory to store properties
files, but to ease our platform build changes, I'd like to leave
properties files in the java source directory. It looks like the jar
plugin moves xml files over. Is there a way to force properties files
as well?
Thanks,
I think I had my email configured wrong. Anyway, attempt #2...
I have one project in a multi module build that requires the assembly
plugin to run. Here's the pom config...
build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
I have one project in a multi module build that requires the assembly
plugin to run. Here's the pom config...
build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.0.1/version
executions
I tried the early release of mevenide for m2, and I think another
plugin, but I don't think I've found what I'm really looking for. I'd
like a plugin that would allow you to run your maven build from inside
eclipse. Anything like that out there?
Also, when we're building webapps, there's an
project and then see if it make a
difference.
Was this the only reason why you did not want to have the WTP natures
and command info your project setting files?
Rahul
- Original Message - From: Kevin Galligan
[EMAIL PROTECTED]
To: users@maven.apache.org
Sent: Wednesday, January 04
Does anybody know how to easily turn off the wtp output from maven
eclipse? I tried by specifying the natures and builders in the pom, but
my settings appear to have no effect...
build
plugins
plugin
artifactIdmaven-eclipse-plugin/artifactId
in cargo..
On 22/12/05, Kevin Galligan [EMAIL PROTECTED] wrote:
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I abandoned the xml merging for
right now. I was having trouble with the cargo xml merging code. I
added some stuff myself
the latest stuff
You might want to check out the website for docs:
http://cargo.codehaus.org/
HTH,
Rahul
- Original Message - From: Kevin Galligan
[EMAIL PROTECTED]
To: Nigel Magnay [EMAIL PROTECTED]
Cc: Maven Users List users@maven.apache.org
Sent: Tuesday, January 03, 2006 3:55 AM
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I abandoned the xml merging for
right now. I was having trouble with the cargo xml merging code. I
added some stuff myself, but after the war plugin added the war file
composition, I
Sorry. That was confusing. I had sent the message with the subject
'multi module issues'.
It should've been
Re: Multi-module wars
Kevin Galligan wrote:
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I abandoned the xml merging
Is there a way to simply reference jar files in the ear package rather
than including them directly in the war lib directory? The ejb plugin
will add dependent jars to the manifext class-path entry with the
following config...
plugin
artifactIdmaven-ejb-plugin/artifactId
I've been using maven with the eclipse plugin for a little while now.
It was working great for me. This was version 2.0-beta-2. Then I had
some trouble with duplicate project/dependency references in my
.classpath file, so I got the source and built it in the hopes that that
issue had been
I'm currently finishing up a reorganization of our build process. I'm
almost done. As far as transparency of build process, and how it works
with maven, I love it. Works great. However, I'm not focusing on day
to day development, and I'm not so sure how it will go.
The plan is to use
This is going to sound like an odd, possibly stupid question. When I
run 'mvn install' on a multi-project, maven will loop through the
projects in the list. It appears that even though most of the jar
projects have no changes, it rebuilds each jar. Obviously the compiler
leaves the classes
I've hacked up the maven-war-plugin to merge war dependencies into the
final product. I posted the code originally, but I've added a few
things since then. These include an updated version of the cargo
web.xml merging code. The current version only merges certain parts of
the web.xml.
During out current ant build process, we do a property filter replace
setting a version string. During development and testing, we set the
value with a string with the current date and time. When doing a
release build we manually supply that value.
Is there a way to get the current time or
version2.4.0/version
/dependency
dependency
groupIdcargo/groupId
artifactIdcargo/artifactId
version0.6/version
/dependency
Good luck all...
Kevin Galligan wrote:
This concept has been floating around the list for a while. I've got
the same problem. I'm hoping
This is going to sound like a moderately stupid question. How do you
build maven plugins from source? I can get the source (no problems with
svn). I'd like to do a build of the latest but I can't really figure it
out. I've tried:
- Building everything by bootstrap. I cannot get this to
This concept has been floating around the list for a while. I've got
the same problem. I'm hoping somebody has a solution or at least a good
idea of what road to go down. I'd be happy to try coding something, but
I have a feeling that somebody is already working on this. If not, any
I have a couple simple questions. The first is about the assembly
plugin. Is there a place to find some more detailed info about the
descriptor file? The documentation pages are pretty light at this
point. Maybe a mailing list post or bug report?
This leads to the second question. Is
that I'm unclear about.
However, the mini guide has some more examples that should help.
Thanks
Jason van Zyl wrote:
On Tue, 2005-10-25 at 07:49 -0400, Kevin Galligan wrote:
I have a couple simple questions. The first is about the assembly
plugin. Is there a place to find some more detailed
I'm sure this topic has been discussed before, but I'm having a hard
time finding good info on the subject in the lists, so I'll drag it back
out.
I have several web application in our environment. There are pieces
common to all of them, but obviously pieces that are not. In simple
This might be a stupid question. I'm new to maven in general. I
learned 1.1b2, then tried switching to v2. I've built a simple jar
project with a couple dependencies. I'd like to make one big jar, or at
least copy all dependencies to one directory. Any easy way to do that?
In v1 it looks
48 matches
Mail list logo