Hi,
Would any of you Emacs-minded maven 2 users mind sharing your
compilation-error-regex-alist with me so I can see what you're doing?
I have a regexp that matches the error message but for some reason
next-error matches to the beginning of the line, including "[INFO] ".
Very frustrating!
Thanks
I think the reason he's using both plugins is that the ejb-plugin
currently doesn't provide the includes/excludes configuration as
the jar plugin. So the intention is not to produce two (main) artifacts
from the same pom but to just to have the ejb and a ejb-client jar.
What happens with this pom
Your users will need to specify -DremoteRepositories=... on the
command line when they run archetype:create. They may need to specify
the -DarchetypeVersion though I'm honestly not sure, you'll need to
test that (without specifying a version and with an older version on
your machine and a newer one
Hello Joel Wiegman,
You can put below lines in your pom.xml for supporting JUnit 4.
maven-surefire-plugin
2.3
Joel Wiegman wrote:
> Members of the Maven council...
>
> Is Surefire's support for "suite" functio
The idea of "configurable versioning" has been discussed as a future
addition, but it is a complex issue and is certainly not available at
this time, so you will need to convert your usage of versions to match
what Maven expects/demands.
Wayne
On 10/18/07, dhoffer <[EMAIL PROTECTED]> wrote:
>
> I
I want to create a custom archetype all our developers will use to bootstrap
the artifact creation process. Installing this on my system is no problem
and I can release to our corporate repo.
The question is how can I get this installed on all our corporate
developer's systems so it is available
I don't know if you can override maven's standard version number, but I have
my doubts. I suggest you change your policy and go with maven's versioning,
this is likely to be less trouble in the end.
See comments below...
Christian Weber-5 wrote:
>
> Hi all,
>
> i'm using Maven + Artifactor
Is there a specific reason you're building both artifacts out of the
one codebase? Can you not break it into 2 separate codebases and
specify one as "jar" and the other as "ejb" and then put a dependency
in the ejb on the jar project, as I'm assuming the ejb needs the jar
files to work (like a util
I use Archiva on my own repository to clean up snaphots - it'll remove
anything older than X days, Y builds, or that has already been
released (if configured to do so).
I also have a script I've been meaning to look at and put on the wiki
- will try and do that today.
- Brett
On 19/10/2007, Wayn
Hello,
Is there a way to configure a profile to be activated only if another
profile is not active? Let's say I have profile1, profile2 and profie3. I
only want to activate profile1 when profile2 is not active. How can I
achieve it?
Thanks
Yan
Hi Wayne,
I am actually building both a jar and ejb in the same project, here are
the 2 plugins I use.
org.apache.maven.plugins
maven-jar-plugin
2.2-SNAPSHOT
**/handlers/**/*.*
org.ap
Are you building both a Jar and an EJB Jar in a single Maven project?
Or are these 2 separate projects that have a common parent?
Maven likes 1 artifact per module. Please explain your project better
and/or send the poms for diagnosis.
Wayne
On 10/18/07, Mark_E <[EMAIL PROTECTED]> wrote:
>
> Hel
Hello,
I am running into a strange situation with the maven-ejb-plugin and
maven-jar-plugin
I am performing a build, building a jar and an ejb. Seems that when I
execute the ejb plugin during the package phase, it messes up the execution
of the maven-jar-plugin.
For example, I am using the sna
I see how to use the assembly plugin to create my final artifact.
However, I am missing something. We develop a server that allows other
groups to write deployable components which can be deployed therein.
Since this is a standalone application, I have not seen anything that
explains the expected p
Got it. That will work.
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 4:09 PM
To: Maven Users List
Subject: RE: Copying resources
The ${something} is a requirement (value of jboss.home) that exists in
everyone's settings.xml and only use
have antrun at the same profile that produce your test.
-D
On 10/18/07, Yan Huang <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a maven project with multiple modules defined in the top of level.
> Now, after CI build, I want to grab all the test result files (pass or
> failure) under "target/sur
The ${something} is a requirement (value of jboss.home) that exists in
everyone's settings.xml and only used for the processing of resources.
Across all build environments, it's uniform but each developer has the
flexibility of putting jboss where they want and this gives us the
option to let peopl
Sure, but what happens when you move that to another machine?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 3:17 PM
To: Maven Users List
Subject: RE: Copying resources
Actually, using the ${somevalue} in profiles.xml (and providing a ful
JIRA info is at maven.apache.org/scm site
On 10/18/07, Ken Turner <[EMAIL PROTECTED]> wrote:
>
> Sorry, I'm new to this community, but what's a JIRA and how do I file it?
>
> --
> View this message in context:
> http://www.nabble.com/maven-scm-provider-starteam-tf4647423s177.html#a13282316
> Sen
Sorry, I'm new to this community, but what's a JIRA and how do I file it?
--
View this message in context:
http://www.nabble.com/maven-scm-provider-starteam-tf4647423s177.html#a13282316
Sent from the Maven - Users mailing list archive at Nabble.com.
---
Hello,
here is a list of refs about testing with maven. The first one
is specifically targeted at maven developers.
http://maven.apache.org/developers/committer-testing-plugins.html
http://wiki.rodcoffin.com/index.php?title=Maven_Integration_Testing
http://docs.codehaus.org/display/MAVENUSER/H
On Thu, Oct 18, 2007 at 02:57:56PM -0400, Alan D. Salewski spake thus:
> Below is a modded version of the quick and dirty 'mvn-clear-snapshots'
> script I have for clearing out SNAPSHOT artifacts for the project I'm
> currently working on. I typically run it prior to performing my first
> build of
Actually, using the ${somevalue} in profiles.xml (and providing a full
path to something outside the standard build directory) seems to be
working
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 18, 2007 3:08 PM
To: Maven Users List
Subject: RE
You are right,
the current starteam provider does not support checking out individual files,
the bad thing is it does not throw any exception either. Please file a JIRA
-D
On 10/18/07, Ken Turner <[EMAIL PROTECTED]> wrote:
>
> I'm struggling withe certain aspects os the StarTeam SCM plugin. Here
I think there's a plugin for that, but it escapes me. It isn't a very
portable solution what you are proposing. A more portable solution is to
make a new module for these files. Use assembly:single to zip them up
and deploy them to your repos. Then you can use the dependency plugin to
unpack this z
This is likely related to the JIRA
http://jira.codehaus.org/browse/MRM-543, which was closed recently.
Stay tuned for the end of this week, early next week.
We are in the final stages of a 1.0-beta-3 release.
Keep an eye out here for the list of issues fixed with 1.0-beta-3
http://jira.codehaus
Mirroring and Synchronization of repositories is not a feature of Archiva.
That is due in a version after 1.0.
Archiva will however proxy from a remote repository. http/https/ftp/scp,
etc... will all work.
If you are experiencing certificate issues, then you'll likely need to
setup / edit the c
I use archiva with m2eclipse just fine.
But, to be fair, I do not use m2eclipse 0.11.x as it's far too buggy for me.
I downgraded to 0.10.x instead. Much more stable for me.
Do you use the section with a * or a
collection of public repository ids?
- Joakim
cbrown wrote:
When I use my new
Below is a modded version of the quick and dirty 'mvn-clear-snapshots'
script I have for clearing out SNAPSHOT artifacts for the project I'm
currently working on. I typically run it prior to performing my first
build of the day (the version I actually use decends only into the
directory structure f
I need some help debugging my Maven 2 script when it runs under
CruiseControl, please.
The javadoc plugin is included in pom.xml with no special parameters:
maven-javadoc-plugin
WORKS FROM COMMAND LINE
When I run trunk>mvn clean scm:update install site from a Windo
Is there a way to copy stuff outside of the project directory in?
Say I'm building in:
E:\project\somedir\pom.xml
and I want to copy in files as defined as a property in profiles.xml:
some.dir=C:\somedir
Is there a way I can copy some items from ${some.dir}?
Not that I've seen, but when you write it later today, maybe you won't
mind contributing it back via this list and/or the Wiki for the
benefit of future users? ;-)
It should be a simple script -- for all directories, if this is a
snapshot version, find latest and delete (or move) the rest. Then ru
Hi all,
i'm using Maven + Artifactory to manage my Java Projects. Which worked fine so
far.
But now i'm running into Problem with the Dependency Resolving.
I have different Versions of a LibA, e.g.:
LibA-1.4.13.9
LibA-1.4.13.55
Now, in my App "AppA", i always want to use the newest Version of L
We have an internal repository and are constantly deploying snapshots
throughout the day. We want to clean these nightly(to preserve space)
and I was wondering if anyone had a shell script already written that
will cleanup snapshots nightly?
Thanks
Thomas Jackson
Hello,
I have a set of DAO tests which require ssh tunnels to be set up before they
can be run. Also, I have clover instrumentation turned on (by way of
including the clover plugin per
http://maven.apache.org/plugins/maven-clover-plugin/examples/simple.html(the
full example is down right now).
I'
Passwords are stored in clear-text in settings.xml stored in the
users's home directory ~/.m2/settings.xml. File system security should
keep most people out of that file. I personally don't have a problem
with storing passwords in this file, and assuming you're using a
reasonable OS with file syste
Hello,
I have a maven project with multiple modules defined in the top of level.
Now, after CI build, I want to grab all the test result files (pass or
failure) under "target/surefire-reports" of all modules and zip them up
before posting it to a specific reporting directory, where the users can
b
On 10/18/07, Jason Nerothin <[EMAIL PROTECTED]> wrote:
> Okay, so what I mean is that I have four complilation units: Unit A has
> compile-time dependencies on B1 and B2 which in turn have a compile-time
> dependency on unit C. "mvn compile" tries to figure out "which" code to link
> against (B1->C
I'm struggling withe certain aspects os the StarTeam SCM plugin. Here's a
snippet from my pom.xml file:
org.apache.maven.plugins
maven-scm-plugin
1.0
build.xml
0.1.0.54
tag
When I run a MVN scm:checkout, the ve
Members of the Maven council...
Is Surefire's support for "suite" functionality limited to Junit 3?
TestNG's @BeforeSuite and @AfterSuite annotations are not supported by
Surefire.
Junit 4's equivalent to these methods are to set up a class as follows:
@RunWith(value=Suite.class)
@SuiteClasses
I have a utility class in my plugin that has a constructor like this:
MyUtility(ArtifactRepository repository, MavenProject project, Log logger)
I want to write tests for the class. How do I go about getting the repository, project and logger created so I can call the
constructor on the class an
thanks for the help it gave me what I needed. I searched for the answer but I
must have been asking the wrong question.
Wayne Fay wrote:
I'm pretty sure this is covered in the documentation...
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
Wayne
--
M
Hi all,
maven:eclipse plugin always generates default inclusion/exclusion
patterns in source folders.
Is there a way to customize them?
Thanks,
L
--
Dott. Lorenzo Bigagli
PIN - Polo Universitario di Prato
dell'Università di Firenze
i: Piazza dell'Università
I-59100 Prato (PO), Italia
t:
Dear all,
I'm trying to configure the maven:eclipse plugin so that the generated
.classpath has a JRE container different than the default one
(|org.eclipse.jdt.launching.JRE_CONTAINER, jdk1.5 on my machine).
So my pom says:
maven-eclipse-plugin
org.eclipse.jd
You can exclude the dependencies in the following way:
---
-- First pom.xml --
za.co.someCompany
MyDependencies
pom
1.0
..
za.co.someCompany
A-PROJECT-DEPENDENCY
${version}
compile
..
-- Second pom
Also, you're not running out of heap space but of permgenspace.
Try (for maven / antrun plugin) -XX:MaxPermSize=256 or (for the javadoc plugin)
-J -XX:MaxPermSize=256
Hth,
Nick Stolwijk
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Thu 10/18/2007 3:24 PM
To: Mav
Hi,
in the subject you say genereating the javadoc causes the OOME, but
judging from the log output it seems it's in the antrun-plugin
execution. Have you just tried invoking maven itself with more memory:
mvn -Xmx... or MAVEN_OPTS=-Xmx...
-Tim
Mac-Systems schrieb:
> Hello,
>
> since yesterday
Hello,
since yesterday we never generated Javadoc for our large Multiprojekt.
I included the javadoc plugin and run : mvn site
all is fine so far, javadoc is generated, but in a subprojekt which uses
the "generate sources"
phase to call some ANT script . Now i get exactly there a out of memory
I'm using the deploy plugin to manually populate what would become the
"central" repository for the team. I guess I should start looking seriously
into Archiva, butMDEPLOY-34 would be definitely nice to have. I guess
this functionality would be better if implemented on Wagon, wouldn't it?
On 10/18/07, Graham Leggett <[EMAIL PROTECTED]> wrote:
> On Thu, October 18, 2007 1:54 pm, deckrider wrote:
>
> > Thanks for responding. I already know how to make Solaris packages,
> > but I don't know how to integrate the process into my pom.xml.
>
> Someone posted a reference to a maven plugin
On 10/17/07, Dan Tran <[EMAIL PROTECTED]> wrote:
> could you try this
>
> http://mojo.codehaus.org/solaris-maven-plugin/
>
> and give feed back?
Thanks, it looks interesting. I'll have to spend some time with it
before being able to provide feedback.
-
On Thu, October 18, 2007 1:54 pm, deckrider wrote:
> Thanks for responding. I already know how to make Solaris packages,
> but I don't know how to integrate the process into my pom.xml.
Someone posted a reference to a maven plugin that could create Solaris
packages, but I couldn't find it when I
On 10/17/07, Graham Leggett <[EMAIL PROTECTED]> wrote:
> deckrider wrote:
>
> > I need to generate a Solaris package (pkg) when building on Solaris
> > (pkgadd format).
>
> I managed to reverse engineer the whole ritual you have to follow a
> while back to get solaris packages of APR and httpd.
>
>
Yes, we use the properties plugin. And right now they're in clear text on
the people's machines. The prompt plugin can ask the user to confirm what
they are about to do in the case of activating a profile that would
potentially be harmful if accidentally entered (i.e. navigating through
command
The total repository is around 10 GB. You know the preferred way of setting up
a mirror is by using one of the available proxy servers? You can use archiva,
artifactory or proximity for this.
http://maven.apache.org/archiva/
http://proximity.abstracthorizon.org/
http://www.jfrog.org/sites/artif
I am not familiar with how it works with eclipse, but by itself, you
execute the plugin by either
- running the 'junit-report' goal and 'xdoc'
- putting 'maven-junit-report-plugin' in the section of your
project.xml and running 'site'
Note that in both cases the html is created by the xdoc p
Hi,
the ejb-plugin checks, if
${project.build.outputDirectory}/META-INF/ejb-jar.xml exists if the ejb
version is less than 3.0. Check if your ejb-jar.xml is really present in
that location.
-Tim
EJ Ciramella schrieb:
> Has anyone run across this particular type of error:
>
> [ERROR] BUILD ERRO
Just a note about the Artifactory UI - Artifactory 1.2.5 offers additional
lightweight directory-style repository browsing with bookmarkable artifact
URLs. We also improved the ajax tree browsing experience, so you're welcome
to give this version a test drive (see:
http://www.nabble.com/-ANN--Arti
Hi all,
I want to create a junit report using Maven 1.1. When I look at the Reports tab
of the project file, I see in "Available reports" the
maven-junit-report-plugin. I have downloaded the plugin
maven-junit-report-plugin-1.5.1.jar and put it in my plugins directory of
Eclipse, but I cannot
i want to create my own mirror.
On 10/18/07, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> The problem is a permission problem on your own machine, since those
> directories don't exist on the remote server.
>
> On 17/10/2007, li frank <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I want to get the
Hello,
can you state pros and cons for your company's maven internal repository
layout. Why (for example) have "internal-snapshots" and "internal" repos.
Which remote repos besides http://repo1.maven.org/maven2 and
http://people.apache.org/repo/m2-snapshot-repository? Any better ones? How
to keep
61 matches
Mail list logo