:
Hi Karthik V,
The properties tag for dependencies are no longer suppported. Can you
post your pom so that we can see what you are actually doing?
Regards,
Henry
Karthik V wrote:
looks like things have changed :( ... the properties tag is not being
recognized.
On 1/17/06, Max
/artifactId
/plugin
/plugins
/build
/project
Regards,
Dário
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 18 de janeiro de 2006 14:09
To: Maven Users List
Subject: Re: Ear file doesnt contain war and jar
Hi Henry,
Below is my ear
and yes, the ear, war and jar projects have parent tags pointing to the pom
project
On 1/18/06, Karthik V [EMAIL PROTECTED] wrote:
Hi,
Thank you. I couldn't find a single difference :( ... As for the super
pom, I have a pom project that has modules like this -
packagingpom
etc. into specific directories inside the .ear?
On 1/18/06, Karthik V [EMAIL PROTECTED] wrote:
and yes, the ear, war and jar projects have parent tags pointing to the
pom project
On 1/18/06, Karthik V [EMAIL PROTECTED] wrote:
Hi,
Thank you. I couldn't find a single difference
Is there an option in maven-compiler-plugin to list the files being
compiled? I'm trying to have an includes set, but the compiler seems to be
compiling unwanted files. I'm looking for an equivalent of ANT's javac
listfiles=true .
I have an ear project that needs to pack 2 other projects artifacts (jar and
war). In the ear project pom, I've added dependencies on both. However, the
ear file produced doesnt contain these. How do I fix this problem?
you are looking for
-D
On 1/17/06, Karthik V [EMAIL PROTECTED] wrote:
Is there an option in maven-compiler-plugin to list the files being
compiled? I'm trying to have an includes set, but the compiler seems
to
be
compiling unwanted files. I'm looking for an equivalent of ANT's javac
when someone answers this question, please give a general answer to this
question - how do I copy a jar file specified as dependency into the final
artifact, inside the folder I want?
On 1/17/06, Karthik V [EMAIL PROTECTED] wrote:
I have an ear project that needs to pack 2 other projects
/ear/properties.html
Note that the ear.bundle.dir property will allow you to control the
directory (inside the ear file) where the dependency ends up.
-Max
On Tue, 2006-01-17 at 13:18 -0500, Karthik V wrote:
when someone answers this question, please give a general answer to this
question
I have an ear project, and the pom contains the following lines -
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
configuration
modules
javaModule
groupIdcommons-collections/groupId
war archive root. Please use this.
src/main/resources are always copied into target/classes.
Karthik V wrote:
I have a war project in m2 and want to copy some resource files to
target.
In my src/main/resources folder, I have some files, along with a
web-inf
folder
this at all?
On 1/12/06, Brian E. Fox [EMAIL PROTECTED] wrote:
Isn't there an exclude sources setting in the compiler?
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 11:12 AM
To: Maven Users List
Subject: Re: Filtering resources
can
question is, what are you trying to accomplish? Are these
classes unit tests or something?
-john
Karthik V wrote:
there seems to be one (
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html) ..
but isnt it possible to do it after compilation, when the jar happens
Casey [EMAIL PROTECTED] wrote:
Well, looking at the jar plugin, it seems that it doesn't allow
inclusions/exclusions to be specified.
I guess my question is, what are you trying to accomplish? Are these
classes unit tests or something?
-john
Karthik V wrote:
there seems
can some one answer this please?
On 1/11/06, Karthik V [EMAIL PROTECTED] wrote:
ok .. that 2nd question was silly .. i managed it ... pls help me wth the
1st one.
On 1/11/06, Karthik V [EMAIL PROTECTED] wrote:
In m2, how do I prevent some classes from being included to the final
jar
I have a war project in m2 and want to copy some resource files to target.
In my src/main/resources folder, I have some files, along with a web-inf
folder containing some more files. But maven always seems to copy it to
target/web-inf/classes and not target. How do I change this behavior?
I tried
I need to add the sources generated thru xdoclet (its in a separate
folder).. is there a cleaner way of adding it, other than using this
build-helper?
On 1/11/06, dan tran [EMAIL PROTECTED] wrote:
http://mojo.codehaus.org/build-helper-maven-plugin/
On 1/11/06, Geoffrey [EMAIL PROTECTED]
are using antrun plugin to generate source, it can do that
for you
http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html
-D
On 1/11/06, Karthik V [EMAIL PROTECTED] wrote:
I need to add the sources generated thru xdoclet (its in a separate
folder).. is there a cleaner way of adding
generated files in the src
tree.
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 11, 2006 12:07
To: Maven Users List
Subject: Re: [m2] Unavoidable multiple source directories:
src/sandbox/java
I am using xdoclet from codehaus in the generate
In m2, how do I prevent some classes from being included to the final jar
file?
Also, I need to add some files (like the xmls generated by xdoclet) to the
jar. These files go to the generated-sources directory and not to the
src/main/resources. How do I add these to the final jar?
ok .. that 2nd question was silly .. i managed it ... pls help me wth the
1st one.
On 1/11/06, Karthik V [EMAIL PROTECTED] wrote:
In m2, how do I prevent some classes from being included to the final jar
file?
Also, I need to add some files (like the xmls generated by xdoclet) to the
jar
Below is a snippet from my m2 project pom. I used this fine in m1 (in the
form of project.properties) and generated source using xdoclet. But now, I
dont get a single java file, though I get some required xml files.
execution
phasegenerate-sources/phase
goals
a difference when I add the subfolder java when I use **/** ?
On 1/10/06, Karthik V [EMAIL PROTECTED] wrote:
Below is a snippet from my m2 project pom. I used this fine in m1 (in the
form of project.properties) and generated source using xdoclet. But now, I
dont get a single java file, though I get
: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 12:48
To: Maven Users List
Subject: Re: Trouble in generating source files
weird, but i found the answer myself ... changed the line
fileset dir=src/main
to
fileset dir=src/main/java
and it worked. What I dont
Has anyone seen this error n knows how to correct it ? ... please help.
On 1/4/06, Karthik V [EMAIL PROTECTED] wrote:
Hi,
I installed some jars into the repository using install:install-file. Now
I have this problem - every time I run mvn, I get the below error, each time
with some random
Oh .. thanks .. Could you tell me where to set it?
On 1/5/06, Dixit, Sandeep (ProSource Solutions)
[EMAIL PROTECTED] wrote:
I remember this error. It was to do with my proxy - username/password
-settings.
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Thursday
Any clue about this error?
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-inst
all-plugin' could not be retrieved from repository: central due to an error:
Err
or transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 8:49 AM
To: Maven Users List
Subject: Repository 'central' will be blacklisted -- any clue?
Any clue about this error?
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-inst
all
repository and try again. It has maybe become corrupted in some way.
Mike Perham wrote:
Maybe the remote machine is down. Try a mirror or in a few hours.
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 11:03 AM
To: Maven Users List
Subject
are seeing
different flavors of repository access failures.
The use of 'blacklisted' implies any further attempts will also fail.
Have we done something to warrant such persona non grata treatment?
It remains a mystery.
-Original Message-
From: Karthik V [mailto:[EMAIL PROTECTED]
Sent
someone tell me how it works?
On 1/5/06, Karthik V [EMAIL PROTECTED] wrote:
Guess what .. it started working now .. though I have no idea when it
might stop ... thanks for ur replies ..
On 1/5/06, Tim Davies [EMAIL PROTECTED] wrote:
I just tested this on my machine and had no problems
In maven 2, do I have a way to add jar files to repositories manually? I need a
few jars for my project that dont seem to be present in the maven 2 remote
repository. Instead of hunting down a url for it, I'd prefer using my local
copy. The repository folder in maven 2 seems to be different
-Dversion=1.0.2
-Dfile=activation.jar
-Dpackaging=jar
-DgeneratePom=true
For remote repositories there will in future be a deploy:deploy-file
equivalent but this is still in the snapshot at present.
regards,
TD
Karthik V wrote:
In maven 2, do I have a way to add jar
Hi,
I installed some jars into the repository using install:install-file. Now I
have this problem - every time I run mvn, I get the below error, each time
with some random module (it picks one of the modules I installed manually).
Please help me resolve this, and also tell me why I keep getting a
I too need help on using ejbdoclet and hibernate doclet in m2 ... I have a
working project done with m 1.0.2, but have to translate the
project.properties and maven.xml to m2. Can you please point me to some link
that gives more info? I've been desperately searching for this but I didn't
find any
Hi All,
I'm new to maven and xdoclet and I have a confusion in organizing my project. I
need to run ejbdoclet and hibernatedoclet on my source, then compile. After
this, I need to create 2 jar files, each of them containing some files from the
previous steps' output.
By default, one jar is
declaration
Hope this help!
On 1/3/06, Karthik V wrote:
Hi All,
I'm new to maven and xdoclet and I have a confusion in organizing my project.
I need to run ejbdoclet and hibernatedoclet on my source, then compile. After
this, I need to create 2 jar files, each of them containing some files
Please help me understand this stack trace .. got this while trying to run
ejbdoclet on a bunch of files...
Deploy TEMPLATE URL: jar:file:C:\Documents and
I'm new to maven. Trying to use maven 1.0.2 xdoclet:ejbdoclet on some ejb code
to generate home interfaces and compile them. I'm using fileset in
project.properties to compile only the files ending with Bean.java, and also
exclude some of these Bean files. My problem is, maven doesnt seem to
I'm going mad with this error. Not able to proceed at all. Can somebody help me
out? I'll give more details if needed.
Karthik V [EMAIL PROTECTED] wrote: Please help me understand this stack
trace .. got this while trying to run ejbdoclet on a bunch of files...
Deploy TEMPLATE URL
40 matches
Mail list logo