Can I build tow or more jar in a project by maven-jar-plugin?

2007-08-02 Thread sam
HI , I have used maven2 for several month,I finded maven can't satisfy my requirements,eg.:Can maven build tow or more jar package for a project?And maven can't take out some classes file which is compiled by itself when it build a jar package,Some times I don't want to pack all the classes

Re: Can't deploy site,Help please.

2007-02-06 Thread sam
Hi, yes,I have solved the issue by used file:///path/to/deployment/dir*, * thanks. 2007/2/6, Tim Kettler [EMAIL PROTECTED]: Hi, the URL you give in the distribution management section is the HTTP URL of your projects site. To deploy it you need to specify a valid deployment URL. This

How to deploy the jar of third party into the repository on our company's server?

2007-02-07 Thread sam
HI, I have set up a repository on our company's server by apache,the url is http://10.10.202.22/maven/, How does the maven know there is a repository on the server?and How can I deploy my jar of third party into my local repository and the server repository?

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-07 Thread sam
Hi, thanks,where are you from ?It looks like we come from the same place. 2007/2/8, jiangshachina [EMAIL PROTECTED]: Hello, Some guides are available at Maven main site, [1]installing 3rd party JARs http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html [2]deploying 3rd party

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-07 Thread sam
HI, jiangsha,I am from shenzhen,It is a pleasure to meet you! 2007/2/8, jiangshachina [EMAIL PROTECTED]: Hello 秋秋, where are you from ? I'm from Beijing, China. It looks like we come from the same place. I think so *_* a cup of Java, cheers! Sha Jiang 秋秋 wrote: Hi, thanks,where

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-08 Thread sam
-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 into your local repository. To deploy it in a remote repo, you can use the maven-deploy-plugin (deply:deploy-file goal

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-08 Thread sam
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

Re: How to deploy the jar of third party into the repository on our company's server?

2007-02-08 Thread sam
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

where is the introduction about jboss-maven-plugin on the site of maven ?

2007-02-08 Thread sam
HI, where is the introduction about jboss-maven-plugin on the site of maven ?I'd like having a look.

What is the default value for resource?

2007-02-09 Thread sam
Hi, I am reading http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html, There are some configuration like below: configuration webResources resource !-- this is relative to the pom.xml directory --

Re: What is the default value for resource?

2007-02-09 Thread sam
-filtering-webresources.html, 2007/2/9, Stephane Nicoll [EMAIL PROTECTED]: Hi, On 2/9/07, sam [EMAIL PROTECTED] wrote: Hi, I am reading http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html , There are some configuration like below: configuration

How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
HI, I use maven-war-plugin to deploy the war and use maven-jar-plugin to deploy the jar for the same project,the project is distributed deployed ,and I use jboss for the server,I want to deploy the 3th party jar in the directory %JBOSS_HOME%server\ProjectName\lib, and I don't want there is

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
Hi, Yes ,It's feasible,I have excluded the directory WEB-INF/lib/. And How can I deploy the 3th party jar in the directory %JBOSS_HOME%server\ProjectName\lib ? 2007/2/13, mraible [EMAIL PROTECTED]: Here's how we do this in AppFuse: plugin

Re: pom.xml updating problem

2007-02-12 Thread sam
Hi, If your team have used CVS ,One has modified the pom.xml,and then commit the pom.xml to CVS,Others can just update the pom.xml. 2007/2/13, Wayne Fay [EMAIL PROTECTED]: Use SNAPSHOTs. Then occasionally deploy a VERSION of your project/code and then go back to working from SNAPSHOTs.

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
Hi, jiangsha,can you give me the exact url of the subject about copies specific jars to specific directory?I can't find it to link to http://maven.apache.org/plugins/maven-antrun-plugin/. 2007/2/13, jiangshachina [EMAIL PROTECTED]: Hello, How can I deploy the 3th party jar in the

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
HI, Jiangsha,I have added the configurations you gave,but it report a error when I run compile,the error is show following: [ERROR] project-execute : com.novitech.itms:maven_itms:war:1.0 ( task-segment: [compile] ) Diagnosis: The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
HI, I have excuted the antrun:run, but it report the same error. [INFO] [INFO] Building maven_itms Maven Webapp [INFO]task-segment: [antrun:run] [INFO]

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
Hi, Oh, I have excuted the antrun:run successfully just now.It may be the the problem of network. 2007/2/13, sam [EMAIL PROTECTED]: HI, I have excuted the antrun:run, but it report the same error. [INFO

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-12 Thread sam
' org.apache.maven.plugins:maven-antrun-plugin' org/apache/tools/ant/PropertyHelper What the error means? 2007/2/13, sam [EMAIL PROTECTED]: Hi, Oh, I have excuted the antrun:run successfully just now.It may be the the problem of network. 2007/2/13, sam [EMAIL PROTECTED]: HI, I have excuted

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread sam
' org.apache.maven.plugins:maven-antrun-plugin:1.1:run': Unable to find the mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' in the plugin ' org.apache.maven.plugins:maven-antrun-plugin' org/apache/tools/ant/PropertyHelper What the error means? 2007/2/13, sam [EMAIL PROTECTED]: Hi

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread sam
' in the plugin ' org.apache.maven.plugins:maven-antrun-plugin' org/apache/tools/ant/PropertyHelper What the error means? 2007/2/13, sam [EMAIL PROTECTED]: Hi, Oh, I have excuted the antrun:run successfully just now.It may be the the problem of network. 2007/2/13

maven-antrun-plugin error

2007-02-25 Thread sam
Hello, Everybody! ,I want to deploy all of the 3th party jars in the directory $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I use? thanks in advance!

Re: [m2] maven-antrun-plugin error

2007-02-25 Thread sam
HI, jiagsha,Long time no see,I use the maven-antrun-plugin by the method you gave last time,I have done this configuration: plugin artifactIdmaven-antrun-plugin/artifactId executions execution phasegenerate-resources/phase goals goalrun/goal /goals

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
HI, I have resolved the trouble just now.It seems like my ant-1.6.5.jar is incomplete/corrupt,I have downloaded it again,and the trouble has been resolved.but when I excute compile,the new problem was reported: Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant

How to deploy all of the 3th party jars under the Jboss directory ?please.

2007-02-26 Thread sam
Hello, Everybody! ,I have create a webapp project,I want to deploy all of the 3th party jars in the directory $JBOSS_HOME/server/ProjectName/lib,How can I do?What plugins can I use?please help. thanks in advance.

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
/lib/*.* todir=D:\jboss-4.0.4.GA\server\claim\lib\ /copy Maruf sam wrote: HI, I have resolved the trouble just now.It seems like my ant-1.6.5.jar is incomplete/corrupt,I have downloaded it again,and the trouble has been resolved.but when I excute compile,the new problem was reported: Trace

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam
/*.* directory. Try use exact path to WEB-INF directory on your file system in the following part. Try to copy overwrite=true file=WEB-INF/lib/*.* todir=D:\jboss-4.0.4.GA\server\claim\lib\ /copy Maruf sam wrote: HI, I have resolved the trouble just now.It seems like my ant-1.6.5.jaris

Re: encoding of file name?

2007-04-29 Thread sam
hi, long time no see,I have not meet the trouble like yours,but I have a advance for this,set the encoding's value like the this in your pom.xml ?xml version=1.0 encoding=GBK? project . . . /project good luck! 2007/4/29, jiangshachina [EMAIL PROTECTED]: Hi guys, I'm using Maven 2.0.4 + JDK

Re: encoding of file name?

2007-04-29 Thread sam
Hi, why don't you try to set the maven-resources-plugin's encoding property like this: project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId configuration ... encodingUTF-8/encoding

Re: encoding of file name?

2007-04-29 Thread sam
encodingGBK/encoding 2007/4/30, sam [EMAIL PROTECTED]: Hi, why don't you try to set the maven-resources-plugin's encoding property like this: project ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId

How to excludes some classes when deploy jar via jar plugin?

2007-05-14 Thread sam
HI ,My friends: I used maven-jar-plugin for deploy a jar in the project,but I want to exclude some clasaes file out of the jar,is there somebody knows how to do it?Thanks advance.

Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.

2007-05-17 Thread sam
Hi, Thanks for Boeckli's help,and now I can use maven-dependency-plugin to do this job,but there is a new problem is that,when I change the one artifact's version which is heigher than previous,and than I excute dependency:copy,as a result ,there will be two artifact(jar) with different

Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please.

2007-05-17 Thread sam
HI, stefaan,what's the matter? 2007/5/17, [EMAIL PROTECTED] [EMAIL PROTECTED]: sam -Original Message- From: sam [mailto:[EMAIL PROTECTED] Sent: 17 May 2007 09:36 To: Maven Users List Subject: Re: [m2] How to deploy all of the 3th party jars under the Jboss directory ?please. Hi

Run package life cyclic for the subproject occur error.

2007-05-18 Thread sam
HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent

Re: How to excludes some classes when deploy jar via jar plugin?

2007-05-20 Thread sam
OH,. God,It looks like I must get it via some other method.and I am doing this now,but new troubles has become. 2007/5/19, Dennis Lundberg [EMAIL PROTECTED]: sam wrote: HI ,My friends: I used maven-jar-plugin for deploy a jar in the project,but I want to exclude some clasaes file

How to run rsync -v -t -l -r mirrors.ibiblio.org::maven2 /your/local/path

2007-05-24 Thread sam
Hi, In maven's site: http://maven.apache.org/guides/mini/guide-mirror-settings.html Creating your own mirror The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync from several mirrors, choose one rsync -v -t

Re: Maven can not create new project?

2007-07-19 Thread sam
HI, go to the directory .m2\repository\org\apache\maven\plugins to see is there a directory named maven-archetype-plugin,if there is,delete this directory,because it may be a bad package,if there isn't, it may be maven can't download the maven-archetype-plugin,so check you network for you

Re: change version?

2010-07-18 Thread SaM
Have a look at this http://mojo.codehaus.org/versions-maven-plugin/ HTH SaM On 19 juil. 2010, at 07:10, Haszlakiewicz, Eric ehas...@transunion.com wrote: -Original Message- From: Shan Syed [mailto:shan...@gmail.com] http://maven.apache.org/plugins/maven-release-plugin/examples

Can not unsubscribe The Maven Users List

2010-11-04 Thread sam
Hi,EveryOne, I try to unsubscribe The Maven Users List,So I Have send one mail to the users-unsubscr...@maven.apache.org, but it doesn't work,How can I do please?

Proximity Setup

2006-08-08 Thread Sam Merrell
I have been digging around for some good Proximity documentation, but I can't seem to find any. It looks like the proximity site ( proximity.abstracthorizon.org) is down right now and Google isn't helping much either. Does anyone have any good links on how to work with Proximity? Specifically,

Re: link to module sites - and aggregated javadoc

2006-08-11 Thread Sam Merrell
I get the same issue without aggregating my javadocs. On 8/11/06, Jan Vissers [EMAIL PROTECTED] wrote: Maven 2.0.4. Trying to create a site for multi module project where the module links are actually shown. Using the following command: site:stage -DstagingDirectory= the module links

changelog-maven-plugin and CVS

2006-10-09 Thread Sam Anabtawi
in advance! -Sam -- View this message in context: http://www.nabble.com/changelog-maven-plugin-and-CVS-tf2411040.html#a6720464 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: changelog-maven-plugin and CVS

2006-10-11 Thread Sam Anabtawi
I posted this message a couple of days ago and I got no replies. Did I miss any details that I needed to include? If you know of a better place to find a solution, could you please redirect me to it? Sam Anabtawi wrote: I have been trying to get the changelog-maven-plugin to work with CVS

Re: changelog-maven-plugin and scm error

2006-10-23 Thread Sam Anabtawi
I have followed the instructions in this thread so far; here is a snippet of my pom.xml: project ... pluginRepositories pluginRepository idapache.snapshots/id nameApache Snapshot Repository/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url

Re: changelog-maven-plugin and scm error

2006-10-26 Thread Sam Anabtawi
help in advance! -Sam -- View this message in context: http://www.nabble.com/changelog-maven-plugin-and-scm-error-tf2227141.html#a7012529 Sent from the Maven - Users mailing list archive at Nabble.com

Re: changelog-maven-plugin and scm error

2006-10-26 Thread Sam Anabtawi
did a cvs login from the command line right before I tried the above scm. Still no change-log report though :( Sam Anabtawi wrote: I have been trying to get the changelog-maven-plugin to work with CVS for a few days now. I have no idea what is wrong with my setup, when I run mvn site I get

Re: changelog-maven-plugin and scm error

2006-10-26 Thread Sam Anabtawi
That did the trick Stoddarn!! This is my plugin declaration in my pom.xml now. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId configuration basedir${basedir}/basedir /configuration version2.0-SNAPSHOT/version /plugin stoddarn wrote:

Re: [M2] Changelog plugin report unknown range

2006-10-30 Thread Sam Anabtawi
So is there any solution or any kind of work around? Can I manually change that message somewhere? A message saying Changes from an unknown range on my most important site page does not seem to impress my boss alot :\ Allan Ramirez wrote: Hi Nate, As far as I know, the plugin does not

Re: [M2] Changelog plugin report unknown range

2006-10-30 Thread Sam Anabtawi
I guess I could just make the change in the html. That works ok for now, but I have to reapply these changes every time I generate a new site. Sam Anabtawi wrote: So is there any solution or any kind of work around? Can I manually change that message somewhere? A message saying Changes

RE: Antwort: RE: Proxy settings

2006-12-04 Thread Sam Wilson
I completely agree with both statements: 1) snapshot dependency that you can not control is a mess, in a customer project ... build the plugin from source with your custom artifactId and deploy it to your repository and 2) A released plugin should not have a repository entry in his pom.xml I

mvn command line failed with archetype..

2008-08-08 Thread Sam Wun
| Hi, | | I am wondering how to fix the following attached error (mvn command run)? | I tried to follow the instruction shown in the following website, but got error. | http://struts.apache.org/2.x/docs/developing-a-portlet-using-eclipse.html | | | === attached mvn command run

simple online order form

2008-08-18 Thread sam wun
Hi, I want to build a simple  online order with Struts, eclipse, and tomcat (mysql database). Is there any example/tutorial I can follow to create this simple project? I found many tutorials are based on MyEclipse, but I am using Elcipse 3.4. Thank  you in advance.

Re: Re: simple online order form

2008-08-19 Thread sam wun
://www.ibm.com/developerworks/java/library/j-appfuse/ sam wun wrote: Hi, I want to build a simple online order with Struts, eclipse, and tomcat (mysql database). Is there any example/tutorial I can follow to create this simple project? I found many tutorials are based

Building AppFuse with mvn

2008-08-19 Thread sam wun
- Original Message - From: sam wun Sent: 19/08/08 04:08 pm To: Maven Users List, Maven Users List Subject: Re: Re: simple online order form Hi, I am wondering is this AppFuse a widely use framework or library for building form like this? Thanks

Re: Building AppFuse with mvn

2008-08-19 Thread sam wun
)? Thanks - Original Message - From: Martijn Dashorst Sent: 19/08/08 08:37 pm To: Maven Users List Subject: Re: Building AppFuse with mvn add a minus character before your DartifactId= Martijn On Tue, Aug 19, 2008 at 12:30 PM, sam wun [EMAIL PROTECTED] wrote: Hi, I tried

good tutorial for maven, eclipse3.4 and tomcat

2008-08-19 Thread sam wun
Hi, Can anyone provide me a link of tutorial  that I can follow to build a simple web base application using maven, eclipse 3.4, tomcat and mysql? Thanks

Create classes in Eclipse 3.4

2008-08-20 Thread sam wun
Hi, In Eclipse 3.4, I have created  a Web  Project with the following commands in Eclipse: Go to File-New-Other, then expanding Web-Dynamic Web Project. Now I want to create its spporting classes, how can I do that in Eclipse 3.4? I want to automatically generate getters and setters for

where should I create this class file?

2008-08-21 Thread sam wun
bytes free d:\workspace\DBTest\src\command From the file CreateCustomer.java and CreateOrder.java, I want to *import* domain.Customer and domain.Order. Where in my windows directory should create the Customer.java and Order.java file? Thanks Sam

error in maven command

2008-08-21 Thread sam wun
] Final Memory: 8M/15M [INFO] How to modify the mvn command to execute it correctly? Thanks Sam

import project into Eclipse 3.4

2008-08-23 Thread sam wun
HI, I downloaded a sample project eg. com.eclipsedistilled.catalog in my c:\DEV\samples\ directory. eg. c:\DEV\samples\com.eclipsedistilled.cataglog c:\DEV\samples\com.eclipsedistilled.cataglog\bin c:\DEV\samples\com.eclipsedistilled.cataglog\src

Run plugin after modules complete in multi-module project

2008-09-24 Thread Sam Wilson
are addressed. Thanks for your feedback. Sam Wilson

Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
Dear all, I'm the maintainer of the following Java projects:- http://code.google.com/p/netlib-java/ http://code.google.com/p/matrix-toolkits-java/ I'd very much like to be able to ensure that these projects (binaries, sources and Javadocs) are available on Maven! I've read the documentation

Re: Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
protocol which is supported by SVN). Any projects wanted to use your artifacts should declared this repository you just created. Regards Jeff MAURY On Thu, May 28, 2009 at 5:15 PM, Sam Halliday sam.halli...@gmail.comwrote: Dear all, I'm the maintainer of the following Java projects

Re: Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
:15 PM, Sam Halliday sam.halli...@gmail.com wrote: This is, generally speaking, not a very good solution. Other open-source projects that wish to use your artifacts as dependencies will not be able to get their artifacts into the central repository if they have to have a third-party (your

Re: Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
Not interested in moving my project hosting. Stuart McCulloch wrote: ... What appears to be a sales pitch... -- View this message in context: http://www.nabble.com/Make-Google-Code-ant-projects-available-tp23763883p23765110.html Sent from the Maven - Users mailing list archive at

Re: Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
. Since sonatype can sync to central, and they are offering this for free, I'm not seeing how this is a sales pitch... But perhaps I am wrong -Stephen 2009/5/28 Sam Halliday sam.halli...@gmail.com Not interested in moving my project hosting. Stuart McCulloch wrote: ... What

Re: Make Google Code ant projects available

2009-05-28 Thread Sam Halliday
by the following project (which isn't on netlib). https://sourceforge.net/projects/f2j And I'll probably have to work with the author to create a Maven bundle (or whatever it is rightly called). Avoiding 4 week wait times would be good! Stuart McCulloch wrote: 2009/5/29 Sam Halliday sam.halli

maven can't find repo1

2009-07-07 Thread Sam Wun
not be this project's POM). Project ID: null:jboss-ejb3-tutorial-stateless:jar:1.1.1-SNAPSHOT Thanks Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
, Jul 7, 2009 at 13:23, Sam Wunswun2...@gmail.com wrote: Hi, Can anyone tell me how to resolve this error: # mvn archetype:create-from-project [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/jboss/ejb3/jboss-ejb3-tutorial-common/1.1.1/jboss-ejb3-tutorial-common

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
hehe Cool ^__^ and Thanks. On Tue, Jul 7, 2009 at 9:43 PM, Anders Hammarand...@hammar.net wrote: http://lmgtfy.com/?q=maven+add+remote+repositoryl=1 On Tue, Jul 7, 2009 at 13:32, Sam Wunswun2...@gmail.com wrote: Hi, how do you define http://repository.jboss.org/maven2/ with mvn? Thanks

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
/profile On Tue, Jul 7, 2009 at 9:53 PM, Sam Wunswun2...@gmail.com wrote: hehe Cool ^__^ and Thanks. On Tue, Jul 7, 2009 at 9:43 PM, Anders Hammarand...@hammar.net wrote: http://lmgtfy.com/?q=maven+add+remote+repositoryl=1 On Tue, Jul 7, 2009 at 13:32, Sam Wunswun2...@gmail.com wrote

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
I meant the error still the same as before... it s still looking for repo1. Thanks On Tue, Jul 7, 2009 at 10:11 PM, Sam Wunswun2...@gmail.com wrote: Sorry, I don't know where to put it in the settings.xml file. I put it in the following area, but got caused mvn errors:    profile

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
check the pom schema! /Anders On Tue, Jul 7, 2009 at 14:11, Sam Wunswun2...@gmail.com wrote: Sorry, I don't know where to put it in the settings.xml file. I put it in the following area, but got caused mvn errors:    profile      idjdk-1.4/id      activation        jdk1.4/jdk

Re: maven can't find repo1

2009-07-07 Thread Sam Wun
wrote! /Anders On Tue, Jul 7, 2009 at 14:53, Sam Wunswun2...@gmail.com wrote: I put it here: settings xmlns=http://maven.apache.org/settings/1.0.0;          xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;          xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.0.0 http

Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Sam Wun
2009 [INFO] Final Memory: 37M/63M [INFO] what is it? I have found someone got this error as well, but could not find an answer. Thanks On Tue, Jul 7, 2009 at 11:04 PM, Sam Wunswun2...@gmail.com wrote: lolz... as the page

Re: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Sam Wun
Hi, I rather fix the project so that it works for 2.1, which files I should modify and how? Any detail? Thanks Sam On Tue, Jul 7, 2009 at 11:27 PM, Martin Höllermar...@xss.co.at wrote: On Tuesday 07 July 2009 Sam Wun wrote: As it running forward, near the end of the download

Detected Maven Version: 2.1.0 is not in the allowed range [2.0.9,2.1).

2009-07-07 Thread Sam Wun
Does anyone know which conf file I should change to get rid of this error? I am with Maven 2.1, Java 1.6 Very appreciate for your help. thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: Detected Maven Version: 2.1.0 is not in the allowed range [2.0.9,2.1).

2009-07-07 Thread Sam Wun
/requireMavenVersion /rules /configuration Thanks very much On Wed, Jul 8, 2009 at 11:02 AM, Benson Marguliesbimargul...@gmail.com wrote: mvn help:effective-pom might give you a clue. On Tue, Jul 7, 2009 at 9:00 PM, Sam Wunswun2...@gmail.com wrote: Does anyone know which

Re: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Sam Wun
there is no enforcer plugin in my pom.xml, here is its content: # cat pom.xml ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

Unable to add module to the current project as it is not of packaging type 'pom' - Was: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Sam Wun
) at org.apache.maven.archetype.generator.DefaultArchetypeGenerator.generateArchetype(DefaultArchetypeGenerator.java:286) at org.apache.maven.archetype.DefaultArchetype.generateProjectFromArchetype(DefaultArchetype.java:69) Thanks Sam On Tue, Jul 7, 2009 at 11:18 PM, Sam Wunswun2

Re: Unable to add module to the current project as it is not of packaging type 'pom' - Was: Detected Maven Version: 2.1.0 is not in the allowed range

2009-07-07 Thread Sam Wun
ok Fixed. thanks very much for that. Sam On Wed, Jul 8, 2009 at 12:34 PM, Edelson, Justinjustin.edel...@mtvstaff.com wrote: That error message means what it says - you can't create a sub-project of a project which doesn't have a packaging of pom. When you run the archetype:generate goal

Can't download org.jboss.resteasy:resteasy-maven-import:pom:1.1.GA

2009-07-08 Thread Sam Wun
Hi, I was trying to install an RESTeasy example, but got some errors. This example I want to install: /usr/resteasy-jaxrs-1.1.GA/examples/spring-hibernate Getting the following errors: spring-hibernate # !mv mvn clean install [INFO] Scanning for projects... Downloading:

Failed to fine a pom file. - please help

2009-07-09 Thread Sam Wun
Hi, I was trying to install an RESTeasy example, but got some errors when Maven tried to download a pom file. This example I want to install: /usr/resteasy-jaxrs-1.1.GA/examples/spring-hibernate Getting the following errors: spring-hibernate # !mv mvn clean install [INFO] Scanning for projects...

How to instruct maven look for local repository first?

2009-07-09 Thread Sam Wun
: org.jboss.resteasy:resteasy-jaxrs-all for project: null:resteasy-maven-import:pom:null for project null:resteasy-maven-import:pom:null It seems it doesn't look for local repository. How to change the pom.xml so taht it looks for local repository? Thanks Sam

Re: How to instruct maven look for local repository first?

2009-07-09 Thread Sam Wun
. The resteasy-maven-import artifact is indeed found in the local repo. /Anders On Thu, Jul 9, 2009 at 11:51, Sam Wunswun2...@gmail.com wrote: Hi, I want to setup maven to look for resteasy-maven-import pom file in the local repository. Here is the file in my local repository: # !find find . -name

Re: Hi,guys! I am a new one in Maven. I try to run maven .but get the error message .

2009-07-14 Thread Sam Wun
:D 2009/7/14 白鹏 bill.peng@gmail.com: C:\DOCUME~1\ADMINI~1set java JAVA_HOME=C:\Program Files\Java\jdk1.6.0_05 2009/7/14 Mick Knutson mickknut...@gmail.com Where is your JAVA_HOME installed to? --- Thank You... Mick Knutson, President BASE Logic, Inc. Enterprise Architecture,

Re: please remove me!

2009-08-02 Thread Sam Wun
:D On Mon, Aug 3, 2009 at 2:09 PM, Stevo Slavićssla...@gmail.com wrote: To unsubscribe, e-mail: users-unsubscr...@maven.apache.org On Mon, Aug 3, 2009 at 6:01 AM, Daggett, Jeremy jeremy.dagg...@hp.comwrote: unsubscribe -

CHECKSUM FAILED - please help.

2010-03-05 Thread Sam Wun
README axis2.war client pom.xml server src-dist bash-3.2$ I am using Mavern 2.2.1 in Cygwin in Windows Vista. Very appreciate for any suggestion . Thanks Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

settings.xml

2010-03-07 Thread Sam Wun
Can anyone point me to a wiki about how to setup settings.xml for mavern 2.0? I got an error Checksum failed. Thanks Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Java is a swamp

2010-10-14 Thread Sam Wun
Haha :D On Wed, Oct 13, 2010 at 7:38 PM, Jörg Schaible joerg.schai...@gmx.de wrote: Hi Kenneth, now, after your mail, I realize that Java is also a swamp, too: = % = import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException;

Adding files to target before creating war

2011-03-21 Thread Sam Adams
the target directory is created but before the war is built? Thanks, Sam - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
It seems that the target isn't created until the package phase, this is also when the war is created. Is there any kind of finer grained control over when plugins are run? Thanks, Sam On 21 March 2011 15:07, Gajo Csaba csaba.g...@cosylab.com wrote: The target directory is probably created

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
This is exactly what I'm trying to do. Why is this not a good idea and what are the alternatives? Thanks, Sam On 21 March 2011 15:19, Wendy Smoak wsm...@gmail.com wrote: On Mon, Mar 21, 2011 at 10:55 AM, Sam Adams sbad...@gmail.com wrote: I'm now in a situation where I want to overwrite some

Re: Adding files to target before creating war

2011-03-21 Thread Sam Adams
We have slightly different configurations that we need to test. For this very reason we need to build and test different profiles. This can include different web.xml files so I don't think externalising is an option in this case. Thanks, Sam On 21 March 2011 15:44, Wendy Smoak wsm...@gmail.com

Re: Adding files to target before creating war

2011-03-22 Thread Sam Adams
Thanks for all your replies. I'll give them a go and see what fits best. I've also seen you can set the webXml parameter to point to a different web.xml file. Cheers, Sam On 22 March 2011 06:15, Markku Saarela markku.saar...@pp6.inet.fi wrote: You can use WAR overlays [http://maven.apache.org

how generate additional artifacts from one project?

2011-08-22 Thread Sam Jiang
something like -resources.jar, which contains public resources to be shared by my build tool. Is the assembly plugin the right place to start? after I generate this flavour, how do I tell maven to deploy / install it along others? thanks -- Sam Jiang | karoshealth (っ゚Д゚;)っ hidden cat here 7 Father

Maven Assembly Plugin renaming jar

2017-11-24 Thread Wilson, Sam
, Sam --- mvn -X package -- […] [DEBUG] Adding dependency artifact com.example:MyArtifact:jar:8.0.0. [DEBUG] Adding artifact: com.example:MyArtifact:jar:8.0.0 with file: /Users/me/.m2/repository/com/example/MyArtifact/8.0.2/MyArtifact-8.0.2.jar to assembly location: lib/MyArtifact-8.0.0.jar. [DEBUG

Re: Maven Assembly Plugin renaming jar

2017-11-24 Thread Sam Wilson
Oh, I should mention that I've tried this with maven-assembly-plugin 2.4 and 3.1.0. Sam On 11/24/2017 11:07 AM, Wilson, Sam wrote: > Hey! > > Hopefully you can help me out. Maven assembly plugin seems to be renaming a > jar file without being told to, and it’s messing up my

Re: Maven Assembly Plugin renaming jar

2017-12-15 Thread Wilson, Sam
Sorry to bump and old thread, but I’d appreciate it if someone had any insight. Sam From: Sam Wilson <sawil...@akamai.com> Reply-To: Maven Users List <users@maven.apache.org> Date: Friday, November 24, 2017 at 11:12 AM To: "users@maven.apache.org" <users@maven.apach

Re: Maven Assembly Plugin renaming jar

2017-12-15 Thread Wilson, Sam
.jar. The MANIFEST contains “lib/MyArtifact-8.0.2.jar” as an entry. Why would it be named MyArtifact-bin-8.0.0.jar ever? I can try to create a minimal repro, but it’ll be hard because this is a big project with lots of parts. Sam From: James Klo <jim@sri.com> Reply-To: Maven User

  1   2   >