Is it an EJB client jar your asking about? Have a look here:
http://maven.apache.org/plugins/maven-ejb-plugin/examples/generating-ejb-client.html
/Anders
On Thu, Oct 22, 2009 at 04:08, Michael Remijan wrote:
> I'm working on a older app which is an RMI server and client. The client
> applicati
Hey all,
Just started testing maven 3 on our builds and noticed that it's causing
some weirdness with the maven-bundle-plugin, in that my manifest doesn't
seem to export all the desired packages anymore.
i.e. I had exported org.hibernate.* - under maven 2.2.1 this would also
export org.hibernate
Probably because it's trying to resolve the model first, which can't
be done without the parent. You usually would need to have this repo
defined in your settings to bootstrap your system. This is one reason
why we suggest not putting repos in your poms:
http://www.sonatype.com/people/2009/02/why-p
+1. We do this all the time at Apache. Fwiw, maven.apache.org isn't
any official repo. it's repository.apache.org (for snapshots) and
repo1.maven.org for releases.
On Tue, Oct 20, 2009 at 9:31 AM, Jason van Zyl wrote:
> On 2009-10-20, at 5:16 AM, Svante Schubert wrote:
>
>> Hi,
>>
>> I am a Maven
I'm working on a older app which is an RMI server and client. The client
application needs interface classes and stub classes from the server and
previously we did this with ANT just pulling out the classes we needed. I can't
figure out how to do with with Maven though. Basically I need to crea
I got one pom project and want to build it. There is an error indicate that
can't find parent POM. The parent POM is one the repository and I have set
this repository in this pom.xml. Why doesn't maven download its parent pom
from this repository?
--
View this message in context:
http://www.nabb
Also, if you use WTP in Eclipse, it will work this way. I'd guess that if
you would get it to work, Eclipse would probably build incorrect WAR-files
because it would include the contents of that folder as both resources and
as real web-application.
So, just get used to it, it isn't broken and ther
On Thu, Oct 22, 2009 at 9:37 AM, Vincent F wrote:
>
> Thanks for your answer. I'm going to be very picky here, but is there a way
> to have the src/main/webapp folder " folded as one in Eclipse, just like the
> src/main/java and src/main/resources are ?
Can you please post how you are running ecl
Sure!
two separate executions in the assembly , put the for
each in one of the stanzas, and put each with a separate .
Read
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
for more info on what phases are available, but as long as they are after your
other wor
Thanks for your answer. I'm going to be very picky here, but is there a way
to have the src/main/webapp folder " folded as one in Eclipse, just like the
src/main/java and src/main/resources are ?
Vincent
justinedelson wrote:
>
> It doesn't really make sense for src/main/webapp to be a source
On Wed, Oct 21, 2009 at 3:52 PM, Radim Kolar wrote:
>
> is there way to change order of builds in assembly plugin? i need to build
> jar-with-dependencies first,
> descriptor zip.xml second (depends on jar-with-deps).
I would probably put them in separate modules with proper
so Maven will do the
is there way to change order of builds in assembly plugin? i need to build
jar-with-dependencies first,
descriptor zip.xml second (depends on jar-with-deps).
org.apache.maven.plugins
maven-assembly-plugin
jar-with-dependencies
Unpack your dependencies and copy the resources from the unpacked
dependencies.
http://maven.apache.org/plugins/maven-dependency-plugin/unpack-dependencies-mojo.html
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Wed, Oct 21, 2009 at 6:08
Hi folks,
I have started converting the now open sourced IntelliJ Idea Community
Edition to Maven.
I pushed my work to GitHub:
git://github.com/jschneider/org.jetbrains.idea.git
http://github.com/jschneider/org.jetbrains.idea/tree/mavenize
It is really a lot of work and I could need some help fr
It works when I remove the javaee 6 dependency
But that not really a solutions since I need this further on... What
wrong with this dependency?
2009/10/21 Anders Hammar :
> Sorry, I don't know more than the link I referred to.
>
> /Anders
>
> On Wed, Oct 21, 2009 at 15:58, Roel Veldhuizen
I'd say that if it doesn't work for you and you have a project that
re-produces this, file a bug report.
/Anders
On Wed, Oct 21, 2009 at 16:16, Bulat Nigmatullin wrote:
> I need someone to prove my suspicions. Please check provided project.
>
> --
>
> Bulat Nigmatullin.
>
>
Sorry, I don't know more than the link I referred to.
/Anders
On Wed, Oct 21, 2009 at 15:58, Roel Veldhuizen wrote:
> So, if i understand this correct not all the jars dependencies are
> provided during the testing? Bellow the list of dependencies
>
>
>
> javax
> javaee-api
>
Solved the problem myself - thanks. It was a typo and Maven instantiated an
empty project instance. I need to be spanked for blindness ;-)
Regards
Alexander von Zitzewitz
www.hello2morrow.com
SonarJ Elevator Pitch: http://www.hello2morrow.com/videos/benefits
+1 (877) 294-6327
-- Forwa
Not quite the answer to your question, but mvn dependency:sources will download
all available source jars for a project's dependencies (including transitive
dependencies). There's no dependency:javadocs AFAIK, but it probably wouldn't
be that hard to do (based on the source of the sources mojo).
Hello !
I am working on a plugin that needs to make sure that code is generated and
everything is compiled. It then uses compileSourceRoots and target/classes
to perform some static analysis on the code.
The header of my Mojo looks like
/**
* Create SonarJ dependency XML report.
*
* @goal
It doesn't really make sense for src/main/webapp to be a source folder -
it doesn't contain compilable source files.
Justin
-Original Message-
From: Vincent F [mailto:vincent.fu...@sgcib.com]
Sent: Wednesday, October 21, 2009 1:22 PM
To: users@maven.apache.org
Subject: maven-eclipse-plu
I have no proxy. Follows below the dependencies to pom.xml :
org.apache.axis
axis
1.4
org.apache.axis
axis-jaxrpc
Hello All,
How can I configure maven such that my organization's repository is
checked last?
I currently have the repositories configured as:
ngdc-repo
NGDC Maven Repository
https://intranet.ngdc.noaa.gov/m2
Do I have to explicitly
Thanks Martin, that helped a lot. The link for the instructions on
configuring JSSE to use this new jssecacert file as the truststore was
broken, but I simply replaced the $JAVA_HOME/jre/lib/security/cacerts w/ it.
--john
Martin Gainty wrote:
> did you get a chance to add the PKIX certificate t
Hi,
I'm trying to move my current project structure to Maven Standard Directory
Layout, so that everything I had in /WebContent is now in src/main/webapp .
It works fine for the packaging.
However, when using maven-eclipse-plugin 2.7 to update my Eclipse project
and configuration files, I was ex
Hey guys,
I'm searching for an issue of coping resources from dependent maven projects
within the maven-assembly-plugin.
The goal is to get all configuration files, from the assembled project and
all its dependencies.
For example:
Maven-Project A
/src/main/java/..
> I checked the repository and the path of the pom.xml is correct. All the
> jars are there : http://repo1.maven.org/maven2/org/apache/axis/
This doesn't make much sense to me either. Are you perhaps using a
proxy like Artifactory, Nexus, Archiva etc or are you hitting Central
directly?
If you ha
Dear all,
I have a project which depends of two library A and B. Both (jar) have
a directory named META-INF/services/ with in a file named "config" for
example. However the content of the file "config" is different for the
two libraries.
My project use the assembly plugin with one-jar goal. When
Hi Herve,
I managed to pass this issue by specifying in my settings.xml files and in the one in \conf\.
So I decided lets try something else.
/u/uli/home/Mercury/Mercury/imf/codegen: >mvn help:system -X -e
+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
Hi,
I'm using axis 1.4 with Maven and I don't problems. I'll share the pom I'm
using.
I'm using the axistools-maven-plugin.
> org.codehaus.mojo
> axistools-maven-plugin
> 1.3
>
> src/wsdl2j/wsdl
>
I need someone to prove my suspicions. Please check provided project.
--
Bulat Nigmatullin.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
If you have a project to reproduce, it would be great if you created a jira
so that it could be fixed.
http://jira.codehaus.org/browse/SUREFIRE
/Anders
On Wed, Oct 21, 2009 at 15:51, Bulat Nigmatullin wrote:
> According to
>> http://maven.apache.org/plugins/maven-surefire-plugin/usage.html
>> i
Done. Thanks Lukas.
On 10/21/09 3:42 AM, "Lukas Theussl" wrote:
>
> Please attach your findings here:
>
> http://jira.codehaus.org/browse/MSITE-220
>
> Cheers,
> -Lukas
>
-
To unsubscribe, e-mail: users-unsubscr...@maven.
So, if i understand this correct not all the jars dependencies are
provided during the testing? Bellow the list of dependencies
javax
javaee-api
6.0-SNAPSHOT
provided
org.apache.axis
axis
1.4
org.apache.axis
axis-jax
I was using 'addClasspath' with manifest section of jar plugin and noticed
that uniquely versioned snapshot dependencies seem to produce following
Class-Path values (with classpathMavenRepositoryLayout)
groupId/artifactId/version-timestamp/artifactId-version-SNAPSHOT.jar
I presume
groupId/art
Hi!
I'll try adding axis2. In repository I don't find axis-jaxrpc jar (
http://repo1.maven.org/maven2/org/apache/axis2/ ).
Do you know if there is axis-jaxrpc jar in axis2 ?
Thanks!
mangrar wrote:
>
> It is very strange. Why don't you try adding axis2 1.4.1? I'm using it and
> I
> don't have
Hi!
With the command mvn -X clean install, the maven entered in loop:
[DEBUG] junit:junit:jar:3.8.1:test (selected for test)
[DEBUG] axis:axis:jar:1.4:compile (selected for compile)
[DEBUG] While downloading axis:axis-jaxrpc:1.4
This artifact has been relocated to org.apache.axis:axis-jaxr
According to
http://maven.apache.org/plugins/maven-surefire-plugin/usage.html
it should work with both TestNG and JUnit.
What I'm wondering about is why TestNG is getting into your classpath. Your
dependency should typically have a test scope dependency to TestNG, which
will be omitted in the tran
I have a project with a lot of JUnit test. Recently I've added new
dependency wich have TestNG in it's dependencies. From that moment
Surefire plugins don't run JUnit test anymore. It seems to me that
Surefire tries to find TestNG tests but not find them and don't search
for JUnit tests. Is this b
Hi there,
just wondering if anyone else had this problem. I have a maven project in
netbeans and when I want to debug something regardless of the position of
the breakpoint the debugging starts at the first line of the program, which
is a pain if it's a longer project. strangely it work correctly
I made a switch from Netbeans Ant projects to Maven projects.
I achieved almost everything by finding a plugin that does what I want
(like deployment) and sometimes changing the way I do it a tiny bit.
And the more complex custom build tasks can be achieved by using the
existing ant-run plugin for
Hi there,
I didn't find a solution or even suggestion online to the following
issue I'm having. I've developed a small ant-Task and build it with
maven2. The ant task is supposed to throw a BuildException under certain
circumstances. To test the task, I've created two junit tests, which
invoke
Finished.
Just created a profile in Maven's *$home/.m2/settings.xml* file with my
property and used in the *pom.xml* and it was it.
Best regards,
--
António Jacob Costa
IBM Certified Deployment Professional - Maximo V6 EAM
MAXIMO Consultant and Software Engineer
LinkedIn: http://www.linkedin.com
Hello,
has anyone tried to migrate from Netbeans (which uses ant as build
script) to Maven. I face some serious problems doing so, with Bpel- and
Composite Application Modules.
I see two solutions (both are not perfect):
- servicemix from apache, which seems not to be applicable with existing
p
Hi again,
Did it using a new executable in the maven-compiler-plugin. Now just have to
find out how to make the path to this executable independent of the home as
we are different people contributing to this project.
org.apache.maven.plugins
maven-compiler-plugin
Hello,
Check this
http://maven.apache.org/plugins/maven-eclipse-plugin/m2eclipse-mojo.html#downloadSources
2009/10/21 Lewis, Eric
> Yes, m2eclipse can do that: You can right click on the dependency and
> choose to download the sources.
> However, I don't know whether you can do that for all dep
in reality it's this method:
http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/versions/DefaultVersionInfo.html#202
2009/10/21 Stephen Connolly
>
> http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/pha
http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/phase/MapVersionsPhase.html#165
2009/10/21 David Meunier
> Hi all,
>
> Does anyone knows "auto-increment rules" of the maven-release-plugin or
> where to find documentation about that ?
>
> I put 1.8
Hi all,
Does anyone knows "auto-increment rules" of the maven-release-plugin
or where to find documentation about that ?
I put 1.8.a1-0-SNAPSHOT version in my POM and when i release, the next
version becomes 1.8.a2-0-SNAPSHOT, and i wonder why it's not 1.8.a1-1-
SNAPSHOT ?
NB : when i pu
Yes, m2eclipse can do that: You can right click on the dependency and choose to
download the sources.
However, I don't know whether you can do that for all dependencies at once.
Best regards,
Eric
> -Ursprüngliche Nachricht-
> Von: Roland Asmann [mailto:roland.asm...@cfc.at]
> Gesendet
Personally I use the maven-eclipse-plugin for that...
mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
Not sure if the M2Eclipse -plugin can do the same, maybe someone who knows can
shed a light (or already did, working through the list of unread messages as
I write this).
Ro
Hi everyone,
I'm having trouble using the Java default package. In my Java class I'm
including a library from a 3rd party application that includes classes in
the default package. I have to import one of them and when I compile it with
Maven I get the following error.
[ERROR] BUILD FAILURE
> [INF
Please attach your findings here:
http://jira.codehaus.org/browse/MSITE-220
Cheers,
-Lukas
Rick Mangi wrote:
Hello,
I'm encountering a strange problem with the generation of my javadocs report
in the maven site plugin.
If I run mvn javadoc:javadoc it generates the javadocs, but when I run
Foung this similar issue:
http://forums.java.net/jive/message.jspa?messageID=226931
Stephen is reading this list, maybe he can fill in?
/Anders
On Wed, Oct 21, 2009 at 09:22, Roel Veldhuizen wrote:
> The JDK's are both set 1.6. I'm using the default setting of Maven
> 2.0.9 ( at least nothing i
The JDK's are both set 1.6. I'm using the default setting of Maven
2.0.9 ( at least nothing is defined concerning the tests ). Bellow I
pasted the ant concerning the junit tests. Maybe that will give some
insights
http://www.netbeans.org/ns/j2ee-ejbjarproject/2";>
55 matches
Mail list logo