Hi Maria Odea Ching-2,
I think the two plugins are used by command mvn install:install-file or
mvn deploy:deploy-file exactly.
a cup of Java, cheers!
Sha Jiang
Maria Odea Ching-2 wrote:
Hi Sam,
You can use the maven-install-plugin (install:install-file goal) to
install a 3rd party jar
Hi,
I have used mvn deploy:deploy-file to deploy the 3rd party jars,as a
result,It can also deploy the jars into the local repo .
2007/2/8, jiangshachina [EMAIL PROTECTED]:
Hi Maria Odea Ching-2,
I think the two plugins are used by command mvn install:install-file or
mvn
Include addClasspathtrue/addClasspath element to manifest
configuration if not allready done.
Package deliverable zip file witch have all these classpath dependency
jars with assembly plugin.
- markku
Jane wrote:
Hi, markku,
Thanks for your reply.
Maybe the reason is like 1 just you
Dear 秋秋,
Glad to see you!
In my memory, you sent a mail to me about Maven several days ago.
I'm a newbie user on Maven, too. we may discuss some matters on the topic.
In my eyes, Maven isn't used widely in China.
I have released some simple articles about Maven at blogjava.net,
if you like, you
Hello,
It can also deploy the jars into the local repo
Of course. Local repo is the first.
a cup of Java, cheers!
Sha Jiang
秋秋 wrote:
Hi,
I have used mvn deploy:deploy-file to deploy the 3rd party jars,as a
result,It can also deploy the jars into the local repo .
2007/2/8,
HI,
My friend jiangsha,I feel the same way about maven in china,I have
studied maven for three week,Because our company is going to use maven to
manage the project in the next project.So I am in charge of integrate the
maven with the architecture of our company.I have
on csdn,but it seems like
Hi,
I have studied maven for three week,
Because our company is going to use maven to
manage the project in the next project.
I think your company and you should evaluate Maven carefully before any real
work starting.
Undoubtedly, Maven is great, but it may not be your first choice(at least
Hi,
thanks for your advice,and I feel the same about maven,I think maven is a
half-baked tools,although It is very powerfull. It is not for me to say if
using maven in next project , our Technical Director has decided.For the
time being ,we just use maven for manage the dependency,site for
Hello,
For the time being ,we just use maven
for manage the dependency,site for project
infomation,and build the jar and war
I think your requirement is very simple, it really can be achieved.
Good Luck!
a cup of Java, cheers!
Sha Jiang
秋秋 wrote:
Hi,
thanks for your advice,and I
Hello,
I am trying to add some integration tests for a plugin I wrote, using
MavenEmbedder. When running the test, I got the following impressive
exception trace:
---
Test set: oqube.patchwork.it.PatchworkMavenTest
The result of my ant build is an exploded ear, which is then jarred into an
ear.
When i use the buil-help-maven-plugin,to attach this ear to the maven module
for this component, I get following error:
[INFO] Building jar: /home/jo/projects/ystr/trunk/trax-ear/target/trax-
ear-3.2-SNAPSHOT.ear
Hi,
I would like to be able to perform an SCP or FTP copy of a file to a
remote server after a deploy, but not a repository just to the normal
file system. So it would be deployed to our internal repository and
then distributed externally. We are looking to have seperate profiles
for the
Hi again..
Forgot to include the plugin snippet of the pom.. Maven version is 2.0.4..
Cheers
Jo
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
executions
execution
what is the packaging for your project ?
On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
Hi again..
Forgot to include the plugin snippet of the pom.. Maven version is 2.0.4..
Cheers
Jo
plugin
groupIdorg.codehaus.mojo/groupId
It has ear packaging..
On 2/8/07, Tom Huybrechts [EMAIL PROTECTED] wrote:
what is the packaging for your project ?
On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
Hi again..
Forgot to include the plugin snippet of the pom.. Maven version is 2.0.4
..
Cheers
Jo
plugin
Hi all,
I have made some plugins. It is convenient to have them as snapshots for a
while. However when I use a snapshot plugin I get the error below. This works
for snapshot plugins from codehaus, which makes me belive that there is some
other problem.
I have to build this plugin locally and
I'm just guessing here: build-helper only works with attached
artifacts (adding a classifier to the config will probably solve this
but that's not what you want).
Can you have your ant build write its output to where maven would
normally put it ? Then you don't need to do configure anything...
Hi Tom,
Smart thinking.. I could change the output directory.. Would that just be
the target/ folder then?
Is there a maven property for maven's output directory that I can pass to
the ant build?
Thanks
Jo
On 2/8/07, Tom Huybrechts [EMAIL PROTECTED] wrote:
I'm just guessing here:
Hello to everyone,
I use the Maven 2.0.4 Eclipse Plug-in 0.0.5 and Subclipse 1.0.5 and
encountered the following error message at start-up of Eclipse 3.2.1:
08.02.07 11:26:51 CET: [DEBUG] Found 0 components to load on start
08.02.07 11:26:51 CET: [DEBUG] Building Maven user-level plugin
The name of the output file is
${project.build.directory}/${project.build.finalName}.ear or something
similar
On 2/8/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
Hi Tom,
Smart thinking.. I could change the output directory.. Would that just be
the target/ folder then?
Is there a maven property
Hello,
I'm looking for a mean that block (or ask) the deployement of a released
artifact if a released version already exist
in the remote repository.
This is for avoiding the erasing of an already relased version in case I forgot
to increment the version of the Maven
project.
Thanks,
Philippe
Hi All,
I've installed the latest version of archiva from svn trunk. Further i have
setup a local repo releases and a proxy central which works fine as long
as all request files are available at ibiblio (central). But when i try to
retrieve a non existing file a got a HTTP 500 error instead of a
Philippe,
Use the maven-release-plugin
(http://maven.apache.org/plugins/maven-release-plugin/). It does everything
you need to release your artifacts, including automatically incrementing
your version to the next SNAPSHOT release, tagging your release and building
the release for you.
Regards,
Hi,
I would like to provide my own codegen-config.properties for the
axis2-wsdl2code-maven-plugin.
Looking at the sources I found out that the location of the properties
file can be set via a system property
org.apache.axis2.codegen.config
As far as I can see the value of the property has
On 12/01/07, Terry C Martin [EMAIL PROTECTED] wrote:
I have an application in which I make use of AspectJ Load-time-weaving to
inject pojos with services from Spring. I have some integration tests which
test that the pojo is able to be injected and collaborate with the injected
service
George Berger wrote on Wednesday, February 07, 2007 5:02 PM:
I'm trying to use the war overlay feature of maven-war-plugin
to include some
common JSPs (e.g. common header and footer files) in multiple
projects, but I also want to use jspc-maven-plugin to precompile the
project JSPs.
The maven and codehaus ones are the same plugin. The maven one is newer.
-Original Message-
From: jiangshachina [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 1:36 AM
To: users@maven.apache.org
Subject: Re: additional classpath to maven2
Hi,
I ever used
Hello,
I'm looking for a mean that block (or ask) the deployement of a released
artifact if a released version already exist
in the remote repository.
This is for avoiding the erasing of an already relased version in case I forgot
to increment the version of the Maven
project.
Thanks,
Philippe
It seems that the createChecksum parameter of install:install-file does
not work at all. I have set -DcreateChecksum=true and no checksums are
generated. Can someone please confirm this?
Thanks.
Naresh
I am familiar with CruiseControl and Continuum. Can I define custom
fields in the build status view?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08, 2007 1:44 AM
To: Maven Users List; users@maven.apache.org
Cc: Morgovsky, Alexander (US
Good afternoon,
How can I create a full website for a project and its modules with the
site-plugin?
I've added the plugin to the build cycle in the parent project (pom
packaging).
When I generate the site using site:stage, only the site for the parent
project is written to the staging directory.
Good day to you, Arnaud,
Just a hunch
The Symptom:
Somewhere along the stacktrace, a component failed to get composed because
of a NoClassDefFoundError exception.
Solution:
I think the expected transitive dependency was broken. You may want to
declare the binary containing the
franz see wrote:
Good day to you, CG,
AFAIK, there's none.
If you want, you can remove your profile from the activeProfiles section,
and add to your profile something like this
...
activation
property
name!exclude-this-profile/name
/property
/activation
...
I tried profile
Good day to you, CG,
May I ask for a snippet of your settings where you used the activation, the
maven command you used ( i.e. mvn install ), and what made you say that it
did not work? :)
Those info would help in determining why it did not work :)
Thanks
Franz
Christian Goetze-3 wrote:
Good day to you, Jane,
Maybe you only had the jmf installed in your machine and not declared as a
dependency ( you can check your dependencies by doing mvn
project-info-reports:dependencies and opening
target\site\dependencies.html...either that or the easier to remember mvn
site then open
Good day to you, Jane,
For a war ( assuming you delcared your packaging as war ), all your
dependencies ( except dependencies with the scope provided ) would be
copied to WEB-INF\lib automatically, before assembling the war.
So that's
project
groupId.../groupId
artifactId.../artifactId
franz see wrote:
Good day to you, CG,
May I ask for a snippet of your settings where you used the activation, the
maven command you used ( i.e. mvn install ), and what made you say that it
did not work? :)
Those info would help in determining why it did not work :)
Ok. Here's what I tried
franz see wrote:
Good day to you, CG,
May I ask for a snippet of your settings where you used the activation, the
maven command you used ( i.e. mvn install ), and what made you say that it
did not work? :)
Those info would help in determining why it did not work :)
The negative activation
Jörg Schaible wrote:
Can't you simply exclude the web.xml from the overlay?
plugin
artifactIdmaven-war-plugin/artifactId
configuration
dependentWarExcludesWEB-INF/web.xml/dependentWarExcludes
/configuration
/plugin
- Jörg
Hi Jörg -
Thanks for the
Hi Guys,
Please suggest where should I start to find the reason for the following
error:
[INFO] Internal error in the plugin manager getting plugin
'org.apache.servicemix:build': Failed to create plugin contai
ner for plugin '[EMAIL PROTECTED]': Error starting
container
The system cannot find
Hi,
I forgot to mention that I want to use a local repository and a remote
SVN. I editet the settings.xml in .m2/ as following:
...
profiles
profile
iddefault/id
repositories
repository
idpackcs/id
nameRepository for MSS builds/name
Hi, i met the same problem, you will find a patch in attatchment which
resolve this issue.
The patch catch all ResourceDoesNotExistException in the ProxiedDavServer
class.
Bye
On 2/8/07, Marc Wilhelm [EMAIL PROTECTED] wrote:
Hi All,
I've installed the latest version of archiva from svn
You should probably talk to the ServiceMix people about this problem,
since its their project, their pom.xml files and source code, and
their build process. Unless there's a ServiceMix developer here on the
Maven Users list, our responses will be mostly speculation.
(From the stacktrace, it
Hello,
I'm looking for a mean that block (or ask) the deployement of a released
artifact if a released version already exist
in the remote repository.
This is for avoiding the erasing of an already relased version in case I forgot
to increment the version of the Maven
project.
Thanks,
Philippe
Hi,
I'm looking for the best way to configure log4j for my EAR. I currently
have all my library jars (including log4j.jar) in EAR/APP-INF/lib and
figured out that having log4j.properties in EAR/APP-INF/classes will
actually make it visible to all application modules.
Now, the funny thing is, i
Dawn,
Thanks for your help. But, what about transitive dependencies?
Kind Regards
On 2/8/07, dawn.angelito [EMAIL PROTECTED] wrote:
Hi Marcos,
Instead of doing that, try this:
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
On 2/7/07, Jörg Schaible [EMAIL PROTECTED] wrote:
Hi Tommy,
Tommy Knowlton wrote on Thursday, February 08, 2007 3:30 AM:
On 2/7/07, Jörg Schaible [EMAIL PROTECTED] wrote:
Tommy Knowlton wrote on Tuesday, February 06, 2007 11:19 PM:
Is this a bug in the code that resolves ${project}
Hi,
Put it in src/main/application/.
-Ian
Manos Batsis wrote:
Hi,
I'm looking for the best way to configure log4j for my EAR. I currently
have all my library jars (including log4j.jar) in EAR/APP-INF/lib and
figured out that having log4j.properties in EAR/APP-INF/classes will
actually make
franz see [EMAIL PROTECTED] writes:
Good day to you, Arnaud,
Good day to you too Franz,
Solution:
I think the expected transitive dependency was broken. You may want to
declare the binary containing the NoClassDefFoundError class as a direct
dependency of your project. ..also, you may
Good day to you, George,
My guess is that maven got confused since you declared maven-war-plugin
twice in the build section. You may want to combine both execution under one
plugin and differentiate one from the other by using an id/.
Something like this...
build
plugins
plugin
Hi,
I think you should declare another proximity hosted repository in your POM.
It is quite likely that you have some other repo (eg. inhouse) where
your parent pom resides, but m2 does know about it nothing (as far as
i see from your log excerpt).
Hope helps,
~t~
On 2/8/07, [EMAIL
Good day,
There are two issues left for 2.0.5. Feel free to speed things up :)
Cheers,
Franz
[1]
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=10500fixfor=12294
Adam Lewis-7 wrote:
My guess is around the one
Good day to you, CG,
That is true. Properties of profiles in the settings.xml cannot be activated
by properties in the POM.
Cheers,
Franz
Christian Goetze-3 wrote:
franz see wrote:
Good day to you, CG,
May I ask for a snippet of your settings where you used the activation,
the
maven
Alexander:
You might be able use a different labelincrementer for CruiseControl, which
will report on this automatically.
http://cruisecontrol.sourceforge.net/main/configxml.html#labelincrementer
http://cruisecontrol.sourceforge.net/main/configxml.html#labelincrementer
It will not extract the
My guess is around the one year anniversary of 2.0.4.
On 2/6/07, Thierry Lach [EMAIL PROTECTED] wrote:
Any idea when Maven 2.0.5 will be released?
It's depending of your server.
If you are using an Unix-like server, you can certainly set the rights to
readonly in the artifact plugin for maven 1, or in the deploy plugin in
maven 2.
M2 :
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
M1 :
Hi,
I have found out that this is a bug with wagon and has been resolved in the
beta 1.02 version. How do I tell my current versiion of Maven to use this
new version? Is there another workaround?
thanks in advance,
Richard
--
View this message in context:
-- I think you should declare another proximity hosted repository in
your POM.
Thank you. When I reinstalled maven I didn't add the repository that
denoted our inhouse repo.
-- but m2 does know about it nothing
That leads me to another question. Proximity fronts all of our
repositories, both
I am using Antlib for Maven 2.0 to install bunch of jar files to my
local maven repository. Is there any way to specify the version number
of these jars in my ant task instead of the pom files? The reason I ask
is that the version nuber is available in my ant script at the time of a
build, whereas
Hi,
On 2/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
-- I think you should declare another proximity hosted repository in
your POM.
Thank you. When I reinstalled maven I didn't add the repository that
denoted our inhouse repo.
So i believe it helped :)
-- but m2 does know about it
-- So I believe it helped :)
It certainly did. Now I am just trying to understand the repository
configuration a little bit better so I don't have these issues in the future.
-- I will presume you use the latest RC7 of it and with default
(factory) configuration. It would suffice in
In short: you are in trouble :)
alpha-1 was so long time ago, and it introduced some (very big)
problems just about repo handling :(
The Proximity is currently RC7 (i know, i know, alpha-1 and RC7),
but some major problems were solved in RC5 or 6 (if i remeber)...
versions before those
-- I warned You.
I feel like I just read the label on a pack of cigarettes. Apparently the only
think that the alpha won't do is cause serious bodily harm ;)
Downloading RC7 now.
Carlos
-Original Message-
From: Tamás Cservenák [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 08,
Hi,
We have a multi project based on maven 2.0.4, I would like to add the
javadoc comments of our unit test code to the project's javadoc report.
Every subproject's (aka module) has the standard maven directory layout.
We use maven-javadoc-plugin versioin 2.2.
I have tried to use this, but it
franz see wrote:
Good day to you, George,
My guess is that maven got confused since you declared maven-war-plugin
twice in the build section. You may want to combine both execution under
one plugin and differentiate one from the other by using an id/.
Something like this...
Searching my Gmail archive, this was covered back in Oct 2006. You
should be able to find this email thread in Nabble.com.
to users@maven.apache.org
date Oct 27, 2006 4:51 PM
subject Re: How do I generate test javadocs?
Wayne
On 2/8/07, Erez Nahir [EMAIL PROTECTED] wrote:
Hi,
We have a
Does it give you this error message when you invoke maven from the command line?
On 2/8/07, Jan-Oliver Wuelfing [EMAIL PROTECTED] wrote:
Hello to everyone,
I use the Maven 2.0.4 Eclipse Plug-in 0.0.5 and Subclipse 1.0.5 and
encountered the following error message at start-up of Eclipse 3.2.1:
Hi, I'm doing a hibernate project where we set up a package-info.java
file that looks like this
@org.hibernate.annotations.NamedQueries( {
@org.hibernate.annotations.NamedQuery(name = someQuery, query =
from User u),
})
package some.package;
The annotation is at the top, the
HI,
where is the introduction about jboss-maven-plugin on the site of maven
?I'd like having a look.
Remove the last comma before the }) tokens.
Eric
On 2/8/07, David Ford [EMAIL PROTECTED] wrote:
Hi, I'm doing a hibernate project where we set up a package-info.java
file that looks like this
@org.hibernate.annotations.NamedQueries( {
@org.hibernate.annotations.NamedQuery(name =
http://mojo.codehaus.org/jboss-maven-plugin/
On 2/8/07, sam [EMAIL PROTECTED] wrote:
HI,
where is the introduction about jboss-maven-plugin on the site of
maven
?I'd like having a look.
--
Eric Redmond
http://codehaus.org/~eredmond
Hi Naresh,
What version of the install plugin are you using?
I've tried to build the plugin from source and installed it locally then
I did mvn install:install-file with
createChecksum=true and it worked out fine. The checksums were created
in my local repo.
Maybe you just need to update your
Hello,
What plugin does the package life sycle use?
That depends on which package do you make.
jar -- maven-jar-plugin
war -- maven-war-plugin
ear -- maven-war-plugin
...
You can find main Maven plugins at the following site,
http://maven.apache.org/plugins/
a cup of Java, cheers!
Sha Jiang
Hello,
I have the same problem.
I'm using Maven2.0.4 and the version of my maven-install-plugin is 2.1.
Factly, if I deploy an artifact to remote repository,
the checksum files will be created and stored at remote repository.
But the checksum files still don't exist in local repository.
What's
Sorry, I made a mistake
ear -- maven-war-plugin
the upper words must be changed to ear -- maven-ear-plugin.
a cup of Java, cheers!
Sha Jiang
jiangshachina wrote:
Hello,
What plugin does the package life sycle use?
That depends on which package do you make.
jar -- maven-jar-plugin
On 2/8/07, sam [EMAIL PROTECTED] wrote:
What plugin does the package life sycle use?
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
package is a phase in the default lifecycle
Phases don't use plugins, instead plugins are bound to lifecycle phases.
As
Maven is working beautifully for us...we are building code, packaging, and
deploying to our proximity repository server. Does the Maven team know of any
tools that are built around getting artifacts from an HTTP URL and then SCPing
the file to a remote machine and running some command lines?
I
77 matches
Mail list logo