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
'src
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 bo
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
change
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...
http://www.nabble.c
org.apache.maven.plugins:maven-war-plugin:war-package
org.apache.maven.plugins:maven-install-plugin:install
org.apache.maven.plugins:maven-deploy-plugin:deploy
The new mojo is just a copy of 'WarMojo.java' with '@goal war-package', and
'buildExplodedWebapp' remo
l
be used as a dependency should be put into an external jar package, there
are occasionally real life practical reasons why this isn't 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
of doing this. My hack doesn't even technically work, as the
war 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
r 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
ote:
What specifically are you looking to do? What kinds of "things" are
you looking to "apply" to jsp/servlets?
Please provide input and output examples to facilitate a discussion on
this subject. I know at least one other person has posted a similar
question on the User list
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 t
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 emai
es on: .
___
Name: svn:ignore
+ target
** ENDING DIFF **
On 4/18/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Just FYI Kevin... Either you didn't attach the diff, or it got chopped
> in transit somewhere.
>
> Wayne
>
&g
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 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
proj
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 wha
ymeric.On 4/12/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 f
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...
http://ant.apache.org
gt; http://maven.apache.org/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 document
idea?
>
> Eric
>
> On 4/6/06, Kevin Galligan <[EMAIL PROTECTED]> wrote:
> >
> > Is there any way to specify an xml file as the source of property values
> > instead of a properties files...
> >
> >
> >
> >
> >
Is there any way to specify an xml file as the source of property values
instead of a properties files...
src/main/filters/filter.xml
src/main/resources
true
We're specifying the replace file in a command line switch, and t
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.
yourgroup
commonwar
1.0-SNAPSHOT
war
Putting that in your pom.xml will cause the war plugin to incl
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
'provided'. 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 j2ee spec und
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
fresh.
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 Validat
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 have one project in a multi module build that requires the assembly
plugin to run. Here's the pom config...
maven-assembly-plugin
2.0.1
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...
maven-assembly-plugin
2.0.1
pa
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
lipse 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:
Sent: Wednesday, Jan
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...
maven-eclipse-plugin
org.eclipse.jdt.core.javabuilder
org.eclip
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"
Sent: Tue
27;re interested in
these things 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
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...
maven-ejb-plugin
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 aban
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 jus
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 t
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 eclip
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 a
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. Inter
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 t
( sourceDir );
scanner.setExcludes( getExcludes() );
scanner.addDefaultExcludes();
scanner.setIncludes( getIncludes() );
scanner.scan();
return scanner.getIncludedFiles();
}
}
*** End AbstractWarMojo.java ***
Also had to change the pom.xml to add dependencies...
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 wo
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
thoughts
e xml file 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 som
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 ther
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
language
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