Hi guys,
i am executing deploy:deploy-file , but I am doing this from a directory
where there are pom files and so on... Is there any way to tell maven to
disregard the contents of the directory from where I execute
deploy:deploy-file ? I ask this because if i execute deploy:deploy-file from
somew
Hi
On a multi-module project, I have the ant:ant goal working fine. However,
on a much simpler project based on the simples archetype, I get a ClassCast
exception. Has anyone had/solved this issue before?
Thanks!
Gary
Stack trace and POM file below
java.lang.ClassCastException: java.util.Has
Hi,
?
-Tim
Holt, Jack C. schrieb:
I have a project that contains several subprojects. When I run "mvn
site" in the top-level project's directory, the index.html contains
links for the subprojects but they point to
http://maven.apache.org/index.html. I assume this is a default that is
not get
Hi,
in the 'Why Maven is Hard' thread, Wendy pointed [1] out that there is
configuration in the latest plugin parent pom to do somthing like this.
-Tim
[1] http://www.nabble.com/Why-Maven-is-Hard--tf4507688s177.html#a12966594
Chris Helck schrieb:
Hello,
In maven2 how can I have snapshots w
Hi,
nap4110 schrieb:
Hi Newbie here:
We want to use wagon to grab specific artifacts from our repository. I have
looked at the sample test case provided by apache here:
http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.jav
Dan
I'm new to maven2... i tried adding phase to the compile & jar plugins
but can't get it to work
could you give me an example
thanks!
--joe
- Original Message -
From: "Dan Tran" <[EMAIL PROTECTED]>
To: "Maven Users List"
Sent: Wednesday, October 03, 2007 11:24 PM
Subject: Re: M2: h
I'm getting false green for my build.
Is anyone else using Maven2 with TeamCity? If so, how do you run your FitNesse
tests?
We use TeamCity 2.1 for continuous integration. When a FitNesse test fails
using the fitnesse-maven-plugin it does not fail the build. I'm having trouble
determining
force maven-compiler-plugin and maven-jar-plugin to compile and
package your java classes at 'initialize' phase, and then
native-maven-plugin will take over.
then you will need build-helper-maven-plugin to attach you jar for deployment.
-D
On 10/3/07, Joe Argiro <[EMAIL PROTECTED]> wrote:
> Hi
Arnaud Bailly wrote:
>
> Matthias Berndt <[EMAIL PROTECTED]> writes:
>
>> Greetings,
>>
>> I'd like to filter the web.xml in src/main/webapp/WEB-INF. I tried to
>> follow the instructions on
>>
>> http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
>>
>
I have the following scenario for a bunch of projects I wish to implement:
I have a "Web Project" which acts as a router for web services. It must
contain the web services configuration, the wsdl and the schemas relating
to the wsdl. It will contain the "endpoints" of the web service - which
Hi
I attempting to migrate from maven to maven2.
I have an existing project which creates a jar file and a corresponding
.so file
I'd like to be avoid changing the existing directory structure which looks
like
project - (pom.xml )
project/src/java - (*.java)
project/src/unix - (*.c *.h)
On 10/2/07, Angel Sotirov <[EMAIL PROTECTED]> wrote:
> We are using Maven2 - Archiva and last two weeks we have serious
> performance problems. Maven is taking more than 15min to build
> relatively small project. Apparently the problem is getting updates
> from one of the 4 Archiva repositorie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Greg Morgan wrote:
> Angel Sotirov wrote:
> > Hi
>
> > We are using Maven2 - Archiva and last two weeks we have serious
> > performance problems. Maven is taking more than 15min to build
> > relatively small project. Apparently the problem is getti
Hi, I am doing something that I think is very simple, but cannot get anymore
info from the stack trace. essentially I want to grab a jar from my
repository. Here's the code:
ArtifactFactory artifactFactory = new DefaultArtifactFactory();
String type = "compile";
Artifact artifact
It's better if you ask in [EMAIL PROTECTED], too much
noise in maven-dev
You can check in
https://svn.apache.org/repos/asf/maven/archiva/trunk/maven-meeper/src/bin/synchronize/m2-sync/conf
for the groupIds that are being synced
or search in http://jira.codehaus.org/browse/MAVENUPLOAD to see who
up
I have a project that contains several subprojects. When I run "mvn
site" in the top-level project's directory, the index.html contains
links for the subprojects but they point to
http://maven.apache.org/index.html. I assume this is a default that is
not getting overridden because I haven't confi
Hi
I've been trying to get a custom checkstyle check to work but I get an
error that checkstyle can't find my custom check. I wrote a a script to
run checkstyle by hand and it works so I know my check is correct. My
check is in my local repository and I can see it in the maven log output
wh
I have not filed it ...
the exec plug-in is not able to inherit jars that are defined only in "test"
scope.
On 10/3/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Are you sure its a bug? Did you file the bug in JIRA? Only bugs in
> JIRA will ever get dealt with by the dev team.
>
> Wayne
>
> On 10
Hello,
In maven2 how can I have snapshots websites deploy to one URL and
releases deploy to another?
Thanks,
Christopher Helck
**
This communication and all information (including, but not limited to,
market prices/levels and d
When I execute a Maven build I sometimes receive a memory heap
exception. Is the a best practice set of parameters for running Maven?
Thank you.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law.
> I am using maven-checkstyle-plugin with a specific configuration file
> (I made it as a resource in a jar and the plugin configuration works
fine:
> checkstyle - or the plugin - is clever enough to get the xml file out of
the
> dependency jar)
>
> I'd like to do the same within eclipse with t
Hi Newbie here:
We want to use wagon to grab specific artifacts from our repository. I have
looked at the sample test case provided by apache here:
http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-provider-test/src/main/java/org/apache/maven/wagon/WagonTestCase.java
What isn't clear is
here is my version
parent
src/main/java <--- common source go here
server
src/main/java
mobile
src/main/java
Use your option 'b' to inject common source directory to server/mobile builds.
This way, changes in the common source apply to both server and mobi
Are you sure its a bug? Did you file the bug in JIRA? Only bugs in
JIRA will ever get dealt with by the dev team.
Wayne
On 10/3/07, Yan Huang <[EMAIL PROTECTED]> wrote:
> Does anyone know if this defect would be fixed soon in exec plug-in? Right
> now, I have to define all of test dependencies (i
Does anyone know if this defect would be fixed soon in exec plug-in? Right
now, I have to define all of test dependencies (including versions) within
plug-in, which is kind of pain of neck and not flexible since i have to
hard-code the dependency version ...
On 9/18/07, Wayne Fay <[EMAIL PROTECTED
You'll probably have better luck with this question in an Eclipse
mailing list. Or possibly even the main Checkstyle user list.
Wayne
On 10/3/07, houzecl <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I am using maven-checkstyle-plugin with a specific configuration file
> (I made it as a resource in a jar
Hello,
I did a experiment regarding when maven executes the plug-in in an active
profile. I define a profile at the top of pom.xml as belows:
PrepareTestEnv
!maven.test.skip
maven-antrun-plugin
> SNAPSHOT to Maven2 repository the deployed JAR will be named like
> "myartifact-1.0-20071003.xx-2.jar" where the "xx" is some sort of
> time stamp and "-2" is the build number, right? Sofar so good... However,
> Continuum still uses the first SNAPSHO
Hi
I'm trying to use the assembly plugin in combination with the deploy-plugin.
When I have created my assembly, 'mvn assembly:assembly', I use the
deploy-plugin. The deploy-plugin deploys my assemblies as well as the
artifacts (jars) that are created by the project. Is there a way to
prevent
using Continuum (1.0.3). OK, after first SNAPSHOT release
Continuum works perfectly with the webapp but when I redeploy the SNAPSHOT
to Maven2 repository the deployed JAR will be named like
"myartifact-1.0-20071003.xx-2.jar" where the "xx" is some sort of
time stamp and &q
Hi
I am using maven-checkstyle-plugin with a specific configuration file
(I made it as a resource in a jar and the plugin configuration works fine:
checkstyle - or the plugin - is clever enough to get the xml file out of the
dependency jar)
I'd like to do the same within eclipse with the eclips
24SevenOffice, the world leading web-based ERP system, has checked this mail
for viruses.
Hi all,
I principle, I agree with those who say it is against "Best Practice" to have
mulitply source directories in a project.
However, I have run into this situation taking an existing project over to
Hi,
excuse me, just for sake of curiosity, what u can do with Eclipse2.0 that u
cannot with Eclipse 3.x?
I mean Eclipse 2.0 is a big piece of software but it just dates back 5
years
I wait curious for your answer :-)
Bye
On 10/3/07, LukeLallu <[EMAIL PROTECTED]> wrote:
>
>
> Thank You so mu
Im also having this problem, but also with this plug-in:
org.apache.maven.plugins
It does not happen all of the time.
Mostly it happend to remote users, sporadically. It seems to have something
to do with the refresh?
The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist o r
n
I am working on a project that has three layers (poms) that roughly represent
a MVC stratification.
In the lowest layer, we have src/main/test/resources/ourapp.properties
that drives some of the unit tests.
In the next layer, we have src/main/test/resources/ourapp.properties
with more complex co
Hi
I have some XML files as test resources to work on. I have the classes
use these resources as
String SOAP_REQUEST_SAML2_UNSIGNED_NO_ROLES
= "xml/SoapRequestSaml2Unsigned-NoRoles.xml";
String SOAP_REQUEST_SAML2_ENVELOPED_DIGITAL_SIGNATURE_NO_ROLES
= "xml/SoapRequestSaml2EnvelopedD
Thank You so much for the reply for it is something like this for a web
project right
Step 1 :
After Maven 2.0.7 installtion
mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-web-app
-Dpackagename=com.mycompany.app -DarchetypeArtifactId=maven-archetype-webapp
Create a Web Proj
Hi
I have some XML files as test resources to work on. I have the classes
use these resources as
String SOAP_REQUEST_SAML2_UNSIGNED_NO_ROLES
= "xml/SoapRequestSaml2Unsigned-NoRoles.xml";
String SOAP_REQUEST_SAML2_ENVELOPED_DIGITAL_SIGNATURE_NO_ROLES
= "xml/SoapRequestSaml2EnvelopedD
Really, I tried to set up another slightly different scenario, this one:
A --> B --> C
where both B and C are defined as compile scope
At this point, running mvn eclipse:eclipse on project A, in Eclipse this
time I see in the "Referenced Libraries" also the jar of project C.
In the end, it was a
Is Bouncycastle responsible for publishing their jars under ( http://
repo1.maven.org/maven2/bouncycastle/ )or is someone else doing it?
There are a few additions we are hoping to see in the repository.
thanks,
Mark
-
To unsu
Hello community,
I use a maven script for building and deploying a web application to Tomcat.
Therefore web service skeletons, WSDDs, ... are automatically created using
this maven script. Does anyone know how I can automatically deploy my web
services using Axis? I suppose the AxisServlet has to
Hello.
Some body knows if there is some report in site plugin that include the
build's state, i.e failure or sucessfull?
Thanks for all and cheers.
Martin.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
As Wendy already told you, there is no Maven plugin for Eclipse 2.0.
If you want to use a Maven plugin Eclipse, you will need to upgrade to
a newer release ie Eclipse 3.3.
Assuming you have installed Maven 2.0.7 properly (and set up an
Internet proxy etc if necessary), go to your project directory
Hi,
Is there a way to specify the port number during deploy?
I am asking this because I might have one server that has more than one ftp
servers created.
Thank you.
A.
I am very new to Maven,
How do I do 'mvn eclipse:eclipse' when plugin could not be installed.
I am trying to install the plugin in the WSAD.
The Error I get is
--
Feature requires feature "com.ibm.wswb (2.1.1)", or compatible.
WebSphere Application Server - Express (5.1.0): Feature r
Is there any way to filter the test resources?
Every time I try I get the files with the placeholder in it instead of the
value.
Thanks.
--
View this message in context:
http://www.nabble.com/Filtering-test-resources--tf4562106s177.html#a13019900
Sent from the Maven - Users mailing list archive
On 10/3/07, LukeLallu <[EMAIL PROTECTED]> wrote:
> But could not install it as all these versions are COMPLIANT with Eclipse
> 3.1 and above.
>
> I am using WSAD 5.1.0 version is having Eclipse 2.0 version
I don't know that there's an IDE plugin available for something that old.
Have you tried '
Downloaded the maven plugin also from
http://m2eclipse.codehaus.org/
http://m2eclipse.codehaus.org/update-dev/
http://m2eclipse.codehaus.org/update/
(Site given by Apache itself)
Tried from http://www.eclipseplugincentral.com/modules.php too
But could not install it as all these versions are C
There are two things that the maven site documentation should accomplish
1. Top level view: what were they thinking when maven was designed
- What use cases does it attempt to solve, (with only core
plugins)
- What are the standards followed
- What maven does not try to
James Abley wrote:
>
> Hi,
>
> I have done three previous release:prepare and release:perform cycles on
> this project, but something seems to have changed and I need a hand
> pin-pointing it.
>
> I have used the maven-release-plugin to prepare a release of my
> multi-module project and that w
Sorry, thats an error, yes some of the Apache stuff we are working
with did not have latest versions in the central repo, I see Lucene
2.2.0 was placed in there earlier this summer and I'll switch us to
that. We'll also ask about getting the latest bouncycastle jars
added as well.
-Mark
Hi,
Raffaele schrieb:
Hi all,
my very simple scenario:
project B dependes upon project A which dependes upon Junit, and so:
I guess you mean project A depends on project B which depends on Junit.
A --> B --> Junit
Project A also needs of Junit to compile its test classes, but I would like
t
may it be that the junit only has the scope='test' in
the pom and this scope will not be taken by the
eclipse:eclipse?
For what i know eclipse does not have an own 'test'
classpath but only one-for-all.
LieGrü,
strub
--- Nick Stolwijk <[EMAIL PROTECTED]> schrieb:
> A.F.A.I.K. transitive depende
A.F.A.I.K. transitive dependencies only count at runtime. You need those
dependencies to run your program. If you need a dependency at compile
time, it is your own dependency and not some transitive dependency.
Hth,
Nick Stolwijk
Raffaele wrote:
Hi all,
my very simple scenario:
project B dep
Hi all,
my very simple scenario:
project B dependes upon project A which dependes upon Junit, and so:
A --> B --> Junit
Project A also needs of Junit to compile its test classes, but I would like
that project A didn't define directly the dependency from Junit.
Can Junit in this scenario be consi
>
> But, why is it working on Windows and not on Linux?
I don't really know.
I am on Windows and I have to specify the configuration Surefire plugin in
order to debug my tests in remote mode.
Did you have the same pom.xml (same Surefire configuration and version) ?
Try to clean your local reposi
I'm using continuum 1.0.3 on Linux machine with maven 2.07 installed.
In M2_HOME/conf/settings.xml I overrided default repository information to
link our internal repository.
I've defined M2_HOME & JAVA_HOME in the shell.
When I use maven directly all is OK.
If I use Continuum I get an error. T
Hi,
please don't write in all caps (even if it's just the subject), this is
considered rude. People will decide to read and answer you question not
based on how strong you try to advertise it but on how good you describe
your problem and if they know an answer.
Regarding your question. this
Problem solved!
We use local repository to deploy the modules during development. The
other modules that need those other modules as dependencies will take
them from the local repository. No need to change the version in POM
file while deploying (locally), previously deployed content is repl
Hi,
I can reproduce the problem but have no clue either what the root cause
could be. Howerver, it's working for me with the xdoclet-maven-plugin
[1] from the mojo project:
org.codehaus.mojo
xdoclet-maven-plugin
process-resources
xdoclet
Hi Wim,
I use the commercial Install4J ant am ANT script to create installers
for Windows, Mac and Linux.
Siegfried Goeschl
Wim Deblauwe wrote:
Hi,
I have a question for the people that use maven to create an application (as
opposed to a library). How do you provide an easy start point for
Netbeans with the maven plugin can do this for you automagically ;o)
2007/10/3, Rémy Sanlaville <[EMAIL PROTECTED]>:
>
> Indeed, by default surefire start a new jvm for the tests.
> So you have to add your remote debug configuration in the surefire
> configuration plugin like that :
>
>
>
Thanks, I'll give it a try.
But, why is it working on Windows and not on Linux?
Erez.
--
View this message in context:
http://www.nabble.com/Remote-Debugging-on-Linux-tf4556044s177.html#a13014244
Sent from the Maven - Users mailing list archive at Nabble.com.
Hi
I am trying to build the project with jdk6 and maven. The project compiles
ok but when runnign the tests i get nullpointer exceptions which i don't get
when running the same tests in eclipse and jdk 6.
I'm wondering ( i could be wrong here ) if it's related to surefire...
Thanks
Michael McC
Hi,
you can't have a dependency without a version in the depManagement
section.
-Tim
siegfried schrieb:
I downloaded a maven, hibernate, spring demo six months ago from
virtuas.com. I thought I remembered it working with "mvn test" but I might
have since upgraded maven (I'm not sure). I do kno
Indeed, by default surefire start a new jvm for the tests.
So you have to add your remote debug configuration in the surefire
configuration plugin like that :
org.apache.maven.plugins
maven-surefire-plugin
2.3
-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:t
66 matches
Mail list logo