Hello,
I'm newbie in Maven. I make a very simple example for Maven, but meet a
trouble.The example as follows.
The example's direcotry layout is
D:\maven
|-- example
|-- pom.xml
|-- A
|-- pom.xml
|-- B
|-- pom.xml
|-- src
Sorry, I can't understand you really.
Why do you want to use the basedir?
What's your target? For example...
foxcoll wrote:
I have been doing some searching on this forum, and since there seems to
be no way of using a root directory, is there a way to use the basedir of
a module, or a
Alexander Sack-3 wrote:
I've just started using Maven2 with Eclipse
Hello,
Which eclipse plugin fo Maven2 do you use?
I downloaded Mergere's plugin(0.0.9), but it don't work.
:(
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
Continuum1.0.3 + Windows 2000
I installed a new Continuum, and run bin\win32\run.bat.
I got the result
SQL Exception: Failed to create database
'D:\continuum\bin\win32\..\..\apps\continuum/database', see the next
exception for details.
at
. Because the page don't refresh itself. I must click Show
projects, then the page turns to right.
jiangshachina wrote:
The matter is happened at first run, but it seems that all is ok at
second, third... run.
a cup of Java, cheers!
Sha Jiang
Emmanuel Venisse wrote:
They are false
Actually, you need to click Show Project, but I don't recommend to use the
refresh button of your browser.
Yes. If I click my browser's refresh button, my action will be send
repeatly.
a cup of Java, cheers!
Sha Jiang
Emmanuel Venisse wrote:
jiangshachina a écrit :
I'm so puzzled about
Hello,
I use mvn package for packaging.
In the archive file, there is a maven directory in MAET-INF, but that's
not my want.
How not to generate the directory?
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
setter nor field in
org.apache.maven.archiver.MavenArchiveConfiguration for 'addMavenDescriptor'
...
Wendy Smoak-3 wrote:
On 9/9/06, jiangshachina [EMAIL PROTECTED] wrote:
I use mvn package for packaging.
In the archive file, there is a maven directory in MAET-INF, but that's
not my want
Hi, Wendy
Thanks very much!
The problem disappeared.
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 9/10/06, jiangshachina [EMAIL PROTECTED] wrote:
The output is
...
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.0
Cause
Hello,
I have set localRepository parameter in Maven_Home/conf/settings.xml.
For install files, I use command
mvn install:install-file -Dfile=path-to-file -DgroupId=group-id
-DartifactId=artifact-id -Dversion=version -Dpackaging=packaging
Defaultly, the file will be install to local repository.
.
Wayne
On 9/10/06, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
I have set localRepository parameter in Maven_Home/conf/settings.xml.
For install files, I use command
mvn install:install-file -Dfile=path-to-file -DgroupId=group-id
-DartifactId=artifact-id -Dversion=version -Dpackaging
Hello,
I'm using Windows2K + JDK1.5.0_08
In JDK1.5.0, many items(package-summary, package-use, Class,
Constructor Summary ...) in Javadoc pages are Chinese characters.
If I directly use command javadoc in cmd window, all of javadoc generated
is OK.
But if I use mvn javadoc:javadoc for generating
Hello,
The problem disappeared.
I use UTF16 charset.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
configuration
charsetUTF16/charset
/configuration
/plugin
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
I'm using
Hi,
I added a Maven2 project with several moduels, and the M2 POM Url is right.
But an error thrown
Could not download file:/E:/path/pom.xml:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\continuum\path\pom.xml (cann't find the
specific system path)
But I'm so puzzled that I added another simple Maven2
Mergere's book Better Builds with Maven, appendix B.1 Standard Directory
Structure.
I don't understand some of directories. For example, src/main/filters and
src/main/assembly.
The descriptions in the book, the former is Standard location for resource
filters, and the latter is Standard location
. Under that directory, definitions of assembly are
put.
Adrian
-Original Message-
From: jiangshachina [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 7:04 PM
To: users@maven.apache.org
Subject: Puzzles on Standard Directory Structure?
Mergere's book Better Builds
Hi,
I think that Maven's document is not clear and not enough.
For example, I find the doc of puglin archetype at following link,
http://maven.apache.org/plugins/maven-archetype-plugin/create-mojo.html
The doc only shows what attributes I can set, but don't give me all of
values can be used for
Hi Wendy,
Thanks for you reply.
The links you gave me are very helpful.
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/28/06, jiangshachina [EMAIL PROTECTED] wrote:
For example, I find the doc of puglin archetype at following link,
http://maven.apache.org/plugins/maven
you might like, and then use
dependencies etc to bring in submodules etc to eventually build up a
larger project (ie WAR or EAR).
Wayne
On 10/28/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi Adrian,
Thanks for your reply.
I see a Sun recommended Java EE project directory structure
Hello,
Currently, I use an Eclipse plugin(WTP) to create a Web application.
And I use the plugin to export(deploy) the Web application to an
Web/Application Server(JBoss)'s deploy directory.
Then I can debug the application when the server is running.
The function is provided by the plugin.
If
to creating a assebly for use of
real deployment. Under that directory, definitions of assembly are
put.
Adrian
-Original Message-
From: jiangshachina [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 7:04 PM
To: users@maven.apache.org
Subject: Puzzles on Standard Directory
at 00:28 -0700, jiangshachina wrote:
Hello,
Currently, I use an Eclipse plugin(WTP) to create a Web application.
And I use the plugin to export(deploy) the Web application to an
Web/Application Server(JBoss)'s deploy directory.
Then I can debug the application when the server is running
get you off on the right foot.
Use mvn archetype:create to get a full webapp (war) structure created
for you to fill in.
Wayne
On 10/29/06, jiangshachina [EMAIL PROTECTED] wrote:
Web application project has following conventional directory structure.
myapp
|--pom.xml
|--LICENSE.txt
, jiangshachina [EMAIL PROTECTED] wrote:
I don't get directories src/main/filters and src/main/resources/META-INF
when I use the plugin.
My command is
mvn archetype:create -DgroupId=demo.mvn -DartifactId=demo
-Dversion=1.0-SNAPSHOT -DarchetypeArtifactId=maven-archetype-webapp
The archetype
Thanks very much!
I must care the section in Better Builds with Maven and the links your
gave me.
Best regards!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 10/29/06, Wendy Smoak [EMAIL PROTECTED] wrote:
In the first reply to your original message, Adrian referred to to a
jiangshachina wrote:
Hi Max,
I think remote debug local server(I'm using JBoss) would be OK.
But it there alternative approach for local debugging?
If use remote debugging, shall I re-config some parameters in web.xml or
other conf files?
Thanks!
a cup of Java, cheers!
Sha Jiang
Max Cooper
doesn't list the directory webapp in appendix B.1. Standard
Directory Structure.
Then I have the problem(released by my below attached letter), but it's not
factually :D
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hi Wayne,
I may not express my mind clearly.
Mergere's book Better
But I'm failed with the action.
I have an simple application project, and put MANIFEST.MF file into
directory
src/main/resources/META-INF
the file has an entry Main-Class
But Maven don't add the manifest automatically. I have to do following,
build
plugins
plugin
, cheers!
Sha Jiang
jiangshachina wrote:
But I'm failed with the action.
I have an simple application project, and put MANIFEST.MF file into
directory
src/main/resources/META-INF
the file has an entry Main-Class
But Maven don't add the manifest automatically. I have to do following
Of course, I can locate MANIFEST.MF to another directory.
I just be curious of why application project have not the trouble.
And I cannot use standard directory structure.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
I find another problem.
If the project is Web application
, cheers!
Sha Jiang
jiangshachina wrote:
Of course, I can locate MANIFEST.MF to another directory.
I just be curious of why application project have not the trouble.
And I cannot use standard directory structure.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
I find another
to this page for more info on using excludes:
http://people.apache.org/~aramirez/maven-resources-plugin/examples/include-exclude.html
Wayne
On 10/30/06, jiangshachina [EMAIL PROTECTED] wrote:
In Web application project, I want to put MANIFEST.MF into
main/resources/META-INF directory(it's the same
/MANIFEST.MF.
Why is this happening? And can I force the file to go into
{WAR}/META-INF/MANIFEST.MF like I want, rather than under
WEB-INF/classes?
Is that what you're trying to ask??
Wayne
On 10/30/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi Wayne,
I just think src/main/resources
, jiangshachina [EMAIL PROTECTED] wrote:
Hi Wayne,
I'm so sorry that I confused you :(
But I think you have understand my mind.
Your thinking is compatible with my question.
instead of this file going into {WAR}/META-INF/MANIFEST.MF as I'd
expect
based on
the JAR File specifications, the file
Hello Jeff,
I think it's really a trouble.
But all will be OK, I'm sure of that.
Best Regards.
a cup of Java, cheers!
Sha Jiang
Jeff Mutonho wrote:
Is maven in the process of unintentionally killing itself due to poor
support and documentation?I may be wrong but I strongly feel that the
myapp
|--pom.xml
|--LICENSE.txt
|--README.txt
|--target/
|--src/
|--main
|--java/
|--webapp/
|--WEB-INF/
|--resources/
Maven recommends Application/Library resources should be located at
resources.
And when run mvn package, the
as the
default output folder
Hermod
-Opprinnelig melding-
Fra: jiangshachina [mailto:[EMAIL PROTECTED]
Sendt: 2. november 2006 06:47
Til: users@maven.apache.org
Emne: Eclipse knows resources dir?
myapp
|--pom.xml
|--LICENSE.txt
|--README.txt
|--target/
|--src
Hello,
My web projects needs Apache commons-configuration.
I added commons-configuration to my dependency.
After run mvn package, too many jar files were added into WEB-INF/lib
directory.
But I found many jars(e.g. xalan-2.7.0.jar) out of the list, which lists
commons-configuration's runtime
can help me?
How can I do?
jiangshachina wrote:
Hello,
My web projects needs Apache commons-configuration.
I added commons-configuration to my dependency.
After run mvn package, too many jar files were added into WEB-INF/lib
directory.
But I found many jars(e.g. xalan-2.7.0.jar) out
/jar2,
/warSourceExcludes
/configuration
/plugin
/plugins
/build
Checkout : http://maven.apache.org/plugins/maven-war-plugin/index.html
jiangshachina wrote:
I have another question.
In Web application project, generally, class files would be located at
WEB
Up to now, I just see the project structure as following,
project-super
|--pom.xml
|--project-app
|--pom.xml
|--content of project-app
|--project-webapp
|--pom.xml
|--content of project-webapp
|--project-ejb
|--pom.xml
|--content of
pom.xml?
jiangshachina wrote:
Hi Dmystery,
Thanks for your help.
I'm sorry that I cannot success with your
instructions.
And I also read the guide on maven-war-plugin,
especially at
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
your mind as above?
a cup of Java, cheers!
Sha Jiang
Arnaud Bailly-3 wrote:
jiangshachina [EMAIL PROTECTED] writes:
Can I have more deep structures?
And can I have any content between projects, expects pom.xml?
For instance,
project-super
|--pom.xml
|--other content of project
Hello guys,
Can I add Maven pom tags into Eclipse?
Then I would get content assist when I'm writing pom.xml in Eclipse.
The same as that about Ant build.xml.
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
note that the plugin version is 2.0.1
jiangshachina wrote:
Hi,
I used the following scripts(for example, I didn't want dom4j-1.4.jar),
and had a success.
dependency
dependency
groupIdcommons-configuration/groupId
artifactIdcommons-configuration
jar will continue to exist in that folder.
jiangshachina wrote:
Dear Dmystery,
The following is new pom.xml with your instructions,
project
parent
groupIdce.demo/groupId
artifactIddemo/artifactId
version1.0-SNAPSHOT/version
/parent
Hi guys,
I'm trying to use customized directory structure.
The following is my pom scripts(part),
build
finalNamewebapp/finalName
directorytarget/directory
sourceDirectorysrc/java/sourceDirectory
outputDirectorytarget/classes/outputDirectory
plugins
I find only unit test codes could be putted into dir testSourceDirectory, or
Maven would say No Java test frameworks found.
Can I put non-test codes into the diretory?
How to config?
Thanks!
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
From another view, can maven-surefire-plugin do this work, run test classes
and skip non-test classes?
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
I find only unit test codes could be putted into dir testSourceDirectory,
or Maven would say No Java test frameworks found.
Can I
I checked the matter again.
I added junit jar file to dependencies, then the problem is resolved.
I ever thought that junit is depended automatically(implicitly).
a cup of Java, cheers!
Sha Jiang
Arnaud Bailly-3 wrote:
jiangshachina [EMAIL PROTECTED] writes:
From another view, can maven
I see.
Sometimes, I may have some non-JUnit codes. The codes also have testing
functions, but aren't used for final application.
I just put them into test source directory.
a cup of Java, cheers!
Sha Jiang
franz see wrote:
Good day to you, jiangshachina,
You can put anything you want
Generally, in Web application project, the Java class files would be put into
WEB-INF/classes folder.
Now, I want the classes to be archived and putted into WEB-INF/lib folder.
And the classes should be classified and putted into different
sub-directories under WEB-INF/lib respectively.
For
November 2006 11:12, jiangshachina wrote:
Generally, in Web application project, the Java class files would be put
into WEB-INF/classes folder.
Now, I want the classes to be archived and putted into WEB-INF/lib
folder.
And the classes should be classified and putted into different
sub-directories
overlaying. It will unpack the dependent WARs into work
directory and then merge your webapp with those files.
http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html
Wayne
On 11/4/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi guys,
I'm trying to use customized directory
;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
Then you will get it
Hermod
-Original Message-
From: jiangshachina [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 4
to cumulate some experience for building pom file.
Some general format used for writing pom.xml aren't clearly shown by the
docs.
a cup of Java, cheers!
Sha Jiang
franz see wrote:
Good day to you, jiangshachina,
IIRC, the eclipse' content assist on XML is plugin specific. So as to
where
/index.html
jiangshachina wrote:
Hello franz,
Thanks for your warm heart.
IIRC, the eclipse' content assist on XML is plugin specific. So as to
where it downloads
it (assuming it does) depends on the plugin.
I have search any directory the file potentially located. But nothing is
interesting
In my mind,
build
finalNamefinalName/finalName
/build
the configuration just affect output file(jar, war, etc.) at target
directory.
If install or deploy the project, the final name still is
artifactId-version.
The format is specified by Maven.
a cup of Java, cheers!
Sha Jiang
Laura
Hello,
I want to add some resource files into sub-directory of WAR/WEB-INF,
I'm using following scripts,
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
version2.0.1/version
Oh,
I just found that webResources/resource may don't work at 2.0.1, it's 2.1
feature.
please see,
http://www.nabble.com/Re%3A-incorrect-war-file-structure-p5717762s177.html
Then how can I achieve the goal without maven-war-plugin 2.1-SNAPSHOT?
a cup of Java, cheers!
Sha Jiang
jiangshachina
directory, why Maven can recognize it?
Maven see the directory as what?
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Oh,
I just found that webResources/resource may don't work at 2.0.1, it's 2.1
feature.
please see,
http://www.nabble.com/Re%3A-incorrect-war-file-structure-p5717762s177
, 2006-11-06 at 20:18 -0800, jiangshachina wrote:
Hello,
I want to add some resource files into sub-directory of WAR/WEB-INF,
I'm using following scripts,
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
Hello,
I'm using customized project directory structure.
To standard Maven Web application project, when run mvn package,
a folder generated at directory target, the folder includes all of
files/dirs would be archived to war file.
I call the folder pre-archived directory :D
I customized three
.
Really, I don't understand webappDirectory well, too.
How to explain the parameter?
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
I'm using customized project directory structure.
To standard Maven Web application project, when run mvn package,
a folder generated at directory
is undesirable for a number of reasons,
mainly relating to the mixing of source and build artifact files in the
same directory structure.
maven-war-plugin usage doc:
http://maven.apache.org/plugins/maven-war-plugin/usage.html
-Max
jiangshachina wrote:
Oh, I may find the problem.
I shall use
Hello,
With Maven standard directory structure, resources relative to Java source
codes are located at src/resources.
Now I'm using Hibernate. Generally, a Hibernate xml file directly adheres to
its domain Java class.
For example,
src
|--java
|--myapp
|--demo
Hi,
See also: http://maven.apache.org/general.html#tools-jar-dependency
System scope isn't recommended by Maven.
Using repository is standard way.
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 11/7/06, Dudu [EMAIL PROTECTED] wrote:
I need to use the tools.jar of the lib
Hello,
As far as I know, artifactId doesn't include '.' and indicates the project
work.
Then how about groupId?
As package naming spec, we use the format:
org.apache.realProject.innerPackage...
We can regard org.apache as groupId, realProject as artifactId.
But at Maven central repository,
-3 wrote:
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote:
With Maven standard directory structure, resources relative to Java
source
codes are located at src/resources.
Now I'm using Hibernate. Generally, a Hibernate xml file directly adheres
to
its domain Java class.
...
Some
!
Sha Jiang
Wendy Smoak-3 wrote:
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote:
But at Maven central repository, http://www.ibiblio.org/maven2/
I don't find any accurate regular.
For example, Apache Commons projects aren't grouped as org.apache, or
org.apache.commons, or apache.commons
, because I used mvn eclipse:eclipse to create
Eclipse project.
Maybe I didn't clean the content of the project firstly.
Maybe... I don't know.
What only I can make sure is I set some things wrong..
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Another,
I'm using customized directory
webapp
|--WEB-INF
|--lib
|--classes
|--web.xml
The following is my want,
WAR
|--WEB-INF
|--lib
|--classes
|--resource
|--resource.txt
|--web.xml
Thanks!
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
I
Oh Dennis,
http://mvnrepository.com/
The site is very helpful.
Thanks very much!
a cup of Java, cheers!
Sha Jiang
dennisl-2 wrote:
Check out this site:
http://mvnrepository.com/
--
Dennis Lundberg
jiangshachina wrote:
Hello,
I think Maven official should give a tree list
--- Dmystery [EMAIL PROTECTED] schrieb:
This should definitely remove all the unwanted
dependencies. Even if they are
dependencies of a dependency. I'm doing the same
thing to remove all the
unwanted files.
Can you post your pom.xml?
jiangshachina wrote:
Hi Dmystery,
Thanks for your help
Or I have to use Ant scripts with maven-ant-plugin?
That's not my want :(
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
I have tried maven-assembly-plugin, but it seems that the plugin cannot
help me.
maven-assembly-plugin would create a new product(specified by format
, you can use maven-assembly-plugin (see [1] for the released
plugin documentation, and [2] for the staged unreleased plugin
documentation)
Cheers,
Franz
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
[2] http://people.apache.org/~epunzalan/maven-assembly-plugin/
jiangshachina
into one jar file.
I expect to classify the classes and archive them into different jar files.
I may have strange requirement :-)
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
Now, my requirement is following,
I want
into different jar files very easily.
Wayne
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi Wendy,
There is a configuration option to do this in the war plugin itself.
See 'archiveClasses' here:
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
That really is a pretty
reasons to use excludes, but these are
a few I've run into myself in the last few months...
Wayne
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote:
Automatically importing dependencies of dependencies is a great feature.
But users have to know the dependency hierarchy, or we cannot exclude
is my want, then I can set dependencies
exactly.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Dear Wayne,
I have encountered some of the reasons you gave.
But the reason why I release the topic is very simple :D
I just think so many jar files are put at WEB-INF/lib would confused
Hi,
I have known that a project can depend on artifacts.
The artifact can be pom or jar, and ear project can depend on war or ejb.
Now, how about other files(e.g. xml)?
Assumely, I have two Web application projects, the one wants to use some
configuration files of the other one.
How can I achieve
the directory to somewhere? ...
I find nothing is interesting :(
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Mergere's book Better Builds with Maven, appendix B.1 Standard
Directory Structure.
I don't understand some of directories. For example, src/main/filters and
src/main
, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
I have an idea, can I install jar files to local repository, and don't
use
the artifacts at central repository?
I just use different groupId, but artifactId and version aren't changed.
Namely, before start a project, I install the dependencies
build-helper-maven-plugin for deployment.
-D
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi,
I have known that a project can depend on artifacts.
The artifact can be pom or jar, and ear project can depend on war or ejb.
Now, how about other files(e.g. xml)?
Assumely, I have two
Hi dan,
Thanks, I'll care the plugin.
But its examples are very simple, the plugin would take me some time.
a cup of Java, cheers!
Sha Jiang
dan tran wrote:
the plugin also allows you to attach arbitrary artifact to maven to be
deployed.
-
On 11/9/06, jiangshachina [EMAIL PROTECTED
open source code
library and so you literally have a different artifact than what is
being delivered by Central.
Wayne
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
I have an idea, can I install jar files to local repository, and don't
use
the artifacts at central
on Maven continuously.
All will be OK, I'm sure of that.
Thanks!
a cup of Java, cheers!
Sha Jiang
Wendy Smoak-3 wrote:
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
Undoubtedly, Maven central repository is crucial.
My question just be why so many unessential artifacts are added to pom
and completed your project with the configuration you are looking
for etc?
Wayne
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi dan,
Thanks, I'll care the plugin.
But its examples are very simple, the plugin would take me some time.
a cup of Java, cheers!
Sha Jiang
dan tran wrote
://mojo.codehaus.org/build-helper-maven-plugin/howto.html
a cup of Java, cheers!
Sha Jiang
dan tran wrote:
ummm, not sure what is blocking you ;-) the build-helper-maven-plugin's
usage?
-D
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi Wayne,
I think if try my best the goal would
/execution
/executions
/plugin
but option 2 is way complicated ;-) use option 1 instead.
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
Hello Dan,
ummm, not sure what is blocking you ;-)
the build-helper-maven-plugin's usage?
Yes
Hello guys,
I suddenly have a virtual case just in mind.
There are two projects, A and B, each of them depends on the other one.
How do Maven to deal with the dependency cycle?
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
on A, then B want A to be installed at repository, too.
The cycle can not be resolved.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello guys,
I suddenly have a virtual case just in mind.
There are two projects, A and B, each of them depends on the other one.
How do Maven to deal
Hi Ed,
I tried the download site just now
http://www.mergere.com/m2book_code.jsp
but all is OK.
You can try again. Good luck!
a cup of Java, cheers!
Sha Jiang
Ed Young wrote:
The links have been down all week, but I didn't email or call them
until Friday. Oh, well.
Anyone have them
Hello,
configuration
source1.5/source
target1.5/target
/configuration
If that's true, I'm confused by the settings.
Why Maven(or javac) can compile sources to 1.5-compatible classes at
1.4.2JRE(or 1.4.2 javac)?
In order to fulfil the requirement, I think must install JDK1.5 firstly.
, otherwise it defaults to 1.4
classes with the 1.5 JRE.
Wayne
On 11/11/06, jiangshachina [EMAIL PROTECTED] wrote:
Hello,
configuration
source1.5/source
target1.5/target
/configuration
If that's true, I'm confused by the settings.
Why Maven(or javac) can compile sources to 1.5
wrote:
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote:
I may have known the goal of src/main/assembly(assembly descriptor files
used by maven-assembly-plugin).
Now I want to ask what files should be put at src/main/conf?
It seems that the folder would include configuration files, but which
!
Sha Jiang
Wendy Smoak-3 wrote:
On 11/12/06, jiangshachina [EMAIL PROTECTED] wrote:
Oh, that's means that the directories just are recommended by Maven, but
Maven does nothing for it as default.
It probably means that during the design discussions, someone thought
a 'conf' directory would
Hi guys,
I have saw some guides like the following,
http://maven.apache.org/guides/mini/guide-assemblies.html
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptorsrc/main/assembly/dep.xml/descriptor
/configuration
/plugin
Why can not set groupId and
of this pom might be using pluginManagement. To know more
http://maven.apache.org/pom.html#Plugin%20Management
jiangshachina wrote:
Hi guys,
I have saw some guides like the following,
http://maven.apache.org/guides/mini/guide-assemblies.html
plugin
artifactIdmaven-assembly-plugin/artifactId
On 11/13/06, jiangshachina [EMAIL PROTECTED] wrote:
Hi guys,
I have saw some guides like the following,
http://maven.apache.org/guides/mini/guide-assemblies.html
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptorsrc/main/assembly/dep.xml/descriptor
1 - 100 of 231 matches
Mail list logo