Hi,
The best is to use a repository proxy. This proxy should be in a machine that
has access to the internet so that it can pull artifacts from the central
remote repository or any other repository. Your devs would then use this
proxy (which should be accessible in your lan) to get their depend
Hi,
Looking at your configuration, you have bound the execution of the antrun
plugin to the install phase. Issuing 'mvn install' instead of 'mvn
antrun:run' would make it run.
HTH,
Henry
On Wednesday, April 4, 2007 05:54, Nagesh, Srinivas (IS Consultant) wrote:
> I tried the following
>
>
>
Hi,
This could prove useful:
http://maven.apache.org/plugins/maven-archetype-plugin/examples/archetype.html
Cheers,
Henry
On Wednesday, April 4, 2007 02:18, Marouane Amraoui wrote:
> Hi ;
>
>
>
> I want to generate my projet structure :
>
>
>
> MyProject-Appli :
>
>--> src
>
> --> j
On Tuesday, April 3, 2007 13:06, Sagar Yerunkar wrote:
> I reinstalled Java to another directory and corrected the relevant
> environment variables. I am still getting the same error.
>
> My other code in eclipse is working fine. I have deployed a few web
> services using Tomcat. Even they are work
On Thursday, March 29, 2007 06:58, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have configured the package goal/target to construct a zip file to be
> built from the modules compiled jar file and a few other files contained
> within the maven project. Once this has successfully been packaged by
> calling
On Monday, March 19, 2007 15:17, Ivan Biddles wrote:
> Hi,
>
> I am integrating several open source projects into an application and
> some of these projects are built with Maven, which I have not used to
> date.
>
> I have read the FAQs etc. but I could not find a mention of being able
> to do a M
On Saturday, March 17, 2007 22:19, Alessandro Di Bella wrote:
> Hi,
> I'm new to maven 2 and I'm trying to write a project descriptor for a web
> application.
>
> I have a dependency on an artifact of type "tgz". The file gets downloaded
> without a problem but I need to unpack it into "target//WE
On Friday, January 19, 2007 16:16, fy wrote:
Hi fy,
If you noticed, it downloaded the pom, which is a different file from a jar.
If you want it to be downloaded from your repository, you have to install the
pom file as well.
- Henry
>- Downloading:
> http://repo1.maven.org/maven2/junit/junit
On Saturday, August 26, 2006 13:52, Naresh Bhatia wrote:
> I am packaging my web application as an ear file because it uses EJBs. I
> am using Acegi for security. However if I add Acegi as a dependency in
> the war subproject then it pulls in bunch of other jars that are also
> needed in my ejb sub
On Wednesday, August 30, 2006 05:32, Attila Mezei-Horvati wrote:
> Hi,
>
> Slowly I understand the life cycles but still not sure
> in what order are their components run.
>
> My problem: I have a war package, in it I specify an
> ant task at the package phase to copy a jar into the
> lib so the wa
On Monday, July 31, 2006 17:24, Jan Galinski wrote:
> Hi,
>
> on a server, I want to use mvn (2.0.4) to manage a central jar repository.
> Even non maven applications should benifit from this, beacause there
> will be be on common repository from where to link commons, db-drivers
> etc. Its not goi
On Thursday, July 6, 2006 03:42, Ed Ross wrote:
> This really shouldn't be this hard.
>
>
> I have several (5) sub-projects which is following the maven "best
> practices" (I think).
>
> I just want to product a SINGLE jar, not 5 little jars.
>
> I've been trying to understand the assembly stuff, b
On Saturday, June 24, 2006 05:11, Nidhi Tuli wrote:
> RAR plug in I downloaded doesn't seem to generate jar file. It is simply
> compiling the code and generating a rar file with just the dependencies
> in it. The generated rar file does not contain the jar of the compiled
> source.
>
> Is there a
On Monday, June 19, 2006 12:44, tulasi wrote:
> No,
>
> I configured my output directory as "Classes". once i created package using
> "mvn package" command, the compiled classes and jar are available in
> classes directory. after i want to copy the created jar file into "lib"
> folder.
>
> how will
On Friday, June 9, 2006 04:04, Doug Douglass wrote:
> Thanks for feedback Chris. I like your versioning convention.
>
> deploy:deploy-file does work, with the caveat and work-around noted in my
> original item #2.
>
Your item was fixed in svn a while back. If you checkout, build and install
maven
On Friday, June 9, 2006 07:36, Mike Perham wrote:
> I have a set of modules:
>
> root/
>a/
>b/
>
> Both modules are at version 1.1.2-SNAPSHOT and B depends on version
> 1.1.1 of A.
>
> When I run the root build, it builds A and B and version 1.1.2-SNAPSHOT
> of A is forced upon B. This is
On Tuesday 30 May 2006 7:16 am, Warner Onstine wrote:
> I wrote a simple task in maven.xml that moved a completed war file to
> a deployment directory and would like to move this to m2. It isn't
> clear from the documentation what lifecycle phase the war task
> happens in now (especially since ever
On Thursday 11 May 2006 12:27 pm, Vinod Panicker wrote:
> On 5/11/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote:
> > On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote:
> > > Hi,
> > >
> > > I read all the guides for deployment, tried with wagon, witho
On Thursday 11 May 2006 12:33 am, Vinod Panicker wrote:
> Hi,
>
> I read all the guides for deployment, tried with wagon, without wagon,
> single file deployment and private key authentication as well, but I'm
> not able to get my linux machine to deploy on a win2k server running
> openssh.
>
> Try
On Tuesday 02 May 2006 9:47 am, Alexandre Poitras wrote:
> Hi,
>
> I was wondering how laptops users were dealing with proxy settings in
> Maven 2. For my part, since profiles can't enable/disable proxy, I
> disable it manually whenever I work at home. It's a little bit
> annoying and so I was wond
On Wednesday 03 May 2006 2:45 pm, Simon Kitching wrote:
> On Wed, 2006-05-03 at 08:31 +0200, Sharma, Jaikumar wrote:
> > Dear Maven Users,
> >
> > Can I use third party libraries (required by build process to compile /
> > test sources etc.) which are located in application installed location in
>
On Monday 24 April 2006 2:28 pm, Sharma, Jaikumar wrote:
> Dear Maven users,
>
> Is there a way in M2 to specify a set of dependent JARs which resides in
> local filesystem and required by the project during compilation ?
> Individually, JARs can be specified using
> construct.
>
> Thanks!
>
> R
On Monday 24 April 2006 1:51 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> >-Original Message-
> >From: ext Henry S. Isidro [mailto:[EMAIL PROTECTED]
> >
> >Usually you just upgrade. One thing to remember though is your
> >M2_HOME setting.
>
> Than
On Monday 24 April 2006 4:31 am, [EMAIL PROTECTED] wrote:
> Hi,
>
> I couldn't find anything on the website and also not in the mailing list
> archives. Can I just upgrade to the latest maven release, or do I have to
> pay special attention to something?
>
> Thanks,
> Andreas Ebbert-Karroum
> Sof
On Friday 21 April 2006 11:38 pm, Ryan Wynn wrote:
> Do you know if I need to install the skin manually and if so how I can do
> it?
>
> Thanks.
Get it from here: https://svn.apache.org/repos/asf/maven/skins/trunk and then
install it.
HTH,
Henry
---
csudhi wrote:
Hi,
Is it possible to change the default webapp directory (src/main/webapp)
location in POM.xml file , to somethng like ui/pages/jsp path (relative to
application root)?
--
View this message in context:
http://www.nabble.com/Changing-default-webapp-directory-t1409364.html#a3795
Richard Wallace wrote:
Is the flag working for profiles? I've got the
following profiles.xml
tomcat-local
tomcat
local
tomcat-local
http://localhost:8080/manager
Shouldn't you put a value in the tag? Like
true
- Henry
A S Praj wrote:
Hi,
I have a Open source downloaded from Net. In that there are Testcases
also, When I do a Compile it is working fine, When I do a Test it is
failing. Is there any Tag which Can be used to eliminate that particular
class alone while doing the Test. This is stopping me in pro
Helck, Christopher wrote:
Is there a danger that artifacts in a repository can become corrupt? I'm
concerned about someone modifying source code with out changing a
projects version and redeploying the artifact. Is there a way to prevent
this?
There is also the case where source code is not cha
Andreas Guther wrote:
Hi Raphaël,
Thank you very much for your answer and the time you took to write it.
Unfortunately I am still confused and not able to solve the "puzzle". To be
concrete, I am generating java source from an XSD using jaxb. I accomplish that
currently with a shell scr
Nidhi Tuli wrote:
I want to define a sequence of execution of maven commands using maven2.
I don't want to follow the regular life cycle. I am building ejb3
project and would like the execution should be in
compile,jar,ejb3,par,ear sequence. And when I do
Mvn ear:ear -- It should first compil
Venkatagopalaraju wrote:
Dear Maven Users,
Could you please anyone help out from this problem. I am suffering from these problems.
1. I am working on maven 2.0.2, I have seen, In this version we are not able to use properties file. I am using maven-compiler-plugin, But I need to s
Bob Arnott wrote:
Hello, I've got a bit of a situation where development will be
happening across
two sites that wont be able to share local repositories. From looking
at the
documentation I see I can filter values in resource files -
# application.properties
application.name=${pom.name}
appl
Ray Ward wrote:
I'm converting a "multiproject" project from Maven 1 to Maven 2, starting at
the parent and adding modules one at a time until they build and install.
Currently, this is what I'm trying to do.
stars (P)
+--- stars-common (A)
+--- stars-domain (B)
+--- stars-dao
Luca Gmail wrote:
I created my archetype with this structure:
C:.
L---main
L---resources
+---archetype-resources
│ │ build.xml
│ │ pom.xml
│ │
│ L---src
│ L---main
│ +---java
│ │ Web
Tatiana Escovedo wrote:
Hi,
I´ve just started using Maven 2, and I´m trying to make a war of my project
using
mvn war:war.
The following error occurs:
Embedded error: Deployment descriptor:
C:\{my-project-directory}\target\AulaNet3StartUp-0.0.1\WEB-INF\web.xml does
not exist.
I´ve searched fo
Hi,
If you keep on getting timeouts from the central repo, try using mirrors:
http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-Listofavailablemaven2mirrors.
HTH,
Henry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
[EMAIL PROTECTED] wrote:
Dear Henry,
I have got org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT.
However, I can't get com.solarmetric:kodo-jdo:jar:3.0
I don't think it's in the repositories. Have you tried their website -->
http://www.solarmetric.com/
Henry
-
[EMAIL PROTECTED] wrote:
Dear all,
When I build maven kodo plugin, it failed. can you help?
GroupId: org.codehaus.mojo
ArtifactId: mojo-sandbox
Version: 2-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT
from the specif
Laird Nelson wrote:
On 2/7/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote:
I'm not exactly sure what you mean but have you tried ?
To be fair, no, I haven't, but that would involve an infinite loop:
What I'd like to be able to do is:
Bu
overriding goal.
Thanks,
Laird
On 2/7/06, Henry S. Isidro <[EMAIL PROTECTED]> wrote:
Laird Nelson wrote:
I see. So suppose there is a plugin goal named world:destroy and I only
want to run it if the property evil.dictator is set. How would I do
this?
I don't want
Laird Nelson wrote:
I see. So suppose there is a plugin goal named world:destroy and I only
want to run it if the property evil.dictator is set. How would I do this?
I don't want it to be an error if someone tries to run it without said
property; I just want to silently do nothing. On the oth
Brad O'Hearne wrote:
Hey there,
I'm need to build a SAR file for JBoss deployment, which is
essentially the same as a JAR file, with a different extension (.sar
rather than .jar). Can someone tell me how this can be accomplished?
Thanks!
Brad
-
Nabbefeld
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
most probably there are inherited dependencies...and since that jar is a
snapshot, maven attempts to download it always
--
Henry
EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
you may need to add this in your properties file:
maven.repo.remote =
http://www.ibiblio.org/maven/,http://www.yourcompany.com/maven/
--
Henry S. Isidro
Software Engineer
Exist Software
[EMAIL PROTECTED] wrote:
Is there a definitive list anywhere of all these "magic" values?
you can find most properties here
http://maven.apache.org/reference/user-guide.html#Behavioural_Properties
--
Henry S. Isidro
Software Engineer
Exist Sof
enkat.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi. Just set the flag to true. For example,
I've done that and it works.
Regards,
Henry S. Isidro
Software Engineer
Exist Sof
found in the local
repository
Regards,
Henry S. Isidro
Software Engineer
Exist Software Labs
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
stored in your
machine so it won't download them again...in other words, maven only
downloads the artifacts once, if it can't find them, if it sees an
artifact in your repository, it does not download it again so build
times become faster
hope this clears up a few thinngs
Regards
49 matches
Mail list logo