On Wed, Jul 20, 2011 at 2:45 PM, Abdul Hakim wrote:
> My project directory is ANNEX. I place the main class (ANNEX.java) in
> \ANNEX\src\main\java\com\mycompany\app
> Does this mean that i have to put
> something like this in the POM?
> com.mycompany.app.ANNEX.
Yes, read http://maven.apache.org/s
My project directory is ANNEX. I place the main class (ANNEX.java) in
\ANNEX\src\main\java\com\mycompany\app
Does this mean that i have to put
something like this in the POM?
com.mycompany.app.ANNEX.
Also, I intend to distribute it in a single jar, which is executable by just
clicking at the file.
On Wed, Jul 20, 2011 at 1:27 PM, Sebastian Otaegui wrote:
> The issue is not related to javax.mail it is with the specification of your
> main class.
>
> In mainClass you have to put the fully qualified path to the class
>
> like in pa.cka.ge.ANNEX (if that is your main class)
>
> And if you requi
On Wed, Jul 20, 2011 at 10:22 AM, kanesee wrote:
> I guess I don't really understand the Maven modules then.
>
> Well, this is what I have. My company has a bunch of "components" and our
> own home-brewed build system. We want to translate it to the Maven
> environment.
> The "library components"
The issue is not related to javax.mail it is with the specification of your
main class.
In mainClass you have to put the fully qualified path to the class
like in pa.cka.ge.ANNEX (if that is your main class)
And if you require javax.mail you will have to add it to the class path when
you execute
Hello,
Im trying to build a project which requires the mail.jar from Sun. it runs
perfectly in Netbeans. However, when I tried compiling it with maven, it
produces a jar file that will display this error message when I tried to
execute it : Could not find the main class : ANNEX.Program will exit.
I guess I don't really understand the Maven modules then.
Well, this is what I have. My company has a bunch of "components" and our
own home-brewed build system. We want to translate it to the Maven
environment.
The "library components" depend on each other in that they may reference
classes in ot
On Wed, Jul 20, 2011 at 9:44 AM, kanesee wrote:
> Well, I would like to be able to call a maven phase like compile in the
> top-level parent project and have it combine all of its
> dependencies/submodules. That's really the only reason I'm using modules
> instead of sticking with dependencies.
S
Well, I would like to be able to call a maven phase like compile in the
top-level parent project and have it combine all of its
dependencies/submodules. That's really the only reason I'm using modules
instead of sticking with dependencies.
--
View this message in context:
http://maven.40175.n5.na
On Wed, Jul 20, 2011 at 8:14 AM, kanesee wrote:
> So it seems Maven handles dependency inheritance pretty well.
> Let's say I have a parent project A that depends on projects B and C. And
> both B and C depend on D. This works fine as dependencies.
>
> But suppose I wanted to make B and C modules
The Maven team is pleased to announce the release of the Maven JXR, version 2.3
JXR is a tool for creating cross-references of Java source files.
http://maven.apache.org/jxr
and
http://maven.apache.org/plugins/maven-jxr-plugin
You should specify the version in your project's plugin configurat
My 2 cents: I'm very new to Maven and its repository and I found Nexus very
easy to install, set up, and use. I haven't tried Archiva though
--
View this message in context:
http://maven.40175.n5.nabble.com/Archiva-vs-Nexus-tp4594364p4614051.html
Sent from the Maven - Users mailing list archive a
I found this reference to my problem:
http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html
So Maven 3 removed the "enable nested module" option from the earlier
version? I guess that might have helped with my situation
So it seems Maven handles dependency inheritance pretty well.
Let's say I have a parent project A that depends on projects B and C. And
both B and C depend on D. This works fine as dependencies.
But suppose I wanted to make B and C modules of A. And I want to make D a
module of B and C, then Maven
Archiva supports staging out of box and Nexus you have to pay.
-D
On Tue, Jul 19, 2011 at 2:58 PM, Robert Scholte wrote:
>
> http://www.sonatype.com/people/2011/06/nexus-tips-and-tricks-backup-nexus/
> -Robert > Date: Tue, 19 Jul 2011 14:55:38 -0700
>> From: eric.koloty...@gmail.com
>> To: user
http://www.sonatype.com/people/2011/06/nexus-tips-and-tricks-backup-nexus/
-Robert > Date: Tue, 19 Jul 2011 14:55:38 -0700
> From: eric.koloty...@gmail.com
> To: users@maven.apache.org
> Subject: Re: Archiva vs. Nexus
>
> Is it easy to move a Nexus repository from one system to the next? I was
Is it easy to move a Nexus repository from one system to the next? I was
thinking of using my personal workstation to host Nexus, because it is
more powerful than any server we have, and I don't want to have to go
find a server with spare cycles.
Would it make more sense for me to create a VMW
I copy-pasted an assembly config from the web and it doesn't work. it doesn't
like the node under .
I'm using maven 3.0.3.
Any ideas what may be wrong here:
{
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi
Yes Barrie you're right. I've just realized that one of my tapestry
dependencies (tapestry-test) includes a hidden dependency to testng which
was the cause of my woes!
Have excluded the dependency as follows:
org.apache.tapestry
tapestry-test
5.2.6
On Tue, Jul 19, 2011 at 11:20 PM, Julien Martin wrote:
> Hello,
>
> I appreciate your help Brian!
>
> I changed my POM as follows:
>
> *
> org.apache.maven.plugins
> maven-surefire-plugin
>
>
> org.apache.mave
I normally define a property called something like
'multiproject.basedir' in every POM - or at least in every POM that
needs to reference a path in the parent project dir.
Some examples:
- in 'parent/pom.xml' it's:
${basedir}
- in 'parent/sub1/pom.xml' it's:
${basedir}/..
- in 'par
Thanks for the response.
On Tue, Jul 19, 2011 at 7:30 AM, Benson Margulies wrote:
> This has come up before, I believe that there is a JIRA requesting it.
> It happens when someone has two environments: one in which something
> is provide, and one in which they want to shade it. It's not currentl
On 19 July 2011 09:16, Stephen Connolly wrote:
> On 19 July 2011 16:44, Hilco Wijbenga wrote:
>
>> On 19 July 2011 03:01, Cem Koc wrote:
>> > I have 3 level multi module maven project. I want to utilize a common
>> plugin
>> > configuration at parent pom and the rest of the 2nd and 3rd level mo
On 19 July 2011 16:44, Hilco Wijbenga wrote:
> On 19 July 2011 03:01, Cem Koc wrote:
> > I have 3 level multi module maven project. I want to utilize a common
> plugin
> > configuration at parent pom and the rest of the 2nd and 3rd level modules
> > will utilize this configuration. The plugin c
On 19 July 2011 03:01, Cem Koc wrote:
> I have 3 level multi module maven project. I want to utilize a common plugin
> configuration at parent pom and the rest of the 2nd and 3rd level modules
> will utilize this configuration. The plugin configuration has a
> configuration file for 3rd level mod
This has come up before, I believe that there is a JIRA requesting it.
It happens when someone has two environments: one in which something
is provide, and one in which they want to shade it. It's not currently
possible.
On Tue, Jul 19, 2011 at 7:13 AM, Mark Derricutt wrote:
> That sounds like st
Hello,
I appreciate your help Brian!
I changed my POM as follows:
*
org.apache.maven.plugins
maven-surefire-plugin
org.apache.maven.surefire
surefire-junit4
On 19/07/2011 9:17 AM, Eric Kolotyluk wrote:
I must say, I don't know either technology that well, but after
looking around Nexus seems to have the more favorable reviews. I'll
probably try Nexus first given I am already using m2e and Sonatype
seem to document things well.
I am really happy wi
I must say, I don't know either technology that well, but after looking
around Nexus seems to have the more favorable reviews. I'll probably try
Nexus first given I am already using m2e and Sonatype seem to document
things well.
Thanks for that clarity everyone.
Cheers, Eric
On 2011-07-19 4:
Julien,
Sorry I didn't notice you had responded. Like most mailing lists, one thing to
keep in mind is we're all doing this for free and at one time or another
someone helped us out. So we're just returning the favor.
Anyway, your logs show the line:
> [DEBUG] (f) testSourceDirectory =
>
maybe this: http://jira.codehaus.org/browse/MRESOURCES-104 ?
-Lukas
On 07/19/2011 12:01 PM, Li Yanhui wrote:
Hi,
I'm using maven-resources-plugin:2.4.3 on my Mac.
I found it can't replace placeholder in properties file if it contains the '@'
character.
For example, I have a env.properties
Hi,
I'm using maven-resources-plugin:2.4.3 on my Mac.
I found it can't replace placeholder in properties file if it contains the '@'
character.
For example, I have a env.properties under src\main\resources which has the
following content:
jdbc.url=jdbc:oracle:thin:@192.168.1.212:1521:demodb
That sounds like standard, expected behavior - if the dependencies are
-provided- for you, why would you need to shade them?
It works fine just as long as your minimal configuration doesn't
include Java 6. There's a bug[1] hanging out there for almost a year
now which prevents Archiva from being useful for me and a lot of
others.
That being the case, Nexus all the way.
[1] http://jira.codehaus.org/browse/MRM-1412
-Jes
I have 3 level multi module maven project. I want to utilize a common plugin
configuration at parent pom and the rest of the 2nd and 3rd level modules
will utilize this configuration. The plugin configuration has a
configuration file for 3rd level modules such as:
../../conf/myplugin
But this co
Sure. I am going to set one up. Which repo manager do you recommend?
Regards,
Julien.
2011/7/19 Barrie Treloar
> On Tue, Jul 19, 2011 at 5:23 PM, Julien Martin wrote:
> > Hello Barrie,
> >
> > Thanks for your reply!
> >
> > I removed the white spaces from the directory name.
> >
> > Yes there i
On Tue, Jul 19, 2011 at 5:23 PM, Julien Martin wrote:
> Hello Barrie,
>
> Thanks for your reply!
>
> I removed the white spaces from the directory name.
>
> Yes there is a classes in the test-classes directory.
I'm running out of thoughts.
The file name ends in Test should it should be automatica
Hello Barrie,
Thanks for your reply!
I removed the white spaces from the directory name.
Yes there is a classes in the test-classes directory.
The point you make about my mvn trying to install the artefact into the
jboss repository is very relevant but do I really need a repository manager
even
Hi,
This seems like a pretty straightforward thing to want to do but I haven't
found a way of doing it. I'm generating a war, call it module1, and adding some
entries to the manifest of this war. I'm then overlaying this war, which
generates the expected results, but I want to include the entri
If all you want to do is ensure that the child2 is not deployed to the maven
repo, then you would turn on the
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skipparameter
in that module, ideally by using a release profile and having that
release profile with a definition in th
On Tue, Jul 19, 2011 at 4:48 PM, Hansjoerg wrote:
> Hi
>
> I'm trying to figure out, how I can exclude a child module from beeing
> released to our company repository during the execution of release:perform.
>
> The situation is this:
> parent pom
> ...
>
> child1
> child2
>
>
> child 2
Hi
I'm trying to figure out, how I can exclude a child module from beeing
released to our company repository during the execution of release:perform.
The situation is this:
parent pom
...
child1
child2
child 2 shouldn't be put directly to the maven repository, so I tried to
reconfigu
On Sun, Jul 17, 2011 at 7:21 PM, Julien Martin wrote:
Julien, you need to setup a repository manager at your work.
[del]
> [INFO] snapshot com.cheetah:cheetah-domain:1.0-SNAPSHOT: checking for
> updates from jboss
> [DEBUG] Using Wagon implementation lightweight from default mapping for
> protoc
43 matches
Mail list logo