RE: Compilation of single class

2007-02-26 Thread Vijay.Nair
We have still not gotten into complete test-driven development...

We got a simple main() method which I need to run.


DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for an individual named. If you are not the intended recipient, you should 
not disseminate, distribute, store, print, copy or deliver this message. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The 
sender, therefore,  does not accept liability for any errors or omissions in 
the contents of this message which arise as a result of e-mail transmission. If 
verification is required, please request a hard-copy version.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Antwort: Re: Newbie question: single project spanning multiple repository locations

2007-02-26 Thread Dirk . Moebius
Thanks a lot, Jo. I'll give it a try.

> You will get 4 artifacts (jars probably) representing each trunk (if 
they
> are seperately compilable)..

well, not yet, but we're working on it...

Regards,
Dirk.


"Jo Vandermeeren" <[EMAIL PROTECTED]> schrieb am 26.02.2007 
22:25:55:

> hi Dirk,
> 
> You need to define each repository location as a maven module in a
> pom-packaged parent project.
> 
> Once you've done this, you could add the pom to continuum and it will 
create
> 5 entries: 1 for each trunk and 1 for the parent.
> You could easily setup continuum to enable recursive builds. This will
> trigger the builds of the child modules when the parent module gets 
built.
> But then you'll probably want to remove the continuum entries for the 
child
> modules.
> 
> This is very easy, because it's the default maven behaviour..
> Continuum adds by default the "non-recursive" flag to a project build,
> because otherwise the child modules would be built twice.
> 
> You will get 4 artifacts (jars probably) representing each trunk (if 
they
> are seperately compilable)..
> 
> Here's some information on enabling a recursive build:
> http://maven.apache.org/continuum/faqs.html#build-entire-project-
> recursively-from-parent
> 
> Good luck
> Jo
> 
> 
> On 2/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > we have an older project that -unfortunately- spans multiple 
repository
> > locations:
> >
> > scm:svn://ourserver.com/repositories/ABRAHAM/basis/trunk/
> > scm:svn://ourserver.com/repositories/ABRAHAM/dev/trunk/
> > scm:svn://ourserver.com/repositories/ABRAHAM/access/trunk/
> > scm:svn://ourserver.com/repositories/ABRAHAM/hwm/trunk/
> >
> > The main build file build.xml resides in basis/trunk. Before the build 
can
> > beding, all 4 trunks must be checked out to 4 different directories 
side
> > by side: basis/, dev/, access/ and hwm/.
> >
> > How can I define a single Continuum project for this kind of setup?
> >
> > Thanks, in advance,
> > Dirk.
> >
> >



RE: Re: continuum 1.1 snapshot that works under tomcat 5.5.x

2007-02-26 Thread thorsten
Hi,

i get this small error message with Tomcat 5.5.17 and latest snapshot:

27.02.2007 08:27:34 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
27.02.2007 08:27:34 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/continuum] startup failed due to previous errors

Does anyone have an idea?

Thanks,
Thorsten


>Wendy,
>
>Thank-you so much.
>
>This does the job. But just to help out others on the list or searching the
>list. I will include the main steps from the mini guide
>at http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
>(Note, please check the above URL for any updated instructions)
>
>1. Build Continuum or obtain a pre-built snapshot.
>
>2. Locate the continuum-webapp-1.1-SNAPSHOT.war file. (If you built
>Continuum, it will be in continuum-webapp/target.)
>
>3. Add a context configuration file for the web application:
>
>$TOMCAT_HOME/conf/Catalina/localhost/continuum.xml
>
>
>   docBase="/path/to/continuum-webapp-1.1-SNAPSHOT.war">
>
>username="sa"
>   password=""
>   driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>   url="jdbc:derby:database/users;create=true" />
>
>username="sa"
>   password=""
>   driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
>   url="jdbc:derby:database/continuum;create=true" />
>
> type="javax.mail.Session"
>mail.smtp.host="localhost"/>
> 
>
>*WARNING:* The Tomcat 5.5.20 release is missing MailSessionFactory and a few
>other classes. JNDI mail sessions will *not* work. Either use Tomcat
>5.5.17or see Bug
>40668  for a
>workaround.
>
>Tomcat JNDI Resources
>HOWTO
>
>4. Place the following jars in $TOMCAT_HOME/common/lib:
>(click the links to download each jar from the central Maven repository)
>
>   - Derby 10.1.3.1
>derby-10.1.3.1.jar1/derby-10.1.3.1.jar>
>   - Java Mail 1.4
>mail-1.4.jar
>   - Java Activation Framework 1.1
>activation-1.1.jar1/activation-1.1.jar>
>
>5. Start Tomcat
>6. Access the application at http://localhost:8080/continuum
>
>The guide then goes on with some option configuration (see above URL for
>these)
>
>Cheers,
>
>Neon
>
>On 2/26/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>>
>> On 2/26/07, Neon <[EMAIL PROTECTED]> wrote:
>>
>> > Are there any stable continuum 1.1 snapshots/nightly builds that will
>> work
>> > out of the box.
>> >
>> > I have downloaded several snapshots from the below site, but none of
>> them
>> > seem to "work" out of the box.
>> > http://maven.zones.apache.org/~continuum/builds/trunk/
>>
>> It's not going to work out of the box, you need to configure the data
>> sources and put jars in $TOMCAT_HOME/common/lib.
>>
>> Here are instructions for Tomcat:
>>http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
>>
>> (You may need to create an account and log in, that space does not
>> seem to be visible to the general public.)
>>
>> --
>> Wendy


Re: packaging jar files ...

2007-02-26 Thread Armin Ehrenfels

John and Jo,

thanks for your quick responses. That's what I was looking for.

Regards

Armin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Compilation of single class

2007-02-26 Thread Dan Tran

Yes you can

but why? just curious

what is your use case?

-D


On 2/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:


Hello,



I am a new user of Maven...and was wondering how I can compile a single
class using Maven..Do I have to write a separate ant task



Btw...I use mevenide in Netbeans...When I try to run a single class...it
goes ahead and tries to run the entire app

Pls help





Rgds...VJ



DISCLAIMER:
This message contains privileged and confidential information and is
intended only for an individual named. If you are not the intended
recipient, you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system. E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete or contain viruses. The sender, therefore,  does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission. If verification is required,
please request a hard-copy version.



Compilation of single class

2007-02-26 Thread Vijay.Nair
Hello,

 

I am a new user of Maven...and was wondering how I can compile a single
class using Maven..Do I have to write a separate ant task

 

Btw...I use mevenide in Netbeans...When I try to run a single class...it
goes ahead and tries to run the entire app

Pls help

 

 

Rgds...VJ



DISCLAIMER:
This message contains privileged and confidential information and is intended 
only for an individual named. If you are not the intended recipient, you should 
not disseminate, distribute, store, print, copy or deliver this message. Please 
notify the sender immediately by e-mail if you have received this e-mail by 
mistake and delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete or contain viruses. The 
sender, therefore,  does not accept liability for any errors or omissions in 
the contents of this message which arise as a result of e-mail transmission. If 
verification is required, please request a hard-copy version.


Re: system scope dependency

2007-02-26 Thread Wayne Fay

System scoped dependencies are not handled as you might expect by
various packaging plugins ie EAR, WAR etc. They are not bundled into
the package like other dependency Jars -and- they are not mentioned in
the Manifest file. So you can easily build a "broken" distribution of
your compiled code/project rather easily with system scoped artifacts.

For these reasons and others, you are strongly encouraged to avoid
system scoped dependencies.

Wayne

On 2/26/07, jiangshachina <[EMAIL PROTECTED]> wrote:


Hi,
> What if the artifact doesn't have to be shared with others.
> Is it ok to use system scope
If you work a project with other mates,
I think it's necessary to share your artifacts with your mates.
Then your team may need a remote repository.

If you just do something by yourself, I think repository still is necessary.
Because the repository can be used by you in later projects.

I think a great advantage of Maven(repository) is that we don't care any
path of jars(artifaces).
Because they are in repository, Maven can find them automatically.
If you use system scope, you have to use absolute path.
Then the pom file must be modified, when you move the artifacts.

Of course, now that Maven provides the scope, maybe there are some reasons.
Then we may use it at some "special" cases.

a cup of Java, cheers!
Sha Jiang


Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
>
>
> What if the artifact doesn't have to be shared with others.
> Is it ok to use system scope
>
> Is there any advantage in copying to repository than storing it in
> clearcase and use system scope
>
> Thanks
>
>
> -Original Message-
> From: jiangshachina [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 26, 2007 6:11 PM
> To: users@maven.apache.org
> Subject: Re: [m2] system scope dependency
>
>
> Hello,
> All of artifacts would be in repository(local or remote).
> That's the standard way on manipulating jars(or other artifacts) by
> Maven.
> Deploying artifacts to remote repository, then they could be shared by
> more guys.
>
> a cup of Java, cheers!
> Sha Jiang
>
>
> Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
> wrote:
>>
>>
>> I read somewhere, system scoped dependencies are not recommended.
>>
>> Do you have any point or details on that.
>>
>> Thanks
>>
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a917381
> 6
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a9174250
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating APT-files

2007-02-26 Thread Eric Redmond

Just fyi, Doxia has an APT Sink, which takes any Doxia source and outputs
APT... If you want to generate APT code, it's best to write a source that
can output ot APT, XHTML, PDF, or any other modules there.

Eric

On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:


Thank you very much.. I guess I should've looked before I asked... :-)
Still I think it would be a good idea to add this kind of info to the
plugin-sites.


On Monday 26 February 2007 21:26, Gregory Kick wrote:
> The page that I usually go to for lifecycles is:
>
> http://docs.codehaus.org/display/MAVENUSER/introduction-to-the-lifecycle
>
> It's a bit of a pain to switch back and forth between the maven site
> and the wiki, but there's some good stuff there.
>
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Got it running now, thanks!
> >
> > One question though, how come I can't find anything about the site's
> > lifecycle on the maven-pages? Might be a good idea to post the
> > life-cycles there (like the standard lifecycle for building packages).
> >
> > On Monday 26 February 2007 21:10, Wendy Smoak wrote:
> > > On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > > > So, what does goals does the 'mvn site' run compared to 'mvn
> > > > site:site'?
> > >
> > > The site lifecycle is: pre-site, site, post-site, site-deploy
> > >
> > > Maven will run any plugin goals bound to those phases, up to and
> > > including the phase you specify.  So, anything you've bound to the
> > > phases, plus anything bound by default.  I don't know offhand what
the
> > > site plugin does in each phase, I'd have to look.
> > >
> > > When you execute 'mvn site:site' you are only running a single goal
on
> > > a single plugin.
> >
> > --
> > Roland Asmann
> >
> > CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> > Bäckerstrasse 1/2/7
> > A-1010 Wien
> > FN 266155f, Handelsgericht Wien
> >
> > Tel.: +43/1/513 88 77 - 27
> > Fax.: +43/1/513 88 62
> > Email: [EMAIL PROTECTED]
> > Web: www.cfc.at
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Eric Redmond
http://codehaus.org/~eredmond


Re: Getting the latest versions from CVS

2007-02-26 Thread Dan Tran

mvn scm:bootstrap -DconnectionUrl=yourcvsurl -Dgoals=install

On 2/26/07, Ross, Bryan M <[EMAIL PROTECTED]> wrote:


I am just trying to get started with M2. My source files are managed in
CVS, and when I do a compile, I want to compile with the latest versions
of my files in src. Essentially, I want to do a CVS update prior to
compiling class files. I have attempted to use SNAPSHOT versions along
with the -U flag (i.e., mvn -U compile)  to ensure I get the latest, but
I must still not be doing something right, because I don't get updated
files from the source repository. Any guidance would be greatly
appreciated. Thanks.

My POM:
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
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
project.agps
jagps-maven
jar
1.0-SNAPSHOT
Maven Quick Start Archetype
http://maven.apache.org

   
 junit
 junit
 3.8.1
 test
   
   
 lib
 VisLib.jar
 1.0-SNAPSHOT
   
   
...a bunch of other libraries...
 lib
 utils.jar
 1.0-SNAPSHOT
   


   
 
   org.apache.maven.plugins
   maven-compiler-plugin
   2.0
   
 1.5
 1.5
   
 
   







Thanks...



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




[ANN] Proximity Maven Plugin & Proximity RC8

2007-02-26 Thread Tamás Cservenák

Hi all,

i'd like to introduce the maven-proximity-plugin, a new handy utility
for using with proximity.

In short, this little and quite simple plugin allows you to interact
with Proximity over SOAP and helps in some other tasks:

It offers the following goals:

reindex-all : triggers via SOAP a "reindexAll" operation on Proximity
get-searchable-keywors : retrieves and displays usable keywords in
Lucene queries
search-by-query : passes a Lucene query to Proximity and displays the results

and finally, some "util" goal:

project-repositories : it simply collects project info and settings
and reports which repo (ID and URL) is used in build and reports
mirrored and non-mirrored reposes. Have switches to fail build if
non-mirrored repo is found, also it is able to check is the repo
mirrored against given Proximity instance.

For screen output samples, and more inormation please visit the forum:
http://forum.abstracthorizon.org/viewtopic.php?t=160

---

Also, Proximity RC8 is out. For changes, see here:
http://forum.abstracthorizon.org/viewtopic.php?t=1#983


Have fun!

~t~

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] First release of Patchwork coverage maven plugin

2007-02-26 Thread Jeff Jensen
Thanks for the explanation.

At my current customer, we use Maven 1, so haven't tried it.  I have read
the Patchwork docs, and am very intrigued by the solution to the misleading
"100%" coverage.  I would switch them to Patchwork for that reason, if it
proves to work very well as you evolve it (and a Maven 1 plugin exists! :-).
It is a huge system, with over 11,000 classes across all components, so the
tools need to work well.

Have you thought of joining Cobertura and enhancing it to do that (or is
that an uphill battle, not easily possible due to design, etc.), vs
continuing to make a another one?  There are pros and cons to everything,
and I wonder your thoughts on that...


-Original Message-
From: Arnaud Bailly [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 1:44 AM
To: Maven Users List
Subject: Re: [ANN] First release of Patchwork coverage maven plugin

"Jeff Jensen" <[EMAIL PROTECTED]> writes:

> I could not find docs on the "3 columns" of the patchwork.html report
(what
> are the values of each column?).  Do you have a doc page on that?
>

 col 1 = total number of "blocks" executed (useful to know which
 method is most often used)
 col 2 = maximum number of coverage unit for method/class/package (ie. edges
 or nodes)
 col 3 = number of coverage unit actually covered
 col 4 = coverage percentile

I will update documentation asap.

> I am very interested in solving the misleading "100% coverage" report of
> existing tools.  If patchwork can really do that, you have a big hit
> underway.
>  

Did patchwork work for you ?


regards,
-- 
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [maven 1.0.2] PMD plugin upgrade.

2007-02-26 Thread Lakshman

Hi Jeff,

I do need a newer version of ASM. 
My question was how to include it in build.properties. 

To upgrade pmd-3.9.jar we need to do the following in build.properties.
set maven.jar.override=on
maven.jar.pmd=3.9

Similarly what is the apppropriate property to set ASM, -- maven.jar.asm ?


Secondly I did upgrade the ASM  and I got the following error, and then I
got stuck. I tried to put it as a dependency in the project.xml of the
plugin and also of in the project.xml of the current project but to no
avail.

BUILD FAILED
File.. C:\mavenRepository\cache\maven-pmd-plugin-1.9\plugin.jelly
Element... cpd
Line.. 208
Column 58
edu/emory/mathcs/backport/java/util/concurrent/ThreadFactory
Total time: 15 seconds
Finished at: Tue Feb 27 13:46:15 EST 2007

When run in debug mode I get the folowing error.

Root cause
java.lang.NoClassDefFoundError:
edu/emory/mathcs/backport/java/util/concurrent/ThreadFactory
at
net.sourceforge.pmd.cpd.SourceCode.getCodeBuffer(SourceCode.java:117)
at
net.sourceforge.pmd.cpd.JavaTokenizer.tokenize(JavaTokenizer.java:28)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:97)
at net.sourceforge.pmd.cpd.CPD.add(CPD.java:50)


Much appreciate any help you can provide.

Thanks in advance
Lakshman


Jeff Jensen wrote:
> 
> Not sure, but perhaps it needs a newer version of ASM.
>  
> 
> -Original Message-
> From: Srilakshmanan, Lakshman
> [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, February 25, 2007 8:15 PM
> To: users@maven.apache.org
> Subject: [maven 1.0.2] PMD plugin upgrade.
> 
> Hi
> 
> I need to upgrade to pmd-3.9.jar. I therefore took maven-pmd-plugin-1.9
> and
> set maven.jar.override=on
> maven.jar.pmd=3.9
> 
> and got the error bellow. 
> 
> Could you please guide me on how to upgrade other jar files in
> maven-pmd-plugin-1.9 without taking fork and knife to the
> maven-pmd-plugin-1.9.jar. 
> 
> Any thoughts and suggestions are welcome.
> 
> 
> 
> [echo] Generating the PMD Report...
> pmd:report:
> [echo] Running the PMD task with
> rulesets/basic.xml,rulesets/unusedcode.xml,rulesets/imports.xml,rulesets
> /junit.xml,rulesets/strings.xml,rulesets/
> braces.xml,rulesets/codesize.xml,rulesets/coupling.xml,rulesets/strictex
> ception.xml,/Build/checkout/SensisRuleset.xml ...
> 
> BUILD FAILED
> File.. C:\mavenRepository\cache\maven-pmd-plugin-1.9\plugin.jelly
> Element... pmd
> Line.. 127
> Column 36
> org.objectweb.asm.ClassWriter.(I)V
> Total time: 14 seconds
> Finished at: Mon Feb 26 12:12:33 EST 2007
> 
> 
> Thanks
> Lakshman
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-maven-1.0.2--PMD-plugin-upgrade.-tf3290581s177.html#a9174277
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: system scope dependency

2007-02-26 Thread jiangshachina

Hi,
> What if the artifact doesn't have to be shared with others.
> Is it ok to use system scope
If you work a project with other mates,
I think it's necessary to share your artifacts with your mates.
Then your team may need a remote repository.

If you just do something by yourself, I think repository still is necessary.
Because the repository can be used by you in later projects.

I think a great advantage of Maven(repository) is that we don't care any
path of jars(artifaces).
Because they are in repository, Maven can find them automatically.
If you use system scope, you have to use absolute path.
Then the pom file must be modified, when you move the artifacts.

Of course, now that Maven provides the scope, maybe there are some reasons.
Then we may use it at some "special" cases.

a cup of Java, cheers!
Sha Jiang


Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
> 
> 
> What if the artifact doesn't have to be shared with others.
> Is it ok to use system scope
> 
> Is there any advantage in copying to repository than storing it in
> clearcase and use system scope
> 
> Thanks
>  
> 
> -Original Message-
> From: jiangshachina [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 26, 2007 6:11 PM
> To: users@maven.apache.org
> Subject: Re: [m2] system scope dependency
> 
> 
> Hello,
> All of artifacts would be in repository(local or remote).
> That's the standard way on manipulating jars(or other artifacts) by
> Maven.
> Deploying artifacts to remote repository, then they could be shared by
> more guys.
> 
> a cup of Java, cheers!
> Sha Jiang
> 
> 
> Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
> wrote:
>> 
>>  
>> I read somewhere, system scoped dependencies are not recommended.
>>  
>> Do you have any point or details on that.
>>  
>> Thanks
>>  
>>  
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a917381
> 6
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a9174250
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] system scope dependency

2007-02-26 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)

What if the artifact doesn't have to be shared with others.
Is it ok to use system scope

Is there any advantage in copying to repository than storing it in
clearcase and use system scope

Thanks
 

-Original Message-
From: jiangshachina [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 6:11 PM
To: users@maven.apache.org
Subject: Re: [m2] system scope dependency


Hello,
All of artifacts would be in repository(local or remote).
That's the standard way on manipulating jars(or other artifacts) by
Maven.
Deploying artifacts to remote repository, then they could be shared by
more guys.

a cup of Java, cheers!
Sha Jiang


Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
> 
>  
> I read somewhere, system scoped dependencies are not recommended.
>  
> Do you have any point or details on that.
>  
> Thanks
>  
>  
> 
> 

--
View this message in context:
http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a917381
6
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] maven-antrun-plugin error

2007-02-26 Thread jiangshachina

Hello,
> But after I have excuted "mvn antrun:run" , It still had no
> effect
Please try command "mvn compile" or "mvn package".
Good Luck!

a cup of Java, cheers!
Sha Jiang


秋秋 wrote:
> 
> Hi,
> I have modified the configuration like this:
>  
> 
> todir="D:/jboss-4.0.4.GA/server/claim/lib
> "
>overwrite="true">
> dir="D:/workspace/maven_itms/target/maven_itms-1.0/WEB-INF/lib"
> />
> 
> 
> 
> 
> But after I have excuted "mvn antrun:run" , It still had no
> effect.theexcution information is :
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'antrun'.
> [INFO]
> 
> [INFO] Building maven_itms Maven Webapp
> [INFO]task-segment: [antrun:run]
> [INFO]
> 
> [INFO] [antrun:run]
> [INFO] Executing tasks
> [INFO] Executed tasks
> [INFO]
> 
> [INFO] BUILD SUCCESSFUL
> [INFO]
> 
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Tue Feb 27 10:05:54 CST 2007
> [INFO] Final Memory: 3M/6M
> [INFO]
> 
> 
> Is there anything missed?
> 
> 
> 2007/2/27, jiangshachina <[EMAIL PROTECTED]>:
>>
>>
>> Hi,
>> > file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar"
>> I think the statement is wrong.
>> If you want to deal with multi-files, you may use "fileset", not
>> wildcard.
>>
>> Please try the scripts below,
>> > todir="D:/jboss-4.0.4.GA/server/claim/lib"
>>overwrite="true">
>>> />
>> 
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> 秋秋 wrote:
>> >
>> > Hi,
>> > I have used the exact path to WEB-INF directory on my file system
>> like
>> > this:
>> >
>> > 
>> > maven-antrun-plugin
>> > 
>> >   
>> >
>> > 
>> >   run
>> > 
>> > 
>> >   
>> > > > file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar"
>> > todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>> >   
>> > 
>> >   
>> > 
>> >   
>> > But when I excute "mvn antrun:run" ,It did not  copy the jars which is
>> > under
>> > the D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\
>> directory
>> > to
>> > the D:\jboss-4.0.4.GA\server\claim\lib\ directory . It seems like the
>> > antrun
>> > plugin has no effect?
>> >
>> >
>> > 2007/2/26, Ahmet Aytekin <[EMAIL PROTECTED]>:
>> >>
>> >> What do you mean "/of course,there is not a directory
>> >> *D:\workspace\maven_itms\WEB-INF\lib\*.*/ " ?
>> >> The following configuration means there is WEB-INF directory at the
>> same
>> >> level with your pom.xml.
>> >> It cannot find the WEB-INF/lib/*.* directory. Try use exact path to
>> >> WEB-INF directory on your file system in the following part.
>> >>
>> >> Try to > >> > file="WEB-INF/lib/*.*"
>> >> > todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>> >> > 
>> >>
>> >> Maruf
>> >>
>> >> sam wrote:
>> >> > HI,
>> >> > I have resolved the trouble just now.It seems like my
>> ant-1.6.5.jaris
>> >> > 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
>> >> > tasks
>> >> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> >> > DefaultLifecycleExecutor.java:559)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> >> >
>> >> > (DefaultLifecycleExecutor.java:475)
>> >> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> >> > DefaultLifecycleExecutor.java:454)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> >> >
>> >> > (DefaultLifecycleExecutor.java:306)
>> >> > at
>> >> >
>> >>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
>> (
>> >> > DefaultLifecycleExecutor.java:273)
>> >> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> >> > DefaultLifecycleExecutor.java:140)
>> >> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>> >> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>> >> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke(
>> >> > NativeMethodAccessorImpl.java:39)
>> >> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> >> > DelegatingMethodAccessorImpl.java:25)
>> >> > at java.lang.reflect.Method.invoke(Method.java:585)
>> >> > at org.codehaus.classworlds

Re: [m2] system scope dependency

2007-02-26 Thread jiangshachina

Hello,
All of artifacts would be in repository(local or remote).
That's the standard way on manipulating jars(or other artifacts) by Maven.
Deploying artifacts to remote repository, then they could be shared by more
guys.

a cup of Java, cheers!
Sha Jiang


Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
wrote:
> 
>  
> I read somewhere, system scoped dependencies are not recommended.
>  
> Do you have any point or details on that.
>  
> Thanks
>  
>  
> 
> 

-- 
View this message in context: 
http://www.nabble.com/system-scope-dependency-tf3297614s177.html#a9173816
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam

Hi,
   I have modified the configuration like this:
http://4.0.4.ga/server/claim/lib>
"
  overwrite="true">
  




But after I have excuted "mvn antrun:run" , It still had no
effect.theexcution information is :
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'antrun'.
[INFO]

[INFO] Building maven_itms Maven Webapp
[INFO]task-segment: [antrun:run]
[INFO]

[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 3 seconds
[INFO] Finished at: Tue Feb 27 10:05:54 CST 2007
[INFO] Final Memory: 3M/6M
[INFO]


Is there anything missed?


2007/2/27, jiangshachina <[EMAIL PROTECTED]>:



Hi,
> file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar"
I think the statement is wrong.
If you want to deal with multi-files, you may use "fileset", not wildcard.

Please try the scripts below,

   


a cup of Java, cheers!
Sha Jiang


秋秋 wrote:
>
> Hi,
> I have used the exact path to WEB-INF directory on my file system
like
> this:
>
> 
> maven-antrun-plugin
> 
>   
>
> 
>   run
> 
> 
>   
>  file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar"
> todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>   
> 
>   
> 
>   
> But when I excute "mvn antrun:run" ,It did not  copy the jars which is
> under
> the D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\ directory
> to
> the D:\jboss-4.0.4.GA\server\claim\lib\ directory . It seems like the
> antrun
> plugin has no effect?
>
>
> 2007/2/26, Ahmet Aytekin <[EMAIL PROTECTED]>:
>>
>> What do you mean "/of course,there is not a directory
>> *D:\workspace\maven_itms\WEB-INF\lib\*.*/ " ?
>> The following configuration means there is WEB-INF directory at the
same
>> level with your pom.xml.
>> It cannot find the WEB-INF/lib/*.* directory. Try use exact path to
>> WEB-INF directory on your file system in the following part.
>>
>> Try to > > file="WEB-INF/lib/*.*"
>> > todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>> > 
>>
>> Maruf
>>
>> sam wrote:
>> > HI,
>> > I have resolved the trouble just now.It seems like my ant-1.6.5.jaris
>> > 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
>> > tasks
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> > DefaultLifecycleExecutor.java:559)
>> > at
>> >
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> >
>> > (DefaultLifecycleExecutor.java:475)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> > DefaultLifecycleExecutor.java:454)
>> > at
>> >
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> >
>> > (DefaultLifecycleExecutor.java:306)
>> > at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(
>> > DefaultLifecycleExecutor.java:273)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> > DefaultLifecycleExecutor.java:140)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke(
>> > NativeMethodAccessorImpl.java:39)
>> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > DelegatingMethodAccessorImpl.java:25)
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
>> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> > at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>> > executing
>> > ant tasks
>> > at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
>> > AbstractAntMojo.java:114)
>> > at
>> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
>> > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> > DefaultPluginManager.java:412)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> > DefaultLifecycleExecutor.java:534)
>> > ... 16 more
>> > *Caused by: Warnin

system scope dependency

2007-02-26 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
 
I read somewhere, system scoped dependencies are not recommended.
 
Do you have any point or details on that.
 
Thanks
 
 


Re: [m2] maven-antrun-plugin error

2007-02-26 Thread jiangshachina

Hi,
> file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar" 
I think the statement is wrong.
If you want to deal with multi-files, you may use "fileset", not wildcard.

Please try the scripts below,




a cup of Java, cheers!
Sha Jiang


秋秋 wrote:
> 
> Hi,
> I have used the exact path to WEB-INF directory on my file system like
> this:
> 
> 
> maven-antrun-plugin
> 
>   
> 
> 
>   run
> 
> 
>   
>  file="D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar"
> todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>   
> 
>   
> 
>   
> But when I excute "mvn antrun:run" ,It did not  copy the jars which is
> under
> the D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\ directory
> to
> the D:\jboss-4.0.4.GA\server\claim\lib\ directory . It seems like the
> antrun
> plugin has no effect?
> 
> 
> 2007/2/26, Ahmet Aytekin <[EMAIL PROTECTED]>:
>>
>> What do you mean "/of course,there is not a directory
>> *D:\workspace\maven_itms\WEB-INF\lib\*.*/ " ?
>> The following configuration means there is WEB-INF directory at the same
>> level with your pom.xml.
>> It cannot find the WEB-INF/lib/*.* directory. Try use exact path to
>> WEB-INF directory on your file system in the following part.
>>
>> Try to > > file="WEB-INF/lib/*.*"
>> > todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>> > 
>>
>> 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
>> > org.apache.maven.lifecycle.LifecycleExecutionException: Error
>> > executing ant
>> > tasks
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> > DefaultLifecycleExecutor.java:559)
>> > at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>> >
>> > (DefaultLifecycleExecutor.java:475)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
>> > DefaultLifecycleExecutor.java:454)
>> > at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>> >
>> > (DefaultLifecycleExecutor.java:306)
>> > at
>> >
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
>> > DefaultLifecycleExecutor.java:273)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
>> > DefaultLifecycleExecutor.java:140)
>> > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>> > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>> > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> > at sun.reflect.NativeMethodAccessorImpl.invoke(
>> > NativeMethodAccessorImpl.java:39)
>> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> > DelegatingMethodAccessorImpl.java:25)
>> > at java.lang.reflect.Method.invoke(Method.java:585)
>> > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>> > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>> > at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> > at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>> > executing
>> > ant tasks
>> > at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
>> > AbstractAntMojo.java:114)
>> > at
>> org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
>> > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
>> > DefaultPluginManager.java:412)
>> > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
>> > DefaultLifecycleExecutor.java:534)
>> > ... 16 more
>> > *Caused by: Warning: Could not find file
>> > D:\workspace\maven_itms\WEB-INF\lib\*.* to copy.
>> > at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:394)
>> > * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
>> :275)
>> > at org.apache.tools.ant.Task.perform(Task.java:364)
>> > at org.apache.tools.ant.Target.execute(Target.java:341)
>> > at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
>> > AbstractAntMojo.java:108)
>> > ... 19 more
>> > of course,there is not a directory
>> > *D:\workspace\maven_itms\WEB-INF\lib\*.*
>> > ,*
>> > * I just want to deploy all of the 3th party jars in the directory
>> > $JBOSS_HOME/server/ProjectName/lib.
>> > * For now,I have added configuration like this:
>> > 
>> > 
>> > .
>> > .
>> > .
>> > 
>> > maven-antrun-plugin
>> > 
>> > 
>> > generate-resources
>> > 
>> > run
>> > 
>> > 
>> > 
>> > > > todir="D:\jboss-4.0.4.GA\server\claim\lib\"*>
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> >
>> >
>> >
>> >
>> > 2007/2/26, jiangshachina <[EMAIL PROTECTED]>:
>> >>
>> >>
>> >> Hello,

Re: [m2] maven-antrun-plugin error

2007-02-26 Thread sam

Hi,
   I have used the exact path to WEB-INF directory on my file system like
this:


   maven-antrun-plugin
   
 

   
 run
   
   
 
   
 
   
 
   
 
But when I excute "mvn antrun:run" ,It did not  copy the jars which is under
the D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\ directory to
the D:\jboss-4.0.4.GA\server\claim\lib\ directory . It seems like the antrun
plugin has no effect?


2007/2/26, Ahmet Aytekin <[EMAIL PROTECTED]>:


What do you mean "/of course,there is not a directory
*D:\workspace\maven_itms\WEB-INF\lib\*.*/ " ?
The following configuration means there is WEB-INF directory at the same
level with your pom.xml.
It cannot find the WEB-INF/lib/*.* directory. Try use exact path to
WEB-INF directory on your file system in the following part.

Try to  file="WEB-INF/lib/*.*"
> todir="D:\jboss-4.0.4.GA\server\claim\lib\">
> 

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
> org.apache.maven.lifecycle.LifecycleExecutionException: Error
> executing ant
> tasks
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:559)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>
> (DefaultLifecycleExecutor.java:475)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
> at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>
> (DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> executing
> ant tasks
> at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
> AbstractAntMojo.java:114)
> at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:412)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:534)
> ... 16 more
> *Caused by: Warning: Could not find file
> D:\workspace\maven_itms\WEB-INF\lib\*.* to copy.
> at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:394)
> * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java
:275)
> at org.apache.tools.ant.Task.perform(Task.java:364)
> at org.apache.tools.ant.Target.execute(Target.java:341)
> at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(
> AbstractAntMojo.java:108)
> ... 19 more
> of course,there is not a directory
> *D:\workspace\maven_itms\WEB-INF\lib\*.*
> ,*
> * I just want to deploy all of the 3th party jars in the directory
> $JBOSS_HOME/server/ProjectName/lib.
> * For now,I have added configuration like this:
> 
> 
> .
> .
> .
> 
> maven-antrun-plugin
> 
> 
> generate-resources
> 
> run
> 
> 
> 
>  todir="D:\jboss-4.0.4.GA\server\claim\lib\"*>
> 
> 
> 
> 
> 
> 
> 
> 
>
>
>
>
> 2007/2/26, jiangshachina <[EMAIL PROTECTED]>:
>>
>>
>> Hello,
>> You always encountered some "strange" trouble :-D
>> May other friends can help you ^_^
>> I'm very sorry.
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> 秋秋 wrote:
>> >
>> > HI,
>> > jiagsha,Long time no see,I use the maven-antrun-plugin by the method
>> > you
>> > gave last time,I have done this configuration:
>> > 
>> > maven-antrun-plugin
>> > 
>> > 
>> > generate-resources
>> > 
>> > run
>> > 
>> > 
>> > 
>> > > > file="WEB-INF/lib/*.*"
>> > todir="D:\jboss-4.0.4.GA\server\claim\lib\">
>> > 
>> > 
>> > 
>> > 
>> > 
>> > 
>> >
>> > but when I excute "compile",It still report a error:
>> >
>> >
>> >
>> > + Error stacktraces are turned on.
>> > Maven version: 2.0.4
>> > [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
>> and
>> > Settings\Administrator\.m2\plugin-registry.xml'

RE: Assembly plugin bug?

2007-02-26 Thread Randall Fidler
Jo,

Wow, that explanation was insightful.  Have you had an luck with
unpacking excludes?  I.e. if I want to jar together a bunch of other
"unpacked" jars and exclude any *.txt (for example) files.

I've tried an assembly descriptor that looks like:


  
  
true


**/*.txt
/*.txt
*.txt




But it just refuses to "exclude" the txt files in the dependency jars and
then end up in my final executable jar.

Any clues?

Thanks,

Randall 

NOTE: I posted this question about a week ago but didn't get a response that
I'm aware of so if somebody did answer this already, my apologies.

-Original Message-
From: Jo Vandermeeren [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 12:10 PM
To: Maven Users List
Subject: Re: Assembly plugin bug?

Hi Tommy,

That's no bug.. The assembly plugin filters resources on a per-file basis,
it doesn't apply filtering on fileSets.

So, define a file set for all files that don't need filtering and add
excludes for files that you want to filter..
Then, define  elements for the files that you wan to filter and set
 to true on them..

Here's a snippet:


  blabla
  
zip
  
  

  ${basedir}
  *.sh
  
install.sh
  

  
  

  install.sh
  /
  true

  




Cheers
Jo

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use the maven-assembly-plugin to build a zip that
> contains an install.sh at the top level, along with some arbitrary
> other artifacts.
>
> I want the install.sh source to be filtered so that certain build-time
> variables will be run-time literals.
>
> I've tried to compose an assembly descriptor to do this, but Maven2 is
> telling me about the "Unrecognized tag: 'filtered'".
>
> I wonder whether anybody here that is familiar with the
> maven-assembly-plugin can tell me what I've done wrong?
>
> My assembly descriptor looks like the following:
>
> 
> overlay
> 
> zip
> 
> 
> 
> src/main/bash
> true  
> 
> 
> install.sh
> 
> 
> 
> target
> 
> 
> *.jar
> 
> 
> 
> 
>
> Thanks,
> --
> Tommy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
BEGIN:VCARD
VERSION:2.1
N:Fidler;Randall
FN:Randall Fidler
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050926T075331Z
END:VCARD


smime.p7s
Description: S/MIME cryptographic signature


Getting the latest versions from CVS

2007-02-26 Thread Ross, Bryan M
I am just trying to get started with M2. My source files are managed in
CVS, and when I do a compile, I want to compile with the latest versions
of my files in src. Essentially, I want to do a CVS update prior to
compiling class files. I have attempted to use SNAPSHOT versions along
with the -U flag (i.e., mvn -U compile)  to ensure I get the latest, but
I must still not be doing something right, because I don't get updated
files from the source repository. Any guidance would be greatly
appreciated. Thanks.

My POM:
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
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  project.agps
  jagps-maven
  jar
  1.0-SNAPSHOT
  Maven Quick Start Archetype
  http://maven.apache.org
  

  junit
  junit
  3.8.1
  test


  lib
  VisLib.jar
  1.0-SNAPSHOT


 ...a bunch of other libraries...
  lib
  utils.jar
  1.0-SNAPSHOT

  
  

  
org.apache.maven.plugins
maven-compiler-plugin
2.0

  1.5
  1.5

  

  






Thanks...



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: continuum 1.1 snapshot that works under tomcat 5.5.x

2007-02-26 Thread Neon

Wendy,

Thank-you so much.

This does the job. But just to help out others on the list or searching the
list. I will include the main steps from the mini guide
at http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
(Note, please check the above URL for any updated instructions)

1. Build Continuum or obtain a pre-built snapshot.

2. Locate the continuum-webapp-1.1-SNAPSHOT.war file. (If you built
Continuum, it will be in continuum-webapp/target.)

3. Add a context configuration file for the web application:

$TOMCAT_HOME/conf/Catalina/localhost/continuum.xml











*WARNING:* The Tomcat 5.5.20 release is missing MailSessionFactory and a few
other classes. JNDI mail sessions will *not* work. Either use Tomcat
5.5.17or see Bug
40668  for a
workaround.

Tomcat JNDI Resources
HOWTO

4. Place the following jars in $TOMCAT_HOME/common/lib:
(click the links to download each jar from the central Maven repository)

  - Derby 10.1.3.1
derby-10.1.3.1.jar
  - Java Mail 1.4
mail-1.4.jar
  - Java Activation Framework 1.1
activation-1.1.jar

5. Start Tomcat
6. Access the application at http://localhost:8080/continuum

The guide then goes on with some option configuration (see above URL for
these)

Cheers,

Neon

On 2/26/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 2/26/07, Neon <[EMAIL PROTECTED]> wrote:

> Are there any stable continuum 1.1 snapshots/nightly builds that will
work
> out of the box.
>
> I have downloaded several snapshots from the below site, but none of
them
> seem to "work" out of the box.
> http://maven.zones.apache.org/~continuum/builds/trunk/

It's not going to work out of the box, you need to configure the data
sources and put jars in $TOMCAT_HOME/common/lib.

Here are instructions for Tomcat:
   http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat

(You may need to create an account and log in, that space does not
seem to be visible to the general public.)

--
Wendy


Re: proxy 4 scm

2007-02-26 Thread Jo Vandermeeren

Hi there,

You could setup firewall-friendly SCM access by using subversion+webdav..
http://subversion.tigris.org/webdav-usage.html

Cheers
Jo

On 2/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


where can I set a proxy for scm activities of continuum if i'm behind a
firewall? starting jboss with -Dhttp.proxyHost=somehost etc. don't
succeed





RE: Hibernate3:hbm2doc

2007-02-26 Thread Johann Reyes
Hello Jim

Thanks for the patch, and yeah, if you could send me the info about the
hbm2doc, if would be a good example to add to the examples section for the
doco.

Regards

Johann Reyes

-Original Message-
From: Crossley, Jim [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 23, 2007 10:40 AM
To: Maven Users List
Subject: RE: Hibernate3:hbm2doc

Hi Johann,

I patched the plugin to make it work.  I'll attach it to MOJO-530.  The
one currently there won't work with the head revision.

I'd like to help you figure out how to integrate the hbm2doc goal into
Maven's site generation.  Have you considered that?

Thanks,
Jim 

-Original Message-
From: Johann Reyes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 22, 2007 1:33 PM
To: 'Maven Users List'
Subject: RE: Hibernate3:hbm2doc

Hello Jim

Actually I thought I added support for graphviz but doesn't look like
it.
I'll be adding the support for that for the next version of the plugin.
Right now the plugin is in the process of being voted to be released so
I won't be doing any changes until the vote process finishes.

Regards

Johann Reyes

-Original Message-
From: Crossley, Jim [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 10:31 AM
To: Maven Users List
Subject: Hibernate3:hbm2doc

Hi.

I'm looking to take advantage of hibernate-tools' abililty to generate a
graph of my entity relationships.  After looking at MOJO-544 and
MOJO-530, I thought it might be as easy as applying the attached patch
to the source and setting the dotExecutable property, but that didn't
work.

I notice the hibernate-tools dep version is 3.2-beta9a -- is that newer
than beta9?  Should the graphviz stuff be in there?

Any other ideas how to generate an ER diagram of my EJB3 entities and
include it in my site docs?

Thanks,
Jim

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie question: single project spanning multiple repository locations

2007-02-26 Thread Jo Vandermeeren

hi Dirk,

You need to define each repository location as a maven module in a
pom-packaged parent project.

Once you've done this, you could add the pom to continuum and it will create
5 entries: 1 for each trunk and 1 for the parent.
You could easily setup continuum to enable recursive builds. This will
trigger the builds of the child modules when the parent module gets built.
But then you'll probably want to remove the continuum entries for the child
modules.

This is very easy, because it's the default maven behaviour..
Continuum adds by default the "non-recursive" flag to a project build,
because otherwise the child modules would be built twice.

You will get 4 artifacts (jars probably) representing each trunk (if they
are seperately compilable)..

Here's some information on enabling a recursive build:
http://maven.apache.org/continuum/faqs.html#build-entire-project-recursively-from-parent

Good luck
Jo


On 2/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi,

we have an older project that -unfortunately- spans multiple repository
locations:

scm:svn://ourserver.com/repositories/ABRAHAM/basis/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/dev/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/access/trunk/
scm:svn://ourserver.com/repositories/ABRAHAM/hwm/trunk/

The main build file build.xml resides in basis/trunk. Before the build can
beding, all 4 trunks must be checked out to 4 different directories side
by side: basis/, dev/, access/ and hwm/.

How can I define a single Continuum project for this kind of setup?

Thanks, in advance,
Dirk.




Re: create test classes

2007-02-26 Thread Jo Vandermeeren

Hi Martin,

First, your question should be asked in users@maven.apache.org since it is a
maven question and not really continuum-related.

Unfortunately Maven can not generate test classes automatically for you :-)

Just add the "test" directory under "src" and start adding test cases for
your classes in the same way like you add classes to your main source tree..

By default, maven will treat java files - that comply with the naming
pattern - in directory "src/test" as test cases..
They will automatically be compiled and executed before you package your
artifact..

Have fun
Jo

On 2/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hi, i need a help.
I´m using maven burt... i didn´t create the project with maven using
archetype plugin, but now, i want create the src/test for each java
class of my project.
How can i do it?

Thanks and goodbye

--
Al fin y al cabo, somos lo que hacemos para
cambiar lo que somos.

Eduardo Galeano.



Re: inheriting parent version number in child poms

2007-02-26 Thread Jo Vandermeeren

Hi Satish,

Currently there is no Accurev SCM integration for maven..
I myself haven't been in a situation where my SCM was not supported :)

Two things you could give a try though..

1. Use the release plugin with the "dryRun" parameter set to true..
This will perform all release preparation actions (including versioning) but
doesn't check anything into SCM..
"mvn -DdryRun=true release:prepare"


2. Use the release plugin with the file system SCM..


You can then commit the modified files manually to accurev..

http://maven.apache.org/plugins/maven-release-plugin


Good luck
Jo


On 2/26/07, Terala, Satish (IS Consultant) <[EMAIL PROTECTED]>
wrote:


Jo
Thanks for the quick reply.

I tried using the release plugin , but it expects the SCM tool to be
available I guess. I use Accurev as my SCM tool , and I don't think
there is any accurev integration for maven yet.

Is there any other alternative or am I stuck now?

-Satish


-Original Message-
From: Jo Vandermeeren [mailto:[EMAIL PROTECTED]
Sent: Monday, February 26, 2007 3:25 PM
To: Maven Users List
Subject: Re: inheriting parent version number in child poms

Hi Satish,

I guess you're adjusting the parent version manually? This doesn't get
picked up by the child modules since in the child poms you're still
referencing the parent with its old version.

You could always use the release-plugin to release your versions (which
is
the preferred way to cut a release)..
A "release:prepare" will iterate through the modules of a POM project
and
prompt you for the desired version to set on them (defaults are usually
just
fine)..

Cheers
Jo

On 2/26/07, Terala, Satish (IS Consultant) <[EMAIL PROTECTED]>
wrote:
>
> I believe this problem has already been discussed in the maven
community
> as I see a jira that was opened. I am not quite sure if there is a
> solution yet.
>
> Here is the Jira
>
http://jira.codehaus.org/browse/MNG-521?page=com.atlassian.jira.plugin.s
> ystem.issuetabpanels:comment-tabpanel#action_42869
>
>
> Problem :
> I want to update the version number of my application (ear with
multiple
> jars and wars) at the parent level and propogate it to the children. I
> update the version element of the parent pom but that only create a
new
> parent pom definition , but the children continue to build with old
> version.
>
> The only way I can force each child project version change is by
> modifying the version number in the parent element of the child pom's.
> Given that my parent project has about 10 sub projects (hence poms')
> what is the correct solution to do this.
>
> I tried using the ${project.version} attribute , but that does'nt help
> since the child pom's only use the version value defined in the parent
'
> version  element of their pom.
>
> Thanks
> -satish
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: inheriting parent version number in child poms

2007-02-26 Thread Terala, Satish \(IS Consultant\)
Jo
Thanks for the quick reply. 

I tried using the release plugin , but it expects the SCM tool to be
available I guess. I use Accurev as my SCM tool , and I don't think
there is any accurev integration for maven yet.

Is there any other alternative or am I stuck now?

-Satish


-Original Message-
From: Jo Vandermeeren [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 26, 2007 3:25 PM
To: Maven Users List
Subject: Re: inheriting parent version number in child poms

Hi Satish,

I guess you're adjusting the parent version manually? This doesn't get
picked up by the child modules since in the child poms you're still
referencing the parent with its old version.

You could always use the release-plugin to release your versions (which
is
the preferred way to cut a release)..
A "release:prepare" will iterate through the modules of a POM project
and
prompt you for the desired version to set on them (defaults are usually
just
fine)..

Cheers
Jo

On 2/26/07, Terala, Satish (IS Consultant) <[EMAIL PROTECTED]>
wrote:
>
> I believe this problem has already been discussed in the maven
community
> as I see a jira that was opened. I am not quite sure if there is a
> solution yet.
>
> Here is the Jira
>
http://jira.codehaus.org/browse/MNG-521?page=com.atlassian.jira.plugin.s
> ystem.issuetabpanels:comment-tabpanel#action_42869
>
>
> Problem :
> I want to update the version number of my application (ear with
multiple
> jars and wars) at the parent level and propogate it to the children. I
> update the version element of the parent pom but that only create a
new
> parent pom definition , but the children continue to build with old
> version.
>
> The only way I can force each child project version change is by
> modifying the version number in the parent element of the child pom's.
> Given that my parent project has about 10 sub projects (hence poms')
> what is the correct solution to do this.
>
> I tried using the ${project.version} attribute , but that does'nt help
> since the child pom's only use the version value defined in the parent
'
> version  element of their pom.
>
> Thanks
> -satish
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Generating APT-files

2007-02-26 Thread Roland Asmann
Thank you very much.. I guess I should've looked before I asked... :-)
Still I think it would be a good idea to add this kind of info to the 
plugin-sites.


On Monday 26 February 2007 21:26, Gregory Kick wrote:
> The page that I usually go to for lifecycles is:
>
> http://docs.codehaus.org/display/MAVENUSER/introduction-to-the-lifecycle
>
> It's a bit of a pain to switch back and forth between the maven site
> and the wiki, but there's some good stuff there.
>
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Got it running now, thanks!
> >
> > One question though, how come I can't find anything about the site's
> > lifecycle on the maven-pages? Might be a good idea to post the
> > life-cycles there (like the standard lifecycle for building packages).
> >
> > On Monday 26 February 2007 21:10, Wendy Smoak wrote:
> > > On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > > > So, what does goals does the 'mvn site' run compared to 'mvn
> > > > site:site'?
> > >
> > > The site lifecycle is: pre-site, site, post-site, site-deploy
> > >
> > > Maven will run any plugin goals bound to those phases, up to and
> > > including the phase you specify.  So, anything you've bound to the
> > > phases, plus anything bound by default.  I don't know offhand what the
> > > site plugin does in each phase, I'd have to look.
> > >
> > > When you execute 'mvn site:site' you are only running a single goal on
> > > a single plugin.
> >
> > --
> > Roland Asmann
> >
> > CFC Informationssysteme Entwicklungsgesellschaft m.b.H
> > Bäckerstrasse 1/2/7
> > A-1010 Wien
> > FN 266155f, Handelsgericht Wien
> >
> > Tel.: +43/1/513 88 77 - 27
> > Fax.: +43/1/513 88 62
> > Email: [EMAIL PROTECTED]
> > Web: www.cfc.at
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



create test classes

2007-02-26 Thread martin . villalobos

Hi, i need a help.
I´m using maven burt... i didn´t create the project with maven using
archetype plugin, but now, i want create the src/test for each java
class of my project.
How can i do it?

Thanks and goodbye

--
Al fin y al cabo, somos lo que hacemos para
cambiar lo que somos.

   Eduardo Galeano.


Re: Generating APT-files

2007-02-26 Thread Gregory Kick

The page that I usually go to for lifecycles is:

http://docs.codehaus.org/display/MAVENUSER/introduction-to-the-lifecycle

It's a bit of a pain to switch back and forth between the maven site
and the wiki, but there's some good stuff there.

On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:

Got it running now, thanks!

One question though, how come I can't find anything about the site's lifecycle
on the maven-pages? Might be a good idea to post the life-cycles there (like
the standard lifecycle for building packages).


On Monday 26 February 2007 21:10, Wendy Smoak wrote:
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > So, what does goals does the 'mvn site' run compared to 'mvn site:site'?
>
> The site lifecycle is: pre-site, site, post-site, site-deploy
>
> Maven will run any plugin goals bound to those phases, up to and
> including the phase you specify.  So, anything you've bound to the
> phases, plus anything bound by default.  I don't know offhand what the
> site plugin does in each phase, I'd have to look.
>
> When you execute 'mvn site:site' you are only running a single goal on
> a single plugin.

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Gregory Kick
[EMAIL PROTECTED]


Re: inheriting parent version number in child poms

2007-02-26 Thread Jo Vandermeeren

Hi Satish,

I guess you're adjusting the parent version manually? This doesn't get
picked up by the child modules since in the child poms you're still
referencing the parent with its old version.

You could always use the release-plugin to release your versions (which is
the preferred way to cut a release)..
A "release:prepare" will iterate through the modules of a POM project and
prompt you for the desired version to set on them (defaults are usually just
fine)..

Cheers
Jo

On 2/26/07, Terala, Satish (IS Consultant) <[EMAIL PROTECTED]>
wrote:


I believe this problem has already been discussed in the maven community
as I see a jira that was opened. I am not quite sure if there is a
solution yet.

Here is the Jira
http://jira.codehaus.org/browse/MNG-521?page=com.atlassian.jira.plugin.s
ystem.issuetabpanels:comment-tabpanel#action_42869


Problem :
I want to update the version number of my application (ear with multiple
jars and wars) at the parent level and propogate it to the children. I
update the version element of the parent pom but that only create a new
parent pom definition , but the children continue to build with old
version.

The only way I can force each child project version change is by
modifying the version number in the parent element of the child pom's.
Given that my parent project has about 10 sub projects (hence poms')
what is the correct solution to do this.

I tried using the ${project.version} attribute , but that does'nt help
since the child pom's only use the version value defined in the parent '
version  element of their pom.

Thanks
-satish



Re: Generating APT-files

2007-02-26 Thread Roland Asmann
Got it running now, thanks!

One question though, how come I can't find anything about the site's lifecycle 
on the maven-pages? Might be a good idea to post the life-cycles there (like 
the standard lifecycle for building packages).


On Monday 26 February 2007 21:10, Wendy Smoak wrote:
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > So, what does goals does the 'mvn site' run compared to 'mvn site:site'?
>
> The site lifecycle is: pre-site, site, post-site, site-deploy
>
> Maven will run any plugin goals bound to those phases, up to and
> including the phase you specify.  So, anything you've bound to the
> phases, plus anything bound by default.  I don't know offhand what the
> site plugin does in each phase, I'd have to look.
>
> When you execute 'mvn site:site' you are only running a single goal on
> a single plugin.

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: continuum 1.1 snapshot that works under tomcat 5.5.x

2007-02-26 Thread Wendy Smoak

On 2/26/07, Neon <[EMAIL PROTECTED]> wrote:


Are there any stable continuum 1.1 snapshots/nightly builds that will work
out of the box.

I have downloaded several snapshots from the below site, but none of them
seem to "work" out of the box.
http://maven.zones.apache.org/~continuum/builds/trunk/


It's not going to work out of the box, you need to configure the data
sources and put jars in $TOMCAT_HOME/common/lib.

Here are instructions for Tomcat:
  http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat

(You may need to create an account and log in, that space does not
seem to be visible to the general public.)

--
Wendy


inheriting parent version number in child poms

2007-02-26 Thread Terala, Satish \(IS Consultant\)
I believe this problem has already been discussed in the maven community
as I see a jira that was opened. I am not quite sure if there is a
solution yet.

Here is the Jira
http://jira.codehaus.org/browse/MNG-521?page=com.atlassian.jira.plugin.s
ystem.issuetabpanels:comment-tabpanel#action_42869 


Problem :
I want to update the version number of my application (ear with multiple
jars and wars) at the parent level and propogate it to the children. I
update the version element of the parent pom but that only create a new
parent pom definition , but the children continue to build with old
version. 

The only way I can force each child project version change is by
modifying the version number in the parent element of the child pom's.
Given that my parent project has about 10 sub projects (hence poms')
what is the correct solution to do this. 

I tried using the ${project.version} attribute , but that does'nt help
since the child pom's only use the version value defined in the parent '
version  element of their pom.

Thanks
-satish


Re: Generating APT-files

2007-02-26 Thread Wendy Smoak

On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:


So, what does goals does the 'mvn site' run compared to 'mvn site:site'?


The site lifecycle is: pre-site, site, post-site, site-deploy

Maven will run any plugin goals bound to those phases, up to and
including the phase you specify.  So, anything you've bound to the
phases, plus anything bound by default.  I don't know offhand what the
site plugin does in each phase, I'd have to look.

When you execute 'mvn site:site' you are only running a single goal on
a single plugin.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



continuum 1.1 snapshot that works under tomcat 5.5.x

2007-02-26 Thread Neon

Are there any stable continuum 1.1 snapshots/nightly builds that will work
out of the box.

I have downloaded several snapshots from the below site, but none of them
seem to "work" out of the box.
http://maven.zones.apache.org/~continuum/builds/trunk/

I interested in a Continuum 1.1 snapshot war that will work under Tomcat
5.5.20, but
I always get some exception during started and cannot access my local
continuum 1.1 snapshot.

I believe the WAR should work under most servlet engines, especially Tomcat
and JBoss.
I get a slew of Exceptions when I deploy the continuum 1.1 nightly snapshot
WARs on my linux box. See below for a sample of these exceptions from my
Tomcat logs.

Maybe, I just need a quick guide on how to get the Continuum 1.1 nightly
snapshot deployable under tomcat.

Regards,

Neon
- errors from tomcat logs -
Feb 23, 2007 8:14:27 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive continuum-20070223.11.war
log4j:WARN No appenders could be found for logger (
org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /logs/continuum.log (No such file or
directory)
   at java.io.FileOutputStream.openAppend(Native Method)
   at java.io.FileOutputStream.(FileOutputStream.java:177)
   at java.io.FileOutputStream.(FileOutputStream.java:102)
   at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
   at org.apache.log4j.FileAppender.activateOptions(FileAppender.java
:151)
   at org.apache.log4j.DailyRollingFileAppender.activateOptions(
DailyRollingFileAppender.java:206)
   at org.apache.log4j.config.PropertySetter.activate(
PropertySetter.java:247)
   at org.apache.log4j.config.PropertySetter.setProperties(
PropertySetter.java:123)
   at org.apache.log4j.config.PropertySetter.setProperties(
PropertySetter.java:87)
   at org.apache.log4j.PropertyConfigurator.parseAppender(
PropertyConfigurator.java:645)
   at org.apache.log4j.PropertyConfigurator.parseCategory(
PropertyConfigurator.java:603)
   at org.apache.log4j.PropertyConfigurator.configureRootCategory(
PropertyConfigurator.java:500)
   at org.apache.log4j.PropertyConfigurator.doConfigure(
PropertyConfigurator.java:406)
   at org.apache.log4j.PropertyConfigurator.configure(
PropertyConfigurator.java:340)
   at org.codehaus.plexus.logging.log4j.Log4JLoggerManager.start(
Log4JLoggerManager.java:299)
   at
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(
StartPhase.java:33)
   at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(
AbstractLifecycleHandler.java:130)
   at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle
(AbstractComponentManager.java:143)
   at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance
(AbstractComponentManager.java:133)
   at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent
(ClassicSingletonComponentManager.java:87)
   at org.codehaus.plexus.DefaultComponentLookupManager.lookup(
DefaultComponentLookupManager.java:101)
   at org.codehaus.plexus.DefaultPlexusContainer.lookup(
DefaultPlexusContainer.java:313)
   at org.codehaus.plexus.DefaultPlexusContainer.lookup(
DefaultPlexusContainer.java:291)
   at
org.codehaus.plexus.container.initialization.InitializeLoggerManagerPhase.initializeCoreComponent
(InitializeLoggerManagerPhase.java:43)
   at
org.codehaus.plexus.container.initialization.AbstractCoreComponentInitializationPhase.execute
(AbstractCoreComponentInitializationPhase.java:37)
   at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(
DefaultPlexusContainer.java:928)
   at org.codehaus.plexus.DefaultPlexusContainer.initialize(
DefaultPlexusContainer.java:876)
   at org.codehaus.plexus.DefaultPlexusContainer.construct(
DefaultPlexusContainer.java:853)
   at org.codehaus.plexus.DefaultPlexusContainer.(
DefaultPlexusContainer.java:222)
   at org.codehaus.plexus.DefaultPlexusContainer.(
DefaultPlexusContainer.java:236)
   at
org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(
PlexusLifecycleListener.java:76)
   at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3631)
   at org.apache.catalina.core.StandardContext.start(
StandardContext.java:4065)
   at org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.java:755)
   at org.apache.catalina.core.ContainerBase.addChild(
ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
:525)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
:777)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
:672)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfi

Re: [m2] Eclipse, Hibernate Tools

2007-02-26 Thread John J. Franey




Lally Singh wrote:
> 
> nothing's getting generated into
> src/main/resources  (that's just got the original cocoon & spring
> stuff in it).  Is there another maven target I should run?
> 

Correct. maven will not write into src/main/resources.

Hibernate library reads certain configuration files.  See hibernate
documentation for help on these and their contents.   A developer would
layout a project with these hibernate configuration files in
src/main/resources.  Without further configuration, maven picks them up and
puts them into the build output directory (target).

Regards,
John


-- 
View this message in context: 
http://www.nabble.com/Eclipse%2C-Hibernate-Tools-tf3290726s177.html#a9167832
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Edney Imme

OK,
It still fails,

I be crazy

thank you everybody


On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


This is getting a really long thread..

Edney.. Delete your settings.xml file, create a new one and copy/paste the
content below into it:



   
   
   true
   http
   10.1.1.15
   8015
   Eimme
   EdNeYMImem
   
   



Then, try to install your jar again..
If the install still fails, you're going to have to ask your network guy
for
help on how to set this up since neither maven or this mailing list can do
anything about your network connectivity issues..

Cheers
Jo


On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> And how i do to get this install plugin from maven repository ???
>
> My proxy settings are correct. I'm sure about that.
>





--
Att.
Edney Marcel Imme


Re: Assembly plugin bug?

2007-02-26 Thread Brad Szabo
There already is a JIRA issue about the lack of filtering support within
filesets. Feel free to vote on it if you would like :)

http://jira.codehaus.org/browse/MASSEMBLY-154

-Brad

On Mon, 2007-02-26 at 20:49 +0100, Jo Vandermeeren wrote:
> Hi Tommy,
> 
> Well.. You could file a jira issue for that if it bothers you ;)
> Usually the standard plugins have good examples though:
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
> 
> Glad to see that you got it on track..
> 
> Cheers
> Jo
> 
> On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> >
> > Yes, that works. And I also verified that the description of the xml
> > on the assembly descriptor web page incorrectly indicates that
> >  tag is a child of . (I didn't think I had
> > hallucinated that...)
> >
> > Thanks again.
> >
> > On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> > > Thanks, Jo. I'll give that a try. Perhaps this is what confused me:
> > > http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > Hi Tommy,
> > > >
> > > > That's no bug.. The assembly plugin filters resources on a per-file
> > basis,
> > > > it doesn't apply filtering on fileSets.
> > > >
> > > > So, define a file set for all files that don't need filtering and add
> > > > excludes for files that you want to filter..
> > > > Then, define  elements for the files that you wan to filter and
> > set
> > > >  to true on them..
> > > >
> > > > Here's a snippet:
> > > >
> > > > 
> > > >   blabla
> > > >   
> > > > zip
> > > >   
> > > >   
> > > > 
> > > >   ${basedir}
> > > >   *.sh
> > > >   
> > > > install.sh
> > > >   
> > > > 
> > > >   
> > > >   
> > > > 
> > > >   install.sh
> > > >   /
> > > >   true
> > > > 
> > > >   
> > > > 
> > > >
> > > >
> > > >
> > > > Cheers
> > > > Jo
> > > >
> > > > On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I'm trying to use the maven-assembly-plugin to build a zip that
> > > > > contains an install.sh at the top level, along with some arbitrary
> > > > > other artifacts.
> > > > >
> > > > > I want the install.sh source to be filtered so that certain
> > build-time
> > > > > variables will be run-time literals.
> > > > >
> > > > > I've tried to compose an assembly descriptor to do this, but Maven2
> > is
> > > > > telling me about the "Unrecognized tag: 'filtered'".
> > > > >
> > > > > I wonder whether anybody here that is familiar with the
> > > > > maven-assembly-plugin can tell me what I've done wrong?
> > > > >
> > > > > My assembly descriptor looks like the following:
> > > > >
> > > > > 
> > > > > overlay
> > > > > 
> > > > > zip
> > > > > 
> > > > > 
> > > > > 
> > > > > src/main/bash
> > > > > true  
> > > > > 
> > > > > 
> > > > > install.sh
> > > > > 
> > > > > 
> > > > > 
> > > > > target
> > > > > 
> > > > > 
> > > > > *.jar
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > > > > Thanks,
> > > > > --
> > > > > Tommy
> > > > >
> > > > >
> > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > --
> > > Tommy
> > >
> >
> >
> > --
> > --
> > Tommy
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem building war file

2007-02-26 Thread Jo Vandermeeren

Hi Enrique,

Well.. Do you add a BuildVersion attribute to the manifest someplace else?

Cheers
Jo

On 2/26/07, Enrique Gaona <[EMAIL PROTECTED]> wrote:



Hi,
I'm running into problems building my war file.  Inside my parent pom, I
am
adding entry to my manifest file, but when it creates the war file, it
complains about an Embedded error.   Anyone seen this before?



maven-war-plugin




${buildNumber}





[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error assembling WAR

Embedded error: The attribute "BuildVersion" may not occur more than once
in the same section
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 minutes 52 seconds
[INFO] Finished at: Mon Feb 26 12:28:34 CST 2007
[INFO] Final Memory: 40M/110M
[INFO]


Thanks

Enrique



Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

This is getting a really long thread..

Edney.. Delete your settings.xml file, create a new one and copy/paste the
content below into it:



  
  
  true
  http
  10.1.1.15
  8015
  Eimme
  EdNeYMImem
  
  



Then, try to install your jar again..
If the install still fails, you're going to have to ask your network guy for
help on how to set this up since neither maven or this mailing list can do
anything about your network connectivity issues..

Cheers
Jo


On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


And how i do to get this install plugin from maven repository ???

My proxy settings are correct. I'm sure about that.



Re: Generating APT-files

2007-02-26 Thread Roland Asmann
So, what does goals does the 'mvn site' run compared to 'mvn site:site'?


On Monday 26 February 2007 20:47, Wendy Smoak wrote:
> On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
> >
> > I am building a plug-in that generates some APT-files. The thing is, I
> > want it to run when the 'site:site' target is called, but I have no idea
> > on how to achieve this.
> > Can anybody give me some hints as to where to add this plug-in? Or should
> > I re-write it as a reporting-plugin? If so, I'm not sure on how to do
> > this and if I should stick with the APT-output...
> >
> > Any help/thoughts?
>
> Try binding your plugin to the pre-site phase.  Then run 'mvn site'
> [1] and you should see your plugin run, along with the site plugin
> doing its work.
>
> [1] not 'mvn site:site' which only runs a single plugin goal. Very
> confusing since the plugin, goal, and lifecycle phase all have the
> same name!

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Assembly plugin bug?

2007-02-26 Thread Jo Vandermeeren

Hi Tommy,

Well.. You could file a jira issue for that if it bothers you ;)
Usually the standard plugins have good examples though:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html

Glad to see that you got it on track..

Cheers
Jo

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:


Yes, that works. And I also verified that the description of the xml
on the assembly descriptor web page incorrectly indicates that
 tag is a child of . (I didn't think I had
hallucinated that...)

Thanks again.

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> Thanks, Jo. I'll give that a try. Perhaps this is what confused me:
> http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
>
> On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > Hi Tommy,
> >
> > That's no bug.. The assembly plugin filters resources on a per-file
basis,
> > it doesn't apply filtering on fileSets.
> >
> > So, define a file set for all files that don't need filtering and add
> > excludes for files that you want to filter..
> > Then, define  elements for the files that you wan to filter and
set
> >  to true on them..
> >
> > Here's a snippet:
> >
> > 
> >   blabla
> >   
> > zip
> >   
> >   
> > 
> >   ${basedir}
> >   *.sh
> >   
> > install.sh
> >   
> > 
> >   
> >   
> > 
> >   install.sh
> >   /
> >   true
> > 
> >   
> > 
> >
> >
> >
> > Cheers
> > Jo
> >
> > On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> > >
> > > I'm trying to use the maven-assembly-plugin to build a zip that
> > > contains an install.sh at the top level, along with some arbitrary
> > > other artifacts.
> > >
> > > I want the install.sh source to be filtered so that certain
build-time
> > > variables will be run-time literals.
> > >
> > > I've tried to compose an assembly descriptor to do this, but Maven2
is
> > > telling me about the "Unrecognized tag: 'filtered'".
> > >
> > > I wonder whether anybody here that is familiar with the
> > > maven-assembly-plugin can tell me what I've done wrong?
> > >
> > > My assembly descriptor looks like the following:
> > >
> > > 
> > > overlay
> > > 
> > > zip
> > > 
> > > 
> > > 
> > > src/main/bash
> > > true  
> > > 
> > > 
> > > install.sh
> > > 
> > > 
> > > 
> > > target
> > > 
> > > 
> > > *.jar
> > > 
> > > 
> > > 
> > > 
> > >
> > > Thanks,
> > > --
> > > Tommy
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
> --
> --
> Tommy
>


--
--
Tommy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Generating APT-files

2007-02-26 Thread Wendy Smoak

On 2/26/07, Roland Asmann <[EMAIL PROTECTED]> wrote:

Hi everybody,

I am building a plug-in that generates some APT-files. The thing is, I want it
to run when the 'site:site' target is called, but I have no idea on how to
achieve this.
Can anybody give me some hints as to where to add this plug-in? Or should I
re-write it as a reporting-plugin? If so, I'm not sure on how to do this and
if I should stick with the APT-output...

Any help/thoughts?


Try binding your plugin to the pre-site phase.  Then run 'mvn site'
[1] and you should see your plugin run, along with the site plugin
doing its work.

[1] not 'mvn site:site' which only runs a single plugin goal. Very
confusing since the plugin, goal, and lifecycle phase all have the
same name!

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Edney Imme

And how i do to get this install plugin from maven repository ???

My proxy settings are correct. I'm sure about that.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Hi Mick,

Yes.. That's correct.. He needs to get the install plugin from the maven
repository..

The default maven settings will guarantee that you can fetch this plugin
as
long as your proxy settings are correct and you have network
connectivity..
No need to specify a custom pluginRepository for this plugin..

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> But he needs to get certain plugins in order to "install" into his
> repository.
>
>
> Thus, having the correct  set in the settings.xml would
> still
> be required right?
>
>
>
> On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> >
> > Hi Mick,
> >
> > Edney is trying to install an external jar into his local repository..
> not
> > trying to build a maven project..
> > For all we know, this might not even be a maven-built jar.. Even if
> there
> > was a pom, the settings would be irrelevant.
> >
> > The repository definitions in Edney's settings.xml seem to be valid,
so
> I
> > really do think it is a network/proxy issue..
> >
> > Cheers
> > Jo
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > please send your pom.xml for this maven build. It looks like you
might
> > not
> > > have the maven-install-plugin defined correctly in your pom.
> > >
> > > this is in my pom.xml for that plugin:
> > >
> > > 
> > > org.apache.maven.plugins
> > > maven-install-plugin
> > > 2.1
> > > 
> > >
> > >
> > >
> > > It is in your [MAVEN PROJECT HOME]/pom.xml where you where running
> this
> > > command from.
> > >
> > > Also, I put my repositories in my pom.xml like this:
> > >
> > > 
> > >
> > > 
> > > Backup
> > > Maven Repository Switchboard
> > > default
> > > http://repo1.maven.org/maven2
> > > 
> > > false
> > > 
> > > 
> > > false
> > > 
> > > 
> > >
> > > 
> > > Apache Snapshots
> > > Apache Development Repository
> > > http://cvs.apache.org/maven-snapshot-repository

> > > 
> > > true
> > > 
> > > 
> > > false
> > > 
> > > 
> > >
> > > 
> > > Codehaus Snapshots
> > > Codehaus
> > > http://snapshots.repository.codehaus.org/
> > > 
> > > true
> > > 
> > > 
> > > false
> > > 
> > > 
> > >
> > > 
> > > MyFaces SNAPSHOT
> > > MyFaces SNAPSHOT Repository
> > > 
http://people.apache.org/repo/m2-snapshot-repository
> > > 
> > > 
> > > true
> > > 
> > > 
> > > false
> > > 
> > > 
> > >
> > > 
> > > ibiblio
> > > ibiblio
> > > http://www.ibiblio.org/maven2
> > > 
> > > true
> > > 
> > > 
> > > false
> > > 
> > > 
> > > 
> > >
> > > 
> > >
> > >
> > > 
> > >
> > > 
> > > central
> > > Maven Plugin Repository
> > > default
> > > http://repo1.maven.org/maven2
> > >
> > > 
> > > true
> > > 
> > > 
> > > never
> > > 
> > > 
> > >
> > > 
> > > Codehaus Snapshots
> > > http://snapshots.repository.codehaus.org/
> > > 
> > > true
> > > 
> > > 
> > > false
> > > 
> > > 
> > >
> > >
> > > 
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello.
> > > >
> > > > I don´t have the pom.xml to the file jta.jar
> > > >
> > > > The settings.xml is here
> > > >
> > > > Obs. sorry with this uggly questions. I´m dummy for maven
> > > >
> > > >
> > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Attach your entire pom.xml and you scrubbed settings.xml please
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hello
> > > > > >
> > > > > > I do that.
> > > > > >
> > > > > > and dosn´t work.
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > That does not make sense what the network guy is saying. We
> are
> > > only
> > > > >
> > > > > > > talking
> > > > > > > about an http connection here. DOS or Java or IE. It

Re: Assembly plugin bug?

2007-02-26 Thread Tommy Knowlton

Yes, that works. And I also verified that the description of the xml
on the assembly descriptor web page incorrectly indicates that
 tag is a child of . (I didn't think I had
hallucinated that...)

Thanks again.

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:

Thanks, Jo. I'll give that a try. Perhaps this is what confused me:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html

On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> Hi Tommy,
>
> That's no bug.. The assembly plugin filters resources on a per-file basis,
> it doesn't apply filtering on fileSets.
>
> So, define a file set for all files that don't need filtering and add
> excludes for files that you want to filter..
> Then, define  elements for the files that you wan to filter and set
>  to true on them..
>
> Here's a snippet:
>
> 
>   blabla
>   
> zip
>   
>   
> 
>   ${basedir}
>   *.sh
>   
> install.sh
>   
> 
>   
>   
> 
>   install.sh
>   /
>   true
> 
>   
> 
>
>
>
> Cheers
> Jo
>
> On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
> >
> > I'm trying to use the maven-assembly-plugin to build a zip that
> > contains an install.sh at the top level, along with some arbitrary
> > other artifacts.
> >
> > I want the install.sh source to be filtered so that certain build-time
> > variables will be run-time literals.
> >
> > I've tried to compose an assembly descriptor to do this, but Maven2 is
> > telling me about the "Unrecognized tag: 'filtered'".
> >
> > I wonder whether anybody here that is familiar with the
> > maven-assembly-plugin can tell me what I've done wrong?
> >
> > My assembly descriptor looks like the following:
> >
> > 
> > overlay
> > 
> > zip
> > 
> > 
> > 
> > src/main/bash
> > true  
> > 
> > 
> > install.sh
> > 
> > 
> > 
> > target
> > 
> > 
> > *.jar
> > 
> > 
> > 
> > 
> >
> > Thanks,
> > --
> > Tommy
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


--
--
Tommy




--
--
Tommy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Mick,

Yes.. That's correct.. He needs to get the install plugin from the maven
repository..

The default maven settings will guarantee that you can fetch this plugin as
long as your proxy settings are correct and you have network connectivity..
No need to specify a custom pluginRepository for this plugin..

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


But he needs to get certain plugins in order to "install" into his
repository.


Thus, having the correct  set in the settings.xml would
still
be required right?



On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Hi Mick,
>
> Edney is trying to install an external jar into his local repository..
not
> trying to build a maven project..
> For all we know, this might not even be a maven-built jar.. Even if
there
> was a pom, the settings would be irrelevant.
>
> The repository definitions in Edney's settings.xml seem to be valid, so
I
> really do think it is a network/proxy issue..
>
> Cheers
> Jo
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > please send your pom.xml for this maven build. It looks like you might
> not
> > have the maven-install-plugin defined correctly in your pom.
> >
> > this is in my pom.xml for that plugin:
> >
> > 
> > org.apache.maven.plugins
> > maven-install-plugin
> > 2.1
> > 
> >
> >
> >
> > It is in your [MAVEN PROJECT HOME]/pom.xml where you where running
this
> > command from.
> >
> > Also, I put my repositories in my pom.xml like this:
> >
> > 
> >
> > 
> > Backup
> > Maven Repository Switchboard
> > default
> > http://repo1.maven.org/maven2
> > 
> > false
> > 
> > 
> > false
> > 
> > 
> >
> > 
> > Apache Snapshots
> > Apache Development Repository
> > http://cvs.apache.org/maven-snapshot-repository
> > 
> > true
> > 
> > 
> > false
> > 
> > 
> >
> > 
> > Codehaus Snapshots
> > Codehaus
> > http://snapshots.repository.codehaus.org/
> > 
> > true
> > 
> > 
> > false
> > 
> > 
> >
> > 
> > MyFaces SNAPSHOT
> > MyFaces SNAPSHOT Repository
> > http://people.apache.org/repo/m2-snapshot-repository
> > 
> > 
> > true
> > 
> > 
> > false
> > 
> > 
> >
> > 
> > ibiblio
> > ibiblio
> > http://www.ibiblio.org/maven2
> > 
> > true
> > 
> > 
> > false
> > 
> > 
> > 
> >
> > 
> >
> >
> > 
> >
> > 
> > central
> > Maven Plugin Repository
> > default
> > http://repo1.maven.org/maven2
> >
> > 
> > true
> > 
> > 
> > never
> > 
> > 
> >
> > 
> > Codehaus Snapshots
> > http://snapshots.repository.codehaus.org/
> > 
> > true
> > 
> > 
> > false
> > 
> > 
> >
> >
> > 
> >
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello.
> > >
> > > I don´t have the pom.xml to the file jta.jar
> > >
> > > The settings.xml is here
> > >
> > > Obs. sorry with this uggly questions. I´m dummy for maven
> > >
> > >
> > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Attach your entire pom.xml and you scrubbed settings.xml please
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello
> > > > >
> > > > > I do that.
> > > > >
> > > > > and dosn´t work.
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > That does not make sense what the network guy is saying. We
are
> > only
> > > >
> > > > > > talking
> > > > > > about an http connection here. DOS or Java or IE. It is still
an
> > > > http
> > > > > > connection.
> > > > > >
> > > > > > I think you just need to get the proxy server, port NUMBER,
then
> > > > your
> > > > > user
> > > > > > name and password for the proxy.
> > > > > >
> > > > > > Did you try that?
> > > > > >
> > > > > >   
> > > > > >   
> > > > > >  true
> > > > > >  http
> > > > > >  proxy.somewhere.com
> > > > > >  8080
> > > > > >  LAN ID (Username)
> > > > > >  LAN Password
> > > > > >  www.google.com|*.somewhere.com
> 
> > > > > >
> > > > > > 
> > > > > >
> >

RE: Problems with maven

2007-02-26 Thread Marcelo Colomer Cornejo

 I think the difference is:
   is used to find jar that you declare as a dependency at your 
pom.xml
   is used to find mv2 plugins that you want to use on your 
life cycles.

 




-Mensaje original-
De: Mick Knutson [mailto:[EMAIL PROTECTED]
Enviado el: lun 26/02/2007 20:33
Para: Maven Users List
Asunto: Re: Problems with maven
 
What is the difference between  and 



Edney only has MyFaces as a  entry as apposed to what I have
attached




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Sorry mate.. I can't see anything that's obviously incorrect..
> Your plugin search doesn't complete, so you must have network issues..
>
> If it was me, I would start over with an empty settings.xml and add only
> proxy information..
> If that works, start adding custom repositories and profiles..
>
> Good luck..
> Jo
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello.
> >
> > I don´t have the pom.xml to the file jta.jar
> >
> > The settings.xml is here
> >
> > Obs. sorry with this uggly questions. I´m dummy for maven
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > Attach your entire pom.xml and you scrubbed settings.xml please
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello
> > > >
> > > > I do that.
> > > >
> > > > and dosn´t work.
> > > >
> > > >
> > > >
> > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > That does not make sense what the network guy is saying. We are
> only
> > >
> > > > > talking
> > > > > about an http connection here. DOS or Java or IE. It is still an
> > > http
> > > > > connection.
> > > > >
> > > > > I think you just need to get the proxy server, port NUMBER, then
> > > your
> > > > user
> > > > > name and password for the proxy.
> > > > >
> > > > > Did you try that?
> > > > >
> > > > >   
> > > > >   
> > > > >  true
> > > > >  http
> > > > >  proxy.somewhere.com
> > > > >  8080
> > > > >  LAN ID (Username)
> > > > >  LAN Password
> > > > >  www.google.com|*.somewhere.com
> > > > >
> > > > > 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The difference is sometime you do not need the username and
> password
> > > for
> > > > > the
> > > > > Proxy. Or at least where I am at now.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I talk now with the guy from network , and he said that the
> > > internet
> > > > > > access
> > > > > > with dos is not allowed.
> > > > > >
> > > > > > Then, I need to do this with windows.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Hi Edney,
> > > > > > >
> > > > > > > The only other thing that I can think of is that you need to
> > > supply
> > > > a
> > > > > > > username/password for your proxy.
> > > > > > > Does your proxy server need authentication? If it does,
> > > configure it
> > > > > in
> > > > > > > your
> > > > > > > settings.xml..
> > > > > > >
> > > > > > > Here's a snippet (which can also be found here:
> > > > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > > > >
> > > > > > > 
> > > > > > >   .
> > > > > > >   .
> > > > > > >   
> > > > > > >
> > > > > > >   true
> > > > > > >   http
> > > > > > >proxy.somewhere.com
> > > > > > >   8080
> > > > > > >   proxyuser
> > > > > > >   somepassword
> > > > > > >   www.google.com|*.somewhere.com
> > > 
> > > > > > > 
> > > > > > >   
> > > > > > >   .
> > > > > > >   .
> > > > > > > 
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Cheers
> > > > > > > Jo
> > > > > > >
> > > > > > > On 2/26/07, Edney Imme < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Hello Jo,.
> > > > > > > >
> > > > > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > > > > the correct settings:)
> > > > > > > >
> > > > > > > > I change this value. In the correct file I put  the
> > > information
> > > > from
> > > > > > IE
> > > > > > > /;
> > > > > > > > Firefox.
> > > > > > > >
> > > > > > > > I can surf in internet with my browser.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]>
> wrote:
> > > > > > > > >
> > > > > > > > > Edney..
> > > > > > > > >
> > > > > > > > > Is this an exact copy of your settings.xml?
> > > > > > > > > Did you fill in the correct proxy host and proxy port for
> > > your
> > > > > > > network?
> > > > > > > > > I can assure you that "myproxyserver" and "proxy_port"
> > > > definitely
> > > > > > are
> > > > > > > > not
> > > > > > > > > the correct settings ;)
> > > > > > > > >
> > > > > > > > > Are you able to surf the internet at all via Internet
> > > Explorer
> > > > or
> > > 

Generating APT-files

2007-02-26 Thread Roland Asmann
Hi everybody,

I am building a plug-in that generates some APT-files. The thing is, I want it 
to run when the 'site:site' target is called, but I have no idea on how to 
achieve this.
Can anybody give me some hints as to where to add this plug-in? Or should I 
re-write it as a reporting-plugin? If so, I'm not sure on how to do this and 
if I should stick with the APT-output...

Any help/thoughts?

Thanks.

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: [EMAIL PROTECTED]
Web: www.cfc.at

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Mick Knutson

But he needs to get certain plugins in order to "install" into his
repository.


Thus, having the correct  set in the settings.xml would still
be required right?



On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Hi Mick,

Edney is trying to install an external jar into his local repository.. not
trying to build a maven project..
For all we know, this might not even be a maven-built jar.. Even if there
was a pom, the settings would be irrelevant.

The repository definitions in Edney's settings.xml seem to be valid, so I
really do think it is a network/proxy issue..

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> please send your pom.xml for this maven build. It looks like you might
not
> have the maven-install-plugin defined correctly in your pom.
>
> this is in my pom.xml for that plugin:
>
> 
> org.apache.maven.plugins
> maven-install-plugin
> 2.1
> 
>
>
>
> It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
> command from.
>
> Also, I put my repositories in my pom.xml like this:
>
> 
>
> 
> Backup
> Maven Repository Switchboard
> default
> http://repo1.maven.org/maven2
> 
> false
> 
> 
> false
> 
> 
>
> 
> Apache Snapshots
> Apache Development Repository
> http://cvs.apache.org/maven-snapshot-repository
> 
> true
> 
> 
> false
> 
> 
>
> 
> Codehaus Snapshots
> Codehaus
> http://snapshots.repository.codehaus.org/
> 
> true
> 
> 
> false
> 
> 
>
> 
> MyFaces SNAPSHOT
> MyFaces SNAPSHOT Repository
> http://people.apache.org/repo/m2-snapshot-repository
> 
> 
> true
> 
> 
> false
> 
> 
>
> 
> ibiblio
> ibiblio
> http://www.ibiblio.org/maven2
> 
> true
> 
> 
> false
> 
> 
> 
>
> 
>
>
> 
>
> 
> central
> Maven Plugin Repository
> default
> http://repo1.maven.org/maven2
>
> 
> true
> 
> 
> never
> 
> 
>
> 
> Codehaus Snapshots
> http://snapshots.repository.codehaus.org/
> 
> true
> 
> 
> false
> 
> 
>
>
> 
>
>
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello.
> >
> > I don´t have the pom.xml to the file jta.jar
> >
> > The settings.xml is here
> >
> > Obs. sorry with this uggly questions. I´m dummy for maven
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > Attach your entire pom.xml and you scrubbed settings.xml please
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello
> > > >
> > > > I do that.
> > > >
> > > > and dosn´t work.
> > > >
> > > >
> > > >
> > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > That does not make sense what the network guy is saying. We are
> only
> > >
> > > > > talking
> > > > > about an http connection here. DOS or Java or IE. It is still an
> > > http
> > > > > connection.
> > > > >
> > > > > I think you just need to get the proxy server, port NUMBER, then
> > > your
> > > > user
> > > > > name and password for the proxy.
> > > > >
> > > > > Did you try that?
> > > > >
> > > > >   
> > > > >   
> > > > >  true
> > > > >  http
> > > > >  proxy.somewhere.com
> > > > >  8080
> > > > >  LAN ID (Username)
> > > > >  LAN Password
> > > > >  www.google.com|*.somewhere.com

> > > > >
> > > > > 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The difference is sometime you do not need the username and
> password
> > > for
> > > > > the
> > > > > Proxy. Or at least where I am at now.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I talk now with the guy from network , and he said that the
> > > internet
> > > > > > access
> > > > > > with dos is not allowed.
> > > > > >
> > > > > > Then, I need to do this with windows.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Hi Edney,
> > > > > > >
> > > > > > > The only other thing t

Re: Problems with maven

2007-02-26 Thread Mick Knutson

What is the difference between  and 



Edney only has MyFaces as a  entry as apposed to what I have
attached




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Sorry mate.. I can't see anything that's obviously incorrect..
Your plugin search doesn't complete, so you must have network issues..

If it was me, I would start over with an empty settings.xml and add only
proxy information..
If that works, start adding custom repositories and profiles..

Good luck..
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I don´t have the pom.xml to the file jta.jar
>
> The settings.xml is here
>
> Obs. sorry with this uggly questions. I´m dummy for maven
>
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > Attach your entire pom.xml and you scrubbed settings.xml please
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello
> > >
> > > I do that.
> > >
> > > and dosn´t work.
> > >
> > >
> > >
> > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That does not make sense what the network guy is saying. We are
only
> >
> > > > talking
> > > > about an http connection here. DOS or Java or IE. It is still an
> > http
> > > > connection.
> > > >
> > > > I think you just need to get the proxy server, port NUMBER, then
> > your
> > > user
> > > > name and password for the proxy.
> > > >
> > > > Did you try that?
> > > >
> > > >   
> > > >   
> > > >  true
> > > >  http
> > > >  proxy.somewhere.com
> > > >  8080
> > > >  LAN ID (Username)
> > > >  LAN Password
> > > >  www.google.com|*.somewhere.com
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > The difference is sometime you do not need the username and
password
> > for
> > > > the
> > > > Proxy. Or at least where I am at now.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I talk now with the guy from network , and he said that the
> > internet
> > > > > access
> > > > > with dos is not allowed.
> > > > >
> > > > > Then, I need to do this with windows.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Edney,
> > > > > >
> > > > > > The only other thing that I can think of is that you need to
> > supply
> > > a
> > > > > > username/password for your proxy.
> > > > > > Does your proxy server need authentication? If it does,
> > configure it
> > > > in
> > > > > > your
> > > > > > settings.xml..
> > > > > >
> > > > > > Here's a snippet (which can also be found here:
> > > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > > >
> > > > > > 
> > > > > >   .
> > > > > >   .
> > > > > >   
> > > > > >
> > > > > >   true
> > > > > >   http
> > > > > >proxy.somewhere.com
> > > > > >   8080
> > > > > >   proxyuser
> > > > > >   somepassword
> > > > > >   www.google.com|*.somewhere.com
> > 
> > > > > > 
> > > > > >   
> > > > > >   .
> > > > > >   .
> > > > > > 
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Cheers
> > > > > > Jo
> > > > > >
> > > > > > On 2/26/07, Edney Imme < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Hello Jo,.
> > > > > > >
> > > > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > > > the correct settings:)
> > > > > > >
> > > > > > > I change this value. In the correct file I put  the
> > information
> > > from
> > > > > IE
> > > > > > /;
> > > > > > > Firefox.
> > > > > > >
> > > > > > > I can surf in internet with my browser.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]>
wrote:
> > > > > > > >
> > > > > > > > Edney..
> > > > > > > >
> > > > > > > > Is this an exact copy of your settings.xml?
> > > > > > > > Did you fill in the correct proxy host and proxy port for
> > your
> > > > > > network?
> > > > > > > > I can assure you that "myproxyserver" and "proxy_port"
> > > definitely
> > > > > are
> > > > > > > not
> > > > > > > > the correct settings ;)
> > > > > > > >
> > > > > > > > Are you able to surf the internet at all via Internet
> > Explorer
> > > or
> > > > > > > Firefox?
> > > > > > > > If so, have a look at the settings of your browser, copy
the
> >
> > > proxy
> > > > > > > server
> > > > > > > > settings and paste them in the corresponding fields of
your
> > > > > > settings.xml
> > > > > > > >
> > > > > > > > Good luck
> > > > > > > > Jo
> > > > > > > >
> > > > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > Ok.
> > > > > > > > >
> > > > > > > > > I need to do this configuration in settings.xml file? I
do
> > > that.
> > > > > > > > >
> > > > > > > > > Here is my setting.xml file
> > > > > > > > >
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > 
>

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Mick,

Edney is trying to install an external jar into his local repository.. not
trying to build a maven project..
For all we know, this might not even be a maven-built jar.. Even if there
was a pom, the settings would be irrelevant.

The repository definitions in Edney's settings.xml seem to be valid, so I
really do think it is a network/proxy issue..

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


please send your pom.xml for this maven build. It looks like you might not
have the maven-install-plugin defined correctly in your pom.

this is in my pom.xml for that plugin:


org.apache.maven.plugins
maven-install-plugin
2.1




It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
command from.

Also, I put my repositories in my pom.xml like this:




Backup
Maven Repository Switchboard
default
http://repo1.maven.org/maven2

false


false




Apache Snapshots
Apache Development Repository
http://cvs.apache.org/maven-snapshot-repository

true


false




Codehaus Snapshots
Codehaus
http://snapshots.repository.codehaus.org/

true


false




MyFaces SNAPSHOT
MyFaces SNAPSHOT Repository
http://people.apache.org/repo/m2-snapshot-repository


true


false




ibiblio
ibiblio
http://www.ibiblio.org/maven2

true


false










central
Maven Plugin Repository
default
http://repo1.maven.org/maven2


true


never




Codehaus Snapshots
http://snapshots.repository.codehaus.org/

true


false












On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I don´t have the pom.xml to the file jta.jar
>
> The settings.xml is here
>
> Obs. sorry with this uggly questions. I´m dummy for maven
>
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > Attach your entire pom.xml and you scrubbed settings.xml please
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello
> > >
> > > I do that.
> > >
> > > and dosn´t work.
> > >
> > >
> > >
> > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > That does not make sense what the network guy is saying. We are
only
> >
> > > > talking
> > > > about an http connection here. DOS or Java or IE. It is still an
> > http
> > > > connection.
> > > >
> > > > I think you just need to get the proxy server, port NUMBER, then
> > your
> > > user
> > > > name and password for the proxy.
> > > >
> > > > Did you try that?
> > > >
> > > >   
> > > >   
> > > >  true
> > > >  http
> > > >  proxy.somewhere.com
> > > >  8080
> > > >  LAN ID (Username)
> > > >  LAN Password
> > > >  www.google.com|*.somewhere.com
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > The difference is sometime you do not need the username and
password
> > for
> > > > the
> > > > Proxy. Or at least where I am at now.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I talk now with the guy from network , and he said that the
> > internet
> > > > > access
> > > > > with dos is not allowed.
> > > > >
> > > > > Then, I need to do this with windows.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi Edney,
> > > > > >
> > > > > > The only other thing that I can think of is that you need to
> > supply
> > > a
> > > > > > username/password for your proxy.
> > > > > > Does your proxy server need authentication? If it does,
> > configure it
> > > > in
> > > > > > your
> > > > > > settings.xml..
> > > > > >
> > > > > > Here's a snippet (which can also be found here:
> > > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > > >
> > > > > > 
> > > > > >   .
> > > > > >   .
> > > > > >   
> > > > > >
> > > > > >   true
> > > > > >   http
> > > > > >proxy.somewhere.com
> > > > > >   8080
> > > > > >   proxyuser
> > > > > >  

Re: Assembly plugin bug?

2007-02-26 Thread Tommy Knowlton

Thanks, Jo. I'll give that a try. Perhaps this is what confused me:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html

On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:

Hi Tommy,

That's no bug.. The assembly plugin filters resources on a per-file basis,
it doesn't apply filtering on fileSets.

So, define a file set for all files that don't need filtering and add
excludes for files that you want to filter..
Then, define  elements for the files that you wan to filter and set
 to true on them..

Here's a snippet:


  blabla
  
zip
  
  

  ${basedir}
  *.sh
  
install.sh
  

  
  

  install.sh
  /
  true

  




Cheers
Jo

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:
>
> I'm trying to use the maven-assembly-plugin to build a zip that
> contains an install.sh at the top level, along with some arbitrary
> other artifacts.
>
> I want the install.sh source to be filtered so that certain build-time
> variables will be run-time literals.
>
> I've tried to compose an assembly descriptor to do this, but Maven2 is
> telling me about the "Unrecognized tag: 'filtered'".
>
> I wonder whether anybody here that is familiar with the
> maven-assembly-plugin can tell me what I've done wrong?
>
> My assembly descriptor looks like the following:
>
> 
> overlay
> 
> zip
> 
> 
> 
> src/main/bash
> true  
> 
> 
> install.sh
> 
> 
> 
> target
> 
> 
> *.jar
> 
> 
> 
> 
>
> Thanks,
> --
> Tommy
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
--
Tommy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Sorry mate.. I can't see anything that's obviously incorrect..
Your plugin search doesn't complete, so you must have network issues..

If it was me, I would start over with an empty settings.xml and add only
proxy information..
If that works, start adding custom repositories and profiles..

Good luck..
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Attach your entire pom.xml and you scrubbed settings.xml please
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello
> >
> > I do that.
> >
> > and dosn´t work.
> >
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > That does not make sense what the network guy is saying. We are only
>
> > > talking
> > > about an http connection here. DOS or Java or IE. It is still an
> http
> > > connection.
> > >
> > > I think you just need to get the proxy server, port NUMBER, then
> your
> > user
> > > name and password for the proxy.
> > >
> > > Did you try that?
> > >
> > >   
> > >   
> > >  true
> > >  http
> > >  proxy.somewhere.com
> > >  8080
> > >  LAN ID (Username)
> > >  LAN Password
> > >  www.google.com|*.somewhere.com
> > >
> > > 
> > >
> > >
> > >
> > >
> > >
> > > The difference is sometime you do not need the username and password
> for
> > > the
> > > Proxy. Or at least where I am at now.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I talk now with the guy from network , and he said that the
> internet
> > > > access
> > > > with dos is not allowed.
> > > >
> > > > Then, I need to do this with windows.
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi Edney,
> > > > >
> > > > > The only other thing that I can think of is that you need to
> supply
> > a
> > > > > username/password for your proxy.
> > > > > Does your proxy server need authentication? If it does,
> configure it
> > > in
> > > > > your
> > > > > settings.xml..
> > > > >
> > > > > Here's a snippet (which can also be found here:
> > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > >
> > > > > 
> > > > >   .
> > > > >   .
> > > > >   
> > > > >
> > > > >   true
> > > > >   http
> > > > >proxy.somewhere.com
> > > > >   8080
> > > > >   proxyuser
> > > > >   somepassword
> > > > >   www.google.com|*.somewhere.com
> 
> > > > > 
> > > > >   
> > > > >   .
> > > > >   .
> > > > > 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Cheers
> > > > > Jo
> > > > >
> > > > > On 2/26/07, Edney Imme < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hello Jo,.
> > > > > >
> > > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > > the correct settings:)
> > > > > >
> > > > > > I change this value. In the correct file I put  the
> information
> > from
> > > > IE
> > > > > /;
> > > > > > Firefox.
> > > > > >
> > > > > > I can surf in internet with my browser.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Edney..
> > > > > > >
> > > > > > > Is this an exact copy of your settings.xml?
> > > > > > > Did you fill in the correct proxy host and proxy port for
> your
> > > > > network?
> > > > > > > I can assure you that "myproxyserver" and "proxy_port"
> > definitely
> > > > are
> > > > > > not
> > > > > > > the correct settings ;)
> > > > > > >
> > > > > > > Are you able to surf the internet at all via Internet
> Explorer
> > or
> > > > > > Firefox?
> > > > > > > If so, have a look at the settings of your browser, copy the
>
> > proxy
> > > > > > server
> > > > > > > settings and paste them in the corresponding fields of your
> > > > > settings.xml
> > > > > > >
> > > > > > > Good luck
> > > > > > > Jo
> > > > > > >
> > > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Ok.
> > > > > > > >
> > > > > > > > I need to do this configuration in settings.xml file? I do
> > that.
> > > > > > > >
> > > > > > > > Here is my setting.xml file
> > > > > > > >
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > true
> > > > > > > > http
> > > > > > > > myproxyserver
> > > > > > > > proxy_port
> > > > > > > > 
> > > > > > > > 
> > > > > > > > C:\Documents and
> > > > > > > > Settings\myuser\.m2\repository
> > > > > > > > false
> > > > > > > > 
> > > > > > > > 
> > > > > > > > tomcat_server
> > > > > > > > tomcatUser
> > > > > > > > tomcatPassword
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > >   
> > > > 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

please send your pom.xml for this maven build. It looks like you might not
have the maven-install-plugin defined correctly in your pom.

this is in my pom.xml for that plugin:

   
   org.apache.maven.plugins
   maven-install-plugin
   2.1
   



It is in your [MAVEN PROJECT HOME]/pom.xml where you where running this
command from.

Also, I put my repositories in my pom.xml like this:

   

   
   Backup
   Maven Repository Switchboard
   default
   http://repo1.maven.org/maven2
   
   false
   
   
   false
   
   

   
   Apache Snapshots
   Apache Development Repository
   http://cvs.apache.org/maven-snapshot-repository
   
   true
   
   
   false
   
   

   
   Codehaus Snapshots
   Codehaus
   http://snapshots.repository.codehaus.org/
   
   true
   
   
   false
   
   

   
   MyFaces SNAPSHOT
   MyFaces SNAPSHOT Repository
   http://people.apache.org/repo/m2-snapshot-repository
   
   true
   
   
   false
   
   

   
   ibiblio
   ibiblio
   http://www.ibiblio.org/maven2
   
   true
   
   
   false
   
   
   

   


   

   
   central
   Maven Plugin Repository
   default
   http://repo1.maven.org/maven2

   
   true
   
   
   never
   
   

   
   Codehaus Snapshots
   http://snapshots.repository.codehaus.org/
   
   true
   
   
   false
   
   


   







On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Attach your entire pom.xml and you scrubbed settings.xml please
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello
> >
> > I do that.
> >
> > and dosn´t work.
> >
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > That does not make sense what the network guy is saying. We are only
>
> > > talking
> > > about an http connection here. DOS or Java or IE. It is still an
> http
> > > connection.
> > >
> > > I think you just need to get the proxy server, port NUMBER, then
> your
> > user
> > > name and password for the proxy.
> > >
> > > Did you try that?
> > >
> > >   
> > >   
> > >  true
> > >  http
> > >  proxy.somewhere.com
> > >  8080
> > >  LAN ID (Username)
> > >  LAN Password
> > >  www.google.com|*.somewhere.com
> > >
> > > 
> > >
> > >
> > >
> > >
> > >
> > > The difference is sometime you do not need the username and password
> for
> > > the
> > > Proxy. Or at least where I am at now.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I talk now with the guy from network , and he said that the
> internet
> > > > access
> > > > with dos is not allowed.
> > > >
> > > > Then, I need to do this with windows.
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi Edney,
> > > > >
> > > > > The only other thing that I can think of is that you need to
> supply
> > a
> > > > > username/password for your proxy.
> > > > > Does your proxy server need authentication? If it does,
> configure it
> > > in
> > > > > your
> > > > > settings.xml..
> > > > >
> > > > > Here's a snippet (which can also be found here:
> > > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > > >
> > > > > 
> > > > >   .
> > > > >   .
> > > > >   
> > > > >
> > > > >   true
> > > > >   http
> > > > >proxy.somewhere.com
> > > > >   8080
> > > > >   proxyuser
> > > > >   somepassword
> > > > >   www.google.com|*.somewhere.com
> 
> > > > > 
> > > > >   
> > > > >   .
> > > > >   .
> > > > > 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Cheers
> > > > > Jo
> > > > >
> > > > > On 2/26/07, Edney Imme < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hello Jo,.
> > > > > >
> > > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > > the correct settings:)
> > > > > >
> > > > > > I change this value. In the correct file I put  the
> information
> > from
> > > > IE
> > > > > /;
> > > > > > Firefox.
> > > > > >
> > > > > > I can surf in internet with my browser.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROT

(important) Copying files from fixed external folder into WAR's /WEB-INF/.

2007-02-26 Thread Udaybhaskar Sarma Seetamraju
Hi there,

(mailing-list archive does not have a search facility.  Google failed to
show much for [site: mail-archives.apache.org struts])

With many projects already painfully migrated to maven, its a royal pain
to ---copy--- the struts TLDs and DTDs to each developer's folder, for
each of the projects.
Epecially, since we have so successfully been upgrading to newer
versions of struts using Ant's  in such a simple, --STABLE--
and effective manner.


The javaworld article on "The Maven 2 POM demystified" mentioned the use of

|
/META-INF/plexus/|

But that didn't work. I had to use a complex workaround that *!*!* may
not work for too long *!*!*.

   




   
../${TargetName}-${artifactId}-${version}/WEB-INF

why would ./Fldr  and  ../Fldr  for targetPath, behave in different ways?

I am hoping that someone will point me towards a simple and
maven-upgrade-safe way to include struts DTDs and TLDs.
This stable approach is important for us, because that approach is ALSO
DESPERATELY NEEDED for the other DTDs and XSDs that are required under
/WEB-INF by the 3rd-party JARs we use.


Also, there was mention in a web site about a POM capability like :

tld
Does this exist, and if so, how to use it, and how to create/get the
appropriate JAR to support this?

Summary of Issue:

Copy files from a fixed external path, into specific paths rooted at
/WEB-INF inside the WAR file.
The Path within WAR starting at /WEB-INF/classes is no good.  Not in our
control.
Re: struts, we think its easy to keep the  version of struts
in pom.xml to match the FIXED read-only external folder containing the
DTDs and TLDs.

Maven version: 2.0.4
j2sdk1.4.2_05
debian Testing Etch

In case, there are people like me, I like a long-lasting solution,
especially as I am getting older and cannot afford the luxury of
revisiting the same problems for each new upgrade.

[end]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello.

I don´t have the pom.xml to the file jta.jar

The settings.xml is here

Obs. sorry with this uggly questions. I´m dummy for maven


On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> I do that.
>
> and dosn´t work.
>
>
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > That does not make sense what the network guy is saying. We are only
> > talking
> > about an http connection here. DOS or Java or IE. It is still an http
> > connection.
> >
> > I think you just need to get the proxy server, port NUMBER, then your
> user
> > name and password for the proxy.
> >
> > Did you try that?
> >
> >   
> >   
> >  true
> >  http
> >  proxy.somewhere.com
> >  8080
> >  LAN ID (Username)
> >  LAN Password
> >  www.google.com|*.somewhere.com
> >
> > 
> >
> >
> >
> >
> >
> > The difference is sometime you do not need the username and password
for
> > the
> > Proxy. Or at least where I am at now.
> >
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I talk now with the guy from network , and he said that the internet
> > > access
> > > with dos is not allowed.
> > >
> > > Then, I need to do this with windows.
> > >
> > >
> > >
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Edney,
> > > >
> > > > The only other thing that I can think of is that you need to
supply
> a
> > > > username/password for your proxy.
> > > > Does your proxy server need authentication? If it does, configure
it
> > in
> > > > your
> > > > settings.xml..
> > > >
> > > > Here's a snippet (which can also be found here:
> > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > >
> > > > 
> > > >   .
> > > >   .
> > > >   
> > > >
> > > >   true
> > > >   http
> > > >   proxy.somewhere.com
> > > >   8080
> > > >   proxyuser
> > > >   somepassword
> > > >   www.google.com|*.somewhere.com

> > > > 
> > > >   
> > > >   .
> > > >   .
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > > Cheers
> > > > Jo
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello Jo,.
> > > > >
> > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > the correct settings:)
> > > > >
> > > > > I change this value. In the correct file I put  the information
> from
> > > IE
> > > > /;
> > > > > Firefox.
> > > > >
> > > > > I can surf in internet with my browser.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Edney..
> > > > > >
> > > > > > Is this an exact copy of your settings.xml?
> > > > > > Did you fill in the correct proxy host and proxy port for your
> > > > network?
> > > > > > I can assure you that "myproxyserver" and "proxy_port"
> definitely
> > > are
> > > > > not
> > > > > > the correct settings ;)
> > > > > >
> > > > > > Are you able to surf the internet at all via Internet Explorer
> or
> > > > > Firefox?
> > > > > > If so, have a look at the settings of your browser, copy the
> proxy
> > > > > server
> > > > > > settings and paste them in the corresponding fields of your
> > > > settings.xml
> > > > > >
> > > > > > Good luck
> > > > > > Jo
> > > > > >
> > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Ok.
> > > > > > >
> > > > > > > I need to do this configuration in settings.xml file? I do
> that.
> > > > > > >
> > > > > > > Here is my setting.xml file
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > true
> > > > > > > http
> > > > > > > myproxyserver
> > > > > > > proxy_port
> > > > > > > 
> > > > > > > 
> > > > > > > C:\Documents and
> > > > > > > Settings\myuser\.m2\repository
> > > > > > > false
> > > > > > > 
> > > > > > > 
> > > > > > > tomcat_server
> > > > > > > tomcatUser
> > > > > > > tomcatPassword
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >   
> > > > > > > Default
> > > > > > > 
> > > > > > >   
> > > > > > > AndroMDA
> > > > > > > http://team.andromda.org/maven2
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >   
> > > > > > >   
> > > > > > > Central
> > > > > > > http://repo1.maven.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > > IBiblio
> > > > > > > http://www.ibiblio.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > > codehaus snapshot repository
> > > > > > > http://snapshots.repository.codehaus.org
> 
> > > > > > >

Re: Problems with maven

2007-02-26 Thread Mick Knutson

That does not make sense what the network guy is saying. We are only talking
about an http connection here. DOS or Java or IE. It is still an http
connection.

I think you just need to get the proxy server, port NUMBER, then your user
name and password for the proxy.

Did you try that?

 
 
true
http
proxy.somewhere.com
8080
LAN ID (Username)
LAN Password
www.google.com|*.somewhere.com
  






The difference is sometime you do not need the username and password for the
Proxy. Or at least where I am at now.







On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hi,

I talk now with the guy from network , and he said that the internet
access
with dos is not allowed.

Then, I need to do this with windows.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Hi Edney,
>
> The only other thing that I can think of is that you need to supply a
> username/password for your proxy.
> Does your proxy server need authentication? If it does, configure it in
> your
> settings.xml..
>
> Here's a snippet (which can also be found here:
> http://maven.apache.org/guides/mini/guide-proxies.html):
>
> 
>   .
>   .
>   
>
>   true
>   http
>   proxy.somewhere.com
>   8080
>   proxyuser
>   somepassword
>   www.google.com|*.somewhere.com
> 
>   
>   .
>   .
> 
>
>
>
>
> Cheers
> Jo
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello Jo,.
> >
> > "myproxyserver" and "proxy_port" definitely are really not
> > the correct settings:)
> >
> > I change this value. In the correct file I put  the information from
IE
> /;
> > Firefox.
> >
> > I can surf in internet with my browser.
> >
> >
> >
> >
> > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > >
> > > Edney..
> > >
> > > Is this an exact copy of your settings.xml?
> > > Did you fill in the correct proxy host and proxy port for your
> network?
> > > I can assure you that "myproxyserver" and "proxy_port" definitely
are
> > not
> > > the correct settings ;)
> > >
> > > Are you able to surf the internet at all via Internet Explorer or
> > Firefox?
> > > If so, have a look at the settings of your browser, copy the proxy
> > server
> > > settings and paste them in the corresponding fields of your
> settings.xml
> > >
> > > Good luck
> > > Jo
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Ok.
> > > >
> > > > I need to do this configuration in settings.xml file? I do that.
> > > >
> > > > Here is my setting.xml file
> > > >
> > > > 
> > > > 
> > > > 
> > > > 
> > > > true
> > > > http
> > > > myproxyserver
> > > > proxy_port
> > > > 
> > > > 
> > > > C:\Documents and
> > > > Settings\myuser\.m2\repository
> > > > false
> > > > 
> > > > 
> > > > tomcat_server
> > > > tomcatUser
> > > > tomcatPassword
> > > > 
> > > > 
> > > > 
> > > >   
> > > > Default
> > > > 
> > > >   
> > > > AndroMDA
> > > > http://team.andromda.org/maven2
> > > >  
> > > >  
> > > >  
> > > >  
> > > >   
> > > >   
> > > > Central
> > > > http://repo1.maven.org/maven2
> > > >   
> > > >   
> > > > IBiblio
> > > > http://www.ibiblio.org/maven2
> > > >   
> > > >   
> > > > codehaus snapshot repository
> > > > http://snapshots.repository.codehaus.org
> > > >  
> > > >  
> > > >  
> > > >  
> > > >   
> > > > 
> > > > 
> > > > 
> > > >  
> > > >  
> > > >  
> > > >false
> > > >  
> > > >  myfaces.staging
> > > >  MyFaces Staging Repository
> > > >  
> > http://myfaces.zones.apache.org/dist/maven-repository
> > > > 
> > > > 
> > > > 
> > > >  androMda
> > > >  AndroMda Repository
> > > >  http://andromda.org/maven2
> > > >  
> > > >  
> > > >  
> > > >false
> > > >  
> > > > 
> > > > 
> > > >   
> > > > 
> > > > 
> > > > Default
> > > > 
> > > > 
> > > >
> > > > But, here, my access is restricted to internet from DOS
> > > >
> > > > I need a Windows application oder a plugin to eclipse, who i can
do
> > the
> > > > download without command line interface
> > > >
> > > >
> > > > thank.
> > > > Edney
> > > >
> > > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > You need to get the proxy settings from IE, then you need to set
> > Maven
> > > > to
> > > > > use that same proxy server just like IE does.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Ed

Re: Assembly plugin bug?

2007-02-26 Thread Jo Vandermeeren

Hi Tommy,

That's no bug.. The assembly plugin filters resources on a per-file basis,
it doesn't apply filtering on fileSets.

So, define a file set for all files that don't need filtering and add
excludes for files that you want to filter..
Then, define  elements for the files that you wan to filter and set
 to true on them..

Here's a snippet:


 blabla
 
   zip
 
 
   
 ${basedir}
 *.sh
 
   install.sh
 
   
 
 
   
 install.sh
 /
 true
   
 




Cheers
Jo

On 2/26/07, Tommy Knowlton <[EMAIL PROTECTED]> wrote:


I'm trying to use the maven-assembly-plugin to build a zip that
contains an install.sh at the top level, along with some arbitrary
other artifacts.

I want the install.sh source to be filtered so that certain build-time
variables will be run-time literals.

I've tried to compose an assembly descriptor to do this, but Maven2 is
telling me about the "Unrecognized tag: 'filtered'".

I wonder whether anybody here that is familiar with the
maven-assembly-plugin can tell me what I've done wrong?

My assembly descriptor looks like the following:


overlay

zip



src/main/bash
true  


install.sh



target


*.jar





Thanks,
--
Tommy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi Jo.

Here is it.

C:\tmp>mvn -X install:install-file -DgroupId=
org.apache.myfaces.tomahawk-Dartifa
ctId=tomahawk-sandbox -Dversion= 1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/to
mahawk-sandbox-1.1.4-SNAPSHOT.jar
+ Error stacktraces are turned on.
Maven version: 2.0.4
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\f0fp083\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Arquivos de
progra
mas\Apache Foundation\maven-2.0.4\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion

 org.apache.maven.plugins:maven-install-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:LATEST
[DEBUG] maven-install-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion

 org.apache.maven.plugins:maven-install-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-install-pl
ugin:pom:RELEASE
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does not
exist
or no valid version could be found
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin '
org.apache.m
aven.plugins:maven-install-plugin' does not exist or no valid version could
be f
ound
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1281)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1517)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:381)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:135)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The p
lugin 'org.apache.maven.plugins:maven-install-plugin' does not exist or no
valid
version could be found
   at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
   at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
   at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin
(DefaultPlug
inManager.java:158)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin
(Defa
ultLifecycleExecutor.java:1252)
   ... 14 more
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Mon Feb 26 16:04:10 BRT 2007
[INFO] Final Memory: 1M/2M
[INFO]


C:\tmp>


On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Edney,

Try running it with debug on and paste the output..

mvn -X install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar -Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Attach your entire pom.xml and you scrubbed settings.xml please
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hello
> >
> > I do that.
> >
> > and dosn´t work.
> >
> >
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > That does not make sense what the network guy is saying. We are only
> > > talking
> > > about an http connection here. DOS or Java or IE. It is still an
http
> > > connection.
> > >
> > > I think you just need to get the proxy server, port NUMBER, then
your
> > user
> > > name and password for the pr

Re: Creation of a tag for a stable 'just works' Archiva version

2007-02-26 Thread nicolas de loof

Even if a maven2 client use archiva with legacy layout, it will ask for the
POM prior to the artifact JAR, so it will read relocations metadata. Not
applying relocation to POM solves the maven1 vs maven2 issue, even if legacy
layout request are used.

My requirement is for 4) as I have lot's of legacy project that use custom
groupId for SUN jars (prior maven had some conventions for them), so I need
lot's of duplicated artifacts in my corporate repo. I'm using an old archiva
snaphsot - with the "/proxy" URL - to have only one "official" JAR.

5) would be great. My snapshot does not even show relocation info from
existing POM in the gui (does the latest build do ?).

Nico.

2007/2/26, Joakim Erdfelt <[EMAIL PROTECTED]>:


Out of curiosity, what's important ...

1) Archiva serving up maven 1 (legacy) layout repositories.  (easy / done)
2) Archiva conversion of maven 1 repository to maven 2 repository.
(easy / done)
3) Archiva being able to proxy maven 2 content for maven 1 clients.
(moderate / needs work)
4) Archiva being able to serve relocated artifacts to maven 1 clients
transparently. (moderate / needs work)
5) Archiva gui having ability to artifact relocations. (moderate / needs
work)

Archiva does not know who is connecting to it.
It could be a maven 1 client, it could be a maven 2 client, it could be
a user.

If we assume that legacy layout repositories are only served to maven 1
clients, then we can handle points 3 and 4 above.  But if a maven 2
client uses the legacy repository, then points 3 and 4 could mask and/or
hide the relocation warnings on the client side.  Is that behavior
acceptable?

- Joakim

nicolas de loof wrote:
> Could you consider my patch to MRM-153 : archiva beeing maven1
> compliant is
> required for me as lot's of my project still use maven1 to build.
>
> 2007/2/26, Joakim Erdfelt <[EMAIL PROTECTED]>:
>>
>> We are working towards a stable archiva version (alpha) this week.
>> Stay tuned for the tag or release.
>>
>> - Joakim Erdfelt
>>
>> Tomek Korzeniewski wrote:
>> > Greetings to the Archiva Team!
>> >
>> > Would it be possible to create a tag in the svn repo of a stable,
>> 'builds /
>> > works without problem after checkout', version of Archiva? I've been
>> looking
>> > at the dev forum lately and notice that there are a lot of changes
>> being
>> > proposed and ones merged from the archiva MRM-239 branch.
>> >
>> > After reading the many different wiki entries and posts regarding
>> getting
>> > archiva up and running, and the issues users have been having
>> regarding
>> > changes made to the trunk I am weary about checking out what is
>> available at
>> > the moment.
>> >
>> > If you already have something of the sort in the pipeline could you
>> please
>> > post your plans.
>> >
>> > Thanks in advance.
>> >
>>
>>
>




Re: [m2] Eclipse, Hibernate Tools

2007-02-26 Thread Lally Singh

On 2/26/07, John J. Franey <[EMAIL PROTECTED]> wrote:



Lally Singh wrote:
>
> how do I get maven to do whatever needs to be done to process my hibernate
> annotations?
>
>

If you are using java 5 annotations and maven 2:  Nothing, aside from
compiling with java 5 or better, homing hibernate and java persistence
configuration files into src/main/resources directory, and obtaining the
hibernate artifacts into your repository.  This answer does not apply to
javadoc annotations (i.e., source code generation via xdoclet) or maven 1.

Annotations are a java language construct and are 'processed' by java
compilation.  The java compiler puts annotation data into the output class
files for the hibernate libraries to read.


Wonderful, thank you.  However, nothing's getting generated into
src/main/resources  (that's just got the original cocoon & spring
stuff in it).  Is there another maven target I should run?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Creation of a tag for a stable 'just works' Archiva version

2007-02-26 Thread Joakim Erdfelt
Out of curiosity, what's important ...

1) Archiva serving up maven 1 (legacy) layout repositories.  (easy / done)
2) Archiva conversion of maven 1 repository to maven 2 repository. 
(easy / done)
3) Archiva being able to proxy maven 2 content for maven 1 clients. 
(moderate / needs work)
4) Archiva being able to serve relocated artifacts to maven 1 clients
transparently. (moderate / needs work)
5) Archiva gui having ability to artifact relocations. (moderate / needs
work)

Archiva does not know who is connecting to it.
It could be a maven 1 client, it could be a maven 2 client, it could be
a user.

If we assume that legacy layout repositories are only served to maven 1
clients, then we can handle points 3 and 4 above.  But if a maven 2
client uses the legacy repository, then points 3 and 4 could mask and/or
hide the relocation warnings on the client side.  Is that behavior
acceptable?

- Joakim

nicolas de loof wrote:
> Could you consider my patch to MRM-153 : archiva beeing maven1
> compliant is
> required for me as lot's of my project still use maven1 to build.
>
> 2007/2/26, Joakim Erdfelt <[EMAIL PROTECTED]>:
>>
>> We are working towards a stable archiva version (alpha) this week.
>> Stay tuned for the tag or release.
>>
>> - Joakim Erdfelt
>>
>> Tomek Korzeniewski wrote:
>> > Greetings to the Archiva Team!
>> >
>> > Would it be possible to create a tag in the svn repo of a stable,
>> 'builds /
>> > works without problem after checkout', version of Archiva? I've been
>> looking
>> > at the dev forum lately and notice that there are a lot of changes
>> being
>> > proposed and ones merged from the archiva MRM-239 branch.
>> >
>> > After reading the many different wiki entries and posts regarding
>> getting
>> > archiva up and running, and the issues users have been having
>> regarding
>> > changes made to the trunk I am weary about checking out what is
>> available at
>> > the moment.
>> >
>> > If you already have something of the sort in the pipeline could you
>> please
>> > post your plans.
>> >
>> > Thanks in advance.
>> >
>>
>>
>



Problem building war file

2007-02-26 Thread Enrique Gaona

Hi,
I'm running into problems building my war file.  Inside my parent pom, I am
adding entry to my manifest file, but when it creates the war file, it
complains about an Embedded error.   Anyone seen this before?



maven-war-plugin




${buildNumber}





[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error assembling WAR

Embedded error: The attribute "BuildVersion" may not occur more than once
in the same section
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 2 minutes 52 seconds
[INFO] Finished at: Mon Feb 26 12:28:34 CST 2007
[INFO] Final Memory: 40M/110M
[INFO]


Thanks

Enrique


Assembly plugin bug?

2007-02-26 Thread Tommy Knowlton

I'm trying to use the maven-assembly-plugin to build a zip that
contains an install.sh at the top level, along with some arbitrary
other artifacts.

I want the install.sh source to be filtered so that certain build-time
variables will be run-time literals.

I've tried to compose an assembly descriptor to do this, but Maven2 is
telling me about the "Unrecognized tag: 'filtered'".

I wonder whether anybody here that is familiar with the
maven-assembly-plugin can tell me what I've done wrong?

My assembly descriptor looks like the following:


   overlay
   
   zip
   
   
   
   src/main/bash
   true  
   
   
   install.sh
   
   
   
   target
   
   
   *.jar
   
   
   


Thanks,
--
Tommy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Edney,

Try running it with debug on and paste the output..

mvn -X install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar -Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar

Cheers
Jo

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> I do that.
>
> and dosn´t work.
>
>
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > That does not make sense what the network guy is saying. We are only
> > talking
> > about an http connection here. DOS or Java or IE. It is still an http
> > connection.
> >
> > I think you just need to get the proxy server, port NUMBER, then your
> user
> > name and password for the proxy.
> >
> > Did you try that?
> >
> >   
> >   
> >  true
> >  http
> >  proxy.somewhere.com
> >  8080
> >  LAN ID (Username)
> >  LAN Password
> >  www.google.com|*.somewhere.com
> >
> > 
> >
> >
> >
> >
> >
> > The difference is sometime you do not need the username and password
for
> > the
> > Proxy. Or at least where I am at now.
> >
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I talk now with the guy from network , and he said that the internet
> > > access
> > > with dos is not allowed.
> > >
> > > Then, I need to do this with windows.
> > >
> > >
> > >
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Edney,
> > > >
> > > > The only other thing that I can think of is that you need to
supply
> a
> > > > username/password for your proxy.
> > > > Does your proxy server need authentication? If it does, configure
it
> > in
> > > > your
> > > > settings.xml..
> > > >
> > > > Here's a snippet (which can also be found here:
> > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > >
> > > > 
> > > >   .
> > > >   .
> > > >   
> > > >
> > > >   true
> > > >   http
> > > >   proxy.somewhere.com
> > > >   8080
> > > >   proxyuser
> > > >   somepassword
> > > >   www.google.com|*.somewhere.com

> > > > 
> > > >   
> > > >   .
> > > >   .
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > > Cheers
> > > > Jo
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello Jo,.
> > > > >
> > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > the correct settings:)
> > > > >
> > > > > I change this value. In the correct file I put  the information
> from
> > > IE
> > > > /;
> > > > > Firefox.
> > > > >
> > > > > I can surf in internet with my browser.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Edney..
> > > > > >
> > > > > > Is this an exact copy of your settings.xml?
> > > > > > Did you fill in the correct proxy host and proxy port for your
> > > > network?
> > > > > > I can assure you that "myproxyserver" and "proxy_port"
> definitely
> > > are
> > > > > not
> > > > > > the correct settings ;)
> > > > > >
> > > > > > Are you able to surf the internet at all via Internet Explorer
> or
> > > > > Firefox?
> > > > > > If so, have a look at the settings of your browser, copy the
> proxy
> > > > > server
> > > > > > settings and paste them in the corresponding fields of your
> > > > settings.xml
> > > > > >
> > > > > > Good luck
> > > > > > Jo
> > > > > >
> > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Ok.
> > > > > > >
> > > > > > > I need to do this configuration in settings.xml file? I do
> that.
> > > > > > >
> > > > > > > Here is my setting.xml file
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > true
> > > > > > > http
> > > > > > > myproxyserver
> > > > > > > proxy_port
> > > > > > > 
> > > > > > > 
> > > > > > > C:\Documents and
> > > > > > > Settings\myuser\.m2\repository
> > > > > > > false
> > > > > > > 
> > > > > > > 
> > > > > > > tomcat_server
> > > > > > > tomcatUser
> > > > > > > tomcatPassword
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >   
> > > > > > > Default
> > > > > > > 
> > > > > > >   
> > > > > > > AndroMDA
> > > > > > > http://team.andromda.org/maven2
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >   
> > > > > > >   
> > > > > > > Central
> > > > > > > http://repo1.maven.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > > IBiblio
> > > > > > > http://www.ibiblio.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > >

Re: (important) Copying files from fixed external folder into WAR's /WEB-INF/.

2007-02-26 Thread Craig McClanahan

On 2/26/07, Udaybhaskar Sarma Seetamraju <[EMAIL PROTECTED]> wrote:

Hi there,

(mailing-list archive does not have a search facility.  Google failed to
show much for [site: mail-archives.apache.org struts])

With many projects already painfully migrated to maven, its a royal pain
to ---copy--- the struts TLDs and DTDs to each developer's folder, for
each of the projects.
Epecially, since we have so successfully been upgrading to newer
versions of struts using Ant's  in such a simple, --STABLE--
and effective manner.


While I agree that a general solution to this problem might be useful,
I've got a question about your specific use case ... why are you
copying the Struts TLDs and DTDs separately?  The runtime environment
does not need them (unless your servlet container is totally broken
about loading resources from inside a jar file), so the only reason I
can think that you might want the files separately is for an IDE.
Even there, most IDEs have a way to register things external to the
project that is worth looking at.

As to the general resource copying problem, one thing you can actually
do is run Ant scripts in a Maven build, using the antrun plugin.  It
would be pretty straightforward to use this in the resource-copying
phase to execute your own script to copy whatever files you need, to
wherever you need, without waiting for Maven to provide a plugin that
behaves the way you require.

Craig





The javaworld article on "The Maven 2 POM demystified" mentioned the use of

|
/META-INF/plexus/|

But that didn't work. I had to use a complex workaround that *!*!* may
not work for too long *!*!*.

   





../${TargetName}-${artifactId}-${version}/WEB-INF

why would ./Fldr  and  ../Fldr  for targetPath, behave in different ways?

I am hoping that someone will point me towards a simple and
maven-upgrade-safe way to include struts DTDs and TLDs.
This stable approach is important for us, because that approach is ALSO
DESPERATELY NEEDED for the other DTDs and XSDs that are required under
/WEB-INF by the 3rd-party JARs we use.


Also, there was mention in a web site about a POM capability like :

tld
Does this exist, and if so, how to use it, and how to create/get the
appropriate JAR to support this?

Summary of Issue:

Copy files from a fixed external path, into specific paths rooted at
/WEB-INF inside the WAR file.
The Path within WAR starting at /WEB-INF/classes is no good.  Not in our
control.
Re: struts, we think its easy to keep the  version of struts
in pom.xml to match the FIXED read-only external folder containing the
DTDs and TLDs.

Maven version: 2.0.4
j2sdk1.4.2_05
debian Testing Etch

In case, there are people like me, I like a long-lasting solution,
especially as I am getting older and cannot afford the luxury of
revisiting the same problems for each new upgrade.

[end]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Mick Knutson

Attach your entire pom.xml and you scrubbed settings.xml please





On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> That does not make sense what the network guy is saying. We are only
> talking
> about an http connection here. DOS or Java or IE. It is still an http
> connection.
>
> I think you just need to get the proxy server, port NUMBER, then your
user
> name and password for the proxy.
>
> Did you try that?
>
>   
>   
>  true
>  http
>  proxy.somewhere.com
>  8080
>  LAN ID (Username)
>  LAN Password
>  www.google.com|*.somewhere.com
>
> 
>
>
>
>
>
> The difference is sometime you do not need the username and password for
> the
> Proxy. Or at least where I am at now.
>
>
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I talk now with the guy from network , and he said that the internet
> > access
> > with dos is not allowed.
> >
> > Then, I need to do this with windows.
> >
> >
> >
> >
> > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Edney,
> > >
> > > The only other thing that I can think of is that you need to supply
a
> > > username/password for your proxy.
> > > Does your proxy server need authentication? If it does, configure it
> in
> > > your
> > > settings.xml..
> > >
> > > Here's a snippet (which can also be found here:
> > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > >
> > > 
> > >   .
> > >   .
> > >   
> > >
> > >   true
> > >   http
> > >   proxy.somewhere.com
> > >   8080
> > >   proxyuser
> > >   somepassword
> > >   www.google.com|*.somewhere.com
> > > 
> > >   
> > >   .
> > >   .
> > > 
> > >
> > >
> > >
> > >
> > > Cheers
> > > Jo
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello Jo,.
> > > >
> > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > the correct settings:)
> > > >
> > > > I change this value. In the correct file I put  the information
from
> > IE
> > > /;
> > > > Firefox.
> > > >
> > > > I can surf in internet with my browser.
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Edney..
> > > > >
> > > > > Is this an exact copy of your settings.xml?
> > > > > Did you fill in the correct proxy host and proxy port for your
> > > network?
> > > > > I can assure you that "myproxyserver" and "proxy_port"
definitely
> > are
> > > > not
> > > > > the correct settings ;)
> > > > >
> > > > > Are you able to surf the internet at all via Internet Explorer
or
> > > > Firefox?
> > > > > If so, have a look at the settings of your browser, copy the
proxy
> > > > server
> > > > > settings and paste them in the corresponding fields of your
> > > settings.xml
> > > > >
> > > > > Good luck
> > > > > Jo
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Ok.
> > > > > >
> > > > > > I need to do this configuration in settings.xml file? I do
that.
> > > > > >
> > > > > > Here is my setting.xml file
> > > > > >
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > true
> > > > > > http
> > > > > > myproxyserver
> > > > > > proxy_port
> > > > > > 
> > > > > > 
> > > > > > C:\Documents and
> > > > > > Settings\myuser\.m2\repository
> > > > > > false
> > > > > > 
> > > > > > 
> > > > > > tomcat_server
> > > > > > tomcatUser
> > > > > > tomcatPassword
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >   
> > > > > > Default
> > > > > > 
> > > > > >   
> > > > > > AndroMDA
> > > > > > http://team.andromda.org/maven2
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > >   
> > > > > > Central
> > > > > > http://repo1.maven.org/maven2
> > > > > >   
> > > > > >   
> > > > > > IBiblio
> > > > > > http://www.ibiblio.org/maven2
> > > > > >   
> > > > > >   
> > > > > > codehaus snapshot repository
> > > > > > http://snapshots.repository.codehaus.org

> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >false
> > > > > >  
> > > > > >  myfaces.staging
> > > > > >  MyFaces Staging Repository
> > > > > >  
> > > > http://myfaces.zones.apache.org/dist/maven-repository
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >   

[M2] hibernate doclet errors in build due to annotations in code.

2007-02-26 Thread Mick Knutson

I am using annotation in my java code and when I run hibernate doclet on a
module that has some annotated code I get the following errors even though
the build is successful:


Error parsing File
E:\SourceCode\NPI\npi_tactical_scm\NPI_Provider\common\services\src\main\java\org\delta\provider\npi\dao\impl\P
roviderHistoryDAOImpl.java:Encountered "<" at line 30, column 22.
Was expecting one of:
...
   "[" ...
   "." ...
   "(" ...




--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com
---


Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


That does not make sense what the network guy is saying. We are only
talking
about an http connection here. DOS or Java or IE. It is still an http
connection.

I think you just need to get the proxy server, port NUMBER, then your user
name and password for the proxy.

Did you try that?

  
  
 true
 http
 proxy.somewhere.com
 8080
 LAN ID (Username)
 LAN Password
 www.google.com|*.somewhere.com
   






The difference is sometime you do not need the username and password for
the
Proxy. Or at least where I am at now.







On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I talk now with the guy from network , and he said that the internet
> access
> with dos is not allowed.
>
> Then, I need to do this with windows.
>
>
>
>
> On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> >
> > Hi Edney,
> >
> > The only other thing that I can think of is that you need to supply a
> > username/password for your proxy.
> > Does your proxy server need authentication? If it does, configure it
in
> > your
> > settings.xml..
> >
> > Here's a snippet (which can also be found here:
> > http://maven.apache.org/guides/mini/guide-proxies.html):
> >
> > 
> >   .
> >   .
> >   
> >
> >   true
> >   http
> >   proxy.somewhere.com
> >   8080
> >   proxyuser
> >   somepassword
> >   www.google.com|*.somewhere.com
> > 
> >   
> >   .
> >   .
> > 
> >
> >
> >
> >
> > Cheers
> > Jo
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hello Jo,.
> > >
> > > "myproxyserver" and "proxy_port" definitely are really not
> > > the correct settings:)
> > >
> > > I change this value. In the correct file I put  the information from
> IE
> > /;
> > > Firefox.
> > >
> > > I can surf in internet with my browser.
> > >
> > >
> > >
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Edney..
> > > >
> > > > Is this an exact copy of your settings.xml?
> > > > Did you fill in the correct proxy host and proxy port for your
> > network?
> > > > I can assure you that "myproxyserver" and "proxy_port" definitely
> are
> > > not
> > > > the correct settings ;)
> > > >
> > > > Are you able to surf the internet at all via Internet Explorer or
> > > Firefox?
> > > > If so, have a look at the settings of your browser, copy the proxy
> > > server
> > > > settings and paste them in the corresponding fields of your
> > settings.xml
> > > >
> > > > Good luck
> > > > Jo
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Ok.
> > > > >
> > > > > I need to do this configuration in settings.xml file? I do that.
> > > > >
> > > > > Here is my setting.xml file
> > > > >
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > true
> > > > > http
> > > > > myproxyserver
> > > > > proxy_port
> > > > > 
> > > > > 
> > > > > C:\Documents and
> > > > > Settings\myuser\.m2\repository
> > > > > false
> > > > > 
> > > > > 
> > > > > tomcat_server
> > > > > tomcatUser
> > > > > tomcatPassword
> > > > > 
> > > > > 
> > > > > 
> > > > >   
> > > > > Default
> > > > > 
> > > > >   
> > > > > AndroMDA
> > > > > http://team.andromda.org/maven2
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > >   
> > > > >   
> > > > > Central
> > > > > http://repo1.maven.org/maven2
> > > > >   
> > > > >   
> > > > > IBiblio
> > > > > http://www.ibiblio.org/maven2
> > > > >   
> > > > >   
> > > > > codehaus snapshot repository
> > > > > http://snapshots.repository.codehaus.org
> > > > >  
> > > > >  
> > > > >  
> > > > >  
> > > > >   
> > > > > 
> > > > > 
> > > > > 
> > > > >  
> > > > >  
> > > > >  
> > > > >false
> > > > >  
> > > > >  myfaces.staging
> > > > >  MyFaces Staging Repository
> > > > >  
> > > http://myfaces.zones.apache.org/dist/maven-repository
> > > > > 
> > > > > 
> > > > > 
> > > > >  androMda
> > > > >  AndroMda Repository
> > > > >  http://andromda.org/maven2
> > > > >  
> > > > >  
> > > > >  
> > > > >false
> > > > >  
> > > > > 
> > > > > 
> > > > >   
> > > > > 
> > > > > 
> > > > > Default
> > > > > 
> > > > > 
> > > > >
> > > > > But, here, my access is restricted to internet from DOS
> > > > >
> > > > > I need a Windows application o

Re: Problems with maven

2007-02-26 Thread Edney Imme

I get the same error

Edney

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


if you use the entire server, port, and suername/password

What do you get for an error?




On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> I do that.
>
> and dosn´t work.
>
>
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > That does not make sense what the network guy is saying. We are only
> > talking
> > about an http connection here. DOS or Java or IE. It is still an http
> > connection.
> >
> > I think you just need to get the proxy server, port NUMBER, then your
> user
> > name and password for the proxy.
> >
> > Did you try that?
> >
> >   
> >   
> >  true
> >  http
> >  proxy.somewhere.com
> >  8080
> >  LAN ID (Username)
> >  LAN Password
> >  www.google.com|*.somewhere.com
> >
> > 
> >
> >
> >
> >
> >
> > The difference is sometime you do not need the username and password
for
> > the
> > Proxy. Or at least where I am at now.
> >
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > I talk now with the guy from network , and he said that the internet
> > > access
> > > with dos is not allowed.
> > >
> > > Then, I need to do this with windows.
> > >
> > >
> > >
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi Edney,
> > > >
> > > > The only other thing that I can think of is that you need to
supply
> a
> > > > username/password for your proxy.
> > > > Does your proxy server need authentication? If it does, configure
it
> > in
> > > > your
> > > > settings.xml..
> > > >
> > > > Here's a snippet (which can also be found here:
> > > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > > >
> > > > 
> > > >   .
> > > >   .
> > > >   
> > > >
> > > >   true
> > > >   http
> > > >   proxy.somewhere.com
> > > >   8080
> > > >   proxyuser
> > > >   somepassword
> > > >   www.google.com|*.somewhere.com

> > > > 
> > > >   
> > > >   .
> > > >   .
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > > Cheers
> > > > Jo
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hello Jo,.
> > > > >
> > > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > > the correct settings:)
> > > > >
> > > > > I change this value. In the correct file I put  the information
> from
> > > IE
> > > > /;
> > > > > Firefox.
> > > > >
> > > > > I can surf in internet with my browser.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Edney..
> > > > > >
> > > > > > Is this an exact copy of your settings.xml?
> > > > > > Did you fill in the correct proxy host and proxy port for your
> > > > network?
> > > > > > I can assure you that "myproxyserver" and "proxy_port"
> definitely
> > > are
> > > > > not
> > > > > > the correct settings ;)
> > > > > >
> > > > > > Are you able to surf the internet at all via Internet Explorer
> or
> > > > > Firefox?
> > > > > > If so, have a look at the settings of your browser, copy the
> proxy
> > > > > server
> > > > > > settings and paste them in the corresponding fields of your
> > > > settings.xml
> > > > > >
> > > > > > Good luck
> > > > > > Jo
> > > > > >
> > > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Ok.
> > > > > > >
> > > > > > > I need to do this configuration in settings.xml file? I do
> that.
> > > > > > >
> > > > > > > Here is my setting.xml file
> > > > > > >
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > true
> > > > > > > http
> > > > > > > myproxyserver
> > > > > > > proxy_port
> > > > > > > 
> > > > > > > 
> > > > > > > C:\Documents and
> > > > > > > Settings\myuser\.m2\repository
> > > > > > > false
> > > > > > > 
> > > > > > > 
> > > > > > > tomcat_server
> > > > > > > tomcatUser
> > > > > > > tomcatPassword
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > >   
> > > > > > > Default
> > > > > > > 
> > > > > > >   
> > > > > > > AndroMDA
> > > > > > > http://team.andromda.org/maven2
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >   
> > > > > > >   
> > > > > > > Central
> > > > > > > http://repo1.maven.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > > IBiblio
> > > > > > > http://www.ibiblio.org/maven2
> > > > > > >   
> > > > > > >   
> > > > > > > codehaus snapshot repository
> > > > > > > http://snapshots.repository.codehaus.org
> 
> > > > > > >  
> > > > > > >  
> > > > > > >  
> > > > > > >   

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi,

I talk now with the guy from network , and he said that the internet access
with dos is not allowed.

Then, I need to do this with windows.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in
your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):


  .
  .
  
   
  true
  http
  proxy.somewhere.com
  8080
  proxyuser
  somepassword
  www.google.com|*.somewhere.com

  
  .
  .





Cheers
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hello Jo,.
>
> "myproxyserver" and "proxy_port" definitely are really not
> the correct settings:)
>
> I change this value. In the correct file I put  the information from IE
/;
> Firefox.
>
> I can surf in internet with my browser.
>
>
>
>
> On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> >
> > Edney..
> >
> > Is this an exact copy of your settings.xml?
> > Did you fill in the correct proxy host and proxy port for your
network?
> > I can assure you that "myproxyserver" and "proxy_port" definitely are
> not
> > the correct settings ;)
> >
> > Are you able to surf the internet at all via Internet Explorer or
> Firefox?
> > If so, have a look at the settings of your browser, copy the proxy
> server
> > settings and paste them in the corresponding fields of your
settings.xml
> >
> > Good luck
> > Jo
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Ok.
> > >
> > > I need to do this configuration in settings.xml file? I do that.
> > >
> > > Here is my setting.xml file
> > >
> > > 
> > > 
> > > 
> > > 
> > > true
> > > http
> > > myproxyserver
> > > proxy_port
> > > 
> > > 
> > > C:\Documents and
> > > Settings\myuser\.m2\repository
> > > false
> > > 
> > > 
> > > tomcat_server
> > > tomcatUser
> > > tomcatPassword
> > > 
> > > 
> > > 
> > >   
> > > Default
> > > 
> > >   
> > > AndroMDA
> > > http://team.andromda.org/maven2
> > >  
> > >  
> > >  
> > >  
> > >   
> > >   
> > > Central
> > > http://repo1.maven.org/maven2
> > >   
> > >   
> > > IBiblio
> > > http://www.ibiblio.org/maven2
> > >   
> > >   
> > > codehaus snapshot repository
> > > http://snapshots.repository.codehaus.org
> > >  
> > >  
> > >  
> > >  
> > >   
> > > 
> > > 
> > > 
> > >  
> > >  
> > >  
> > >false
> > >  
> > >  myfaces.staging
> > >  MyFaces Staging Repository
> > >  
> http://myfaces.zones.apache.org/dist/maven-repository
> > > 
> > > 
> > > 
> > >  androMda
> > >  AndroMda Repository
> > >  http://andromda.org/maven2
> > >  
> > >  
> > >  
> > >false
> > >  
> > > 
> > > 
> > >   
> > > 
> > > 
> > > Default
> > > 
> > > 
> > >
> > > But, here, my access is restricted to internet from DOS
> > >
> > > I need a Windows application oder a plugin to eclipse, who i can do
> the
> > > download without command line interface
> > >
> > >
> > > thank.
> > > Edney
> > >
> > > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > >
> > > > You need to get the proxy settings from IE, then you need to set
> Maven
> > > to
> > > > use that same proxy server just like IE does.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > thank Jo
> > > > >
> > > > > But, here, in my company , the network guy can´t change this
> > > > > configuration.
> > > > >
> > > > > Politics from this company.
> > > > >
> > > > > I can access web from MS-DOS.
> > > > >
> > > > > I need a pluggin to do that in eclipse.
> > > > >
> > > > > Sorry
> > > > >
> > > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi there,
> > > > > >
> > > > > > 1. You've got network issues.. Contact your network guy for
the
> > > > correct
> > > > > > proxy settings.
> > > > > > So, get your network and proxy settings up and running and you
> > > should
> > > > be
> > > > > > good to go..
> > > > > >
> > > > > > 2. Installing an external jar into your repository - like most
> > > things
> > > > in
> > > > > > maven - can only be done via the command line interface..
> > > > > > Why would you even want anything else, isn't 

Re: Problems with maven

2007-02-26 Thread Mick Knutson

if you use the entire server, port, and suername/password

What do you get for an error?




On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hello

I do that.

and dosn´t work.



On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> That does not make sense what the network guy is saying. We are only
> talking
> about an http connection here. DOS or Java or IE. It is still an http
> connection.
>
> I think you just need to get the proxy server, port NUMBER, then your
user
> name and password for the proxy.
>
> Did you try that?
>
>   
>   
>  true
>  http
>  proxy.somewhere.com
>  8080
>  LAN ID (Username)
>  LAN Password
>  www.google.com|*.somewhere.com
>
> 
>
>
>
>
>
> The difference is sometime you do not need the username and password for
> the
> Proxy. Or at least where I am at now.
>
>
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I talk now with the guy from network , and he said that the internet
> > access
> > with dos is not allowed.
> >
> > Then, I need to do this with windows.
> >
> >
> >
> >
> > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Edney,
> > >
> > > The only other thing that I can think of is that you need to supply
a
> > > username/password for your proxy.
> > > Does your proxy server need authentication? If it does, configure it
> in
> > > your
> > > settings.xml..
> > >
> > > Here's a snippet (which can also be found here:
> > > http://maven.apache.org/guides/mini/guide-proxies.html):
> > >
> > > 
> > >   .
> > >   .
> > >   
> > >
> > >   true
> > >   http
> > >   proxy.somewhere.com
> > >   8080
> > >   proxyuser
> > >   somepassword
> > >   www.google.com|*.somewhere.com
> > > 
> > >   
> > >   .
> > >   .
> > > 
> > >
> > >
> > >
> > >
> > > Cheers
> > > Jo
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello Jo,.
> > > >
> > > > "myproxyserver" and "proxy_port" definitely are really not
> > > > the correct settings:)
> > > >
> > > > I change this value. In the correct file I put  the information
from
> > IE
> > > /;
> > > > Firefox.
> > > >
> > > > I can surf in internet with my browser.
> > > >
> > > >
> > > >
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Edney..
> > > > >
> > > > > Is this an exact copy of your settings.xml?
> > > > > Did you fill in the correct proxy host and proxy port for your
> > > network?
> > > > > I can assure you that "myproxyserver" and "proxy_port"
definitely
> > are
> > > > not
> > > > > the correct settings ;)
> > > > >
> > > > > Are you able to surf the internet at all via Internet Explorer
or
> > > > Firefox?
> > > > > If so, have a look at the settings of your browser, copy the
proxy
> > > > server
> > > > > settings and paste them in the corresponding fields of your
> > > settings.xml
> > > > >
> > > > > Good luck
> > > > > Jo
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Ok.
> > > > > >
> > > > > > I need to do this configuration in settings.xml file? I do
that.
> > > > > >
> > > > > > Here is my setting.xml file
> > > > > >
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > true
> > > > > > http
> > > > > > myproxyserver
> > > > > > proxy_port
> > > > > > 
> > > > > > 
> > > > > > C:\Documents and
> > > > > > Settings\myuser\.m2\repository
> > > > > > false
> > > > > > 
> > > > > > 
> > > > > > tomcat_server
> > > > > > tomcatUser
> > > > > > tomcatPassword
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >   
> > > > > > Default
> > > > > > 
> > > > > >   
> > > > > > AndroMDA
> > > > > > http://team.andromda.org/maven2
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > >   
> > > > > > Central
> > > > > > http://repo1.maven.org/maven2
> > > > > >   
> > > > > >   
> > > > > > IBiblio
> > > > > > http://www.ibiblio.org/maven2
> > > > > >   
> > > > > >   
> > > > > > codehaus snapshot repository
> > > > > > http://snapshots.repository.codehaus.org

> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >   
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >false
> > > > > >  
> > > > > >  myfaces.staging
> > > > > >  MyFaces Staging Repository
> > > > > >  
> > > > http://myfaces.zones.apache.org/dist/maven-repository
> > > > > > 
> > > > > > 
> > > > > >

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi Edney,

The only other thing that I can think of is that you need to supply a
username/password for your proxy.
Does your proxy server need authentication? If it does, configure it in your
settings.xml..

Here's a snippet (which can also be found here:
http://maven.apache.org/guides/mini/guide-proxies.html):


 .
 .
 
  
 true
 http
 proxy.somewhere.com
 8080
 proxyuser
 somepassword
 www.google.com|*.somewhere.com
   
 
 .
 .





Cheers
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hello Jo,.

"myproxyserver" and "proxy_port" definitely are really not
the correct settings:)

I change this value. In the correct file I put  the information from IE /;
Firefox.

I can surf in internet with my browser.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Edney..
>
> Is this an exact copy of your settings.xml?
> Did you fill in the correct proxy host and proxy port for your network?
> I can assure you that "myproxyserver" and "proxy_port" definitely are
not
> the correct settings ;)
>
> Are you able to surf the internet at all via Internet Explorer or
Firefox?
> If so, have a look at the settings of your browser, copy the proxy
server
> settings and paste them in the corresponding fields of your settings.xml
>
> Good luck
> Jo
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Ok.
> >
> > I need to do this configuration in settings.xml file? I do that.
> >
> > Here is my setting.xml file
> >
> > 
> > 
> > 
> > 
> > true
> > http
> > myproxyserver
> > proxy_port
> > 
> > 
> > C:\Documents and
> > Settings\myuser\.m2\repository
> > false
> > 
> > 
> > tomcat_server
> > tomcatUser
> > tomcatPassword
> > 
> > 
> > 
> >   
> > Default
> > 
> >   
> > AndroMDA
> > http://team.andromda.org/maven2
> >  
> >  
> >  
> >  
> >   
> >   
> > Central
> > http://repo1.maven.org/maven2
> >   
> >   
> > IBiblio
> > http://www.ibiblio.org/maven2
> >   
> >   
> > codehaus snapshot repository
> > http://snapshots.repository.codehaus.org
> >  
> >  
> >  
> >  
> >   
> > 
> > 
> > 
> >  
> >  
> >  
> >false
> >  
> >  myfaces.staging
> >  MyFaces Staging Repository
> >  
http://myfaces.zones.apache.org/dist/maven-repository
> > 
> > 
> > 
> >  androMda
> >  AndroMda Repository
> >  http://andromda.org/maven2
> >  
> >  
> >  
> >false
> >  
> > 
> > 
> >   
> > 
> > 
> > Default
> > 
> > 
> >
> > But, here, my access is restricted to internet from DOS
> >
> > I need a Windows application oder a plugin to eclipse, who i can do
the
> > download without command line interface
> >
> >
> > thank.
> > Edney
> >
> > On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > >
> > > You need to get the proxy settings from IE, then you need to set
Maven
> > to
> > > use that same proxy server just like IE does.
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > thank Jo
> > > >
> > > > But, here, in my company , the network guy can´t change this
> > > > configuration.
> > > >
> > > > Politics from this company.
> > > >
> > > > I can access web from MS-DOS.
> > > >
> > > > I need a pluggin to do that in eclipse.
> > > >
> > > > Sorry
> > > >
> > > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi there,
> > > > >
> > > > > 1. You've got network issues.. Contact your network guy for the
> > > correct
> > > > > proxy settings.
> > > > > So, get your network and proxy settings up and running and you
> > should
> > > be
> > > > > good to go..
> > > > >
> > > > > 2. Installing an external jar into your repository - like most
> > things
> > > in
> > > > > maven - can only be done via the command line interface..
> > > > > Why would you even want anything else, isn't it ? ;)
> > > > >
> > > > > Good luck
> > > > > Jo
> > > > >
> > > > >
> > > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hi everybody,
> > > > > >
> > > > > > I need help.
> > > > > >
> > > > > > I have the follow problem with Maven.
> > > > > >
> > > > > > I execute this command.
> > > > > >
> > > > > > mvn install:install-file
> > > > > > -DgroupId=
> org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > > -Dversion=
> > > > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > > -Df

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hi,
I already do that.
I only change this value when i send this to the list.

thank.

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


If you can get internet acces via DOS, that is command line.

You should be able to add this to your settings.xml and add the server and
port:

   
   true
   http
   myproxyserver
   proxy_port
   




On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Ok.
>
> I need to do this configuration in settings.xml file? I do that.
>
> Here is my setting.xml file
>
> 
> 
> 
> 
> true
> http
> myproxyserver
> proxy_port
> 
> 
> C:\Documents and
> Settings\myuser\.m2\repository
> false
> 
> 
> tomcat_server
> tomcatUser
> tomcatPassword
> 
> 
> 
>   
> Default
> 
>   
> AndroMDA
> http://team.andromda.org/maven2
>  
>  
>  
>  
>   
>   
> Central
> http://repo1.maven.org/maven2
>   
>   
> IBiblio
> http://www.ibiblio.org/maven2
>   
>   
> codehaus snapshot repository
> http://snapshots.repository.codehaus.org
>  
>  
>  
>  
>   
> 
> 
> 
>  
>  
>  
>false
>  
>  myfaces.staging
>  MyFaces Staging Repository
>  http://myfaces.zones.apache.org/dist/maven-repository
> 
> 
> 
>  androMda
>  AndroMda Repository
>  http://andromda.org/maven2
>  
>  
>  
>false
>  
> 
> 
>   
> 
> 
> Default
> 
> 
>
> But, here, my access is restricted to internet from DOS
>
> I need a Windows application oder a plugin to eclipse, who i can do the
> download without command line interface
>
>
> thank.
> Edney
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > You need to get the proxy settings from IE, then you need to set Maven
> to
> > use that same proxy server just like IE does.
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > thank Jo
> > >
> > > But, here, in my company , the network guy can´t change this
> > > configuration.
> > >
> > > Politics from this company.
> > >
> > > I can access web from MS-DOS.
> > >
> > > I need a pluggin to do that in eclipse.
> > >
> > > Sorry
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi there,
> > > >
> > > > 1. You've got network issues.. Contact your network guy for the
> > correct
> > > > proxy settings.
> > > > So, get your network and proxy settings up and running and you
> should
> > be
> > > > good to go..
> > > >
> > > > 2. Installing an external jar into your repository - like most
> things
> > in
> > > > maven - can only be done via the command line interface..
> > > > Why would you even want anything else, isn't it ? ;)
> > > >
> > > > Good luck
> > > > Jo
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi everybody,
> > > > >
> > > > > I need help.
> > > > >
> > > > > I have the follow problem with Maven.
> > > > >
> > > > > I execute this command.
> > > > >
> > > > > mvn install:install-file
> > > > > -DgroupId=
org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > -Dversion=
> > > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > -Dfile=c:/tmp/tomahawk-
> > > > > sandbox-1.1.4-SNAPSHOT.jar 
> > > > >
> > > > > And I get this error message
> > > > >
> > > > >
> > > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > > > 1.1.4-SNAPSHOT-Dpackag
> > > > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > > > [INFO] Scanning for projects...
> > > > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > > > [INFO] org.apache.maven.plugins: checking for updates from
central
> > > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
> could
> > > not
> > > > be
> > > > > retri
> > > > > eved from repository: central due to an error: Error
transferring
> > file
> > > > > [INFO] Repository 'central' will be blacklisted
> > > > > [INFO]
> > > > >
> > >
> 
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> 
> > > > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin
'
> > does
> > > > not
> > > > > exist
> > > > > or no valid version 

Re: Problems with maven

2007-02-26 Thread Edney Imme

Hello Jo,.

"myproxyserver" and "proxy_port" definitely are really not
the correct settings:)

I change this value. In the correct file I put  the information from IE /;
Firefox.

I can surf in internet with my browser.




On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Edney..

Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for your network?
I can assure you that "myproxyserver" and "proxy_port" definitely are not
the correct settings ;)

Are you able to surf the internet at all via Internet Explorer or Firefox?
If so, have a look at the settings of your browser, copy the proxy server
settings and paste them in the corresponding fields of your settings.xml

Good luck
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Ok.
>
> I need to do this configuration in settings.xml file? I do that.
>
> Here is my setting.xml file
>
> 
> 
> 
> 
> true
> http
> myproxyserver
> proxy_port
> 
> 
> C:\Documents and
> Settings\myuser\.m2\repository
> false
> 
> 
> tomcat_server
> tomcatUser
> tomcatPassword
> 
> 
> 
>   
> Default
> 
>   
> AndroMDA
> http://team.andromda.org/maven2
>  
>  
>  
>  
>   
>   
> Central
> http://repo1.maven.org/maven2
>   
>   
> IBiblio
> http://www.ibiblio.org/maven2
>   
>   
> codehaus snapshot repository
> http://snapshots.repository.codehaus.org
>  
>  
>  
>  
>   
> 
> 
> 
>  
>  
>  
>false
>  
>  myfaces.staging
>  MyFaces Staging Repository
>  http://myfaces.zones.apache.org/dist/maven-repository
> 
> 
> 
>  androMda
>  AndroMda Repository
>  http://andromda.org/maven2
>  
>  
>  
>false
>  
> 
> 
>   
> 
> 
> Default
> 
> 
>
> But, here, my access is restricted to internet from DOS
>
> I need a Windows application oder a plugin to eclipse, who i can do the
> download without command line interface
>
>
> thank.
> Edney
>
> On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> >
> > You need to get the proxy settings from IE, then you need to set Maven
> to
> > use that same proxy server just like IE does.
> >
> >
> >
> >
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > thank Jo
> > >
> > > But, here, in my company , the network guy can´t change this
> > > configuration.
> > >
> > > Politics from this company.
> > >
> > > I can access web from MS-DOS.
> > >
> > > I need a pluggin to do that in eclipse.
> > >
> > > Sorry
> > >
> > > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi there,
> > > >
> > > > 1. You've got network issues.. Contact your network guy for the
> > correct
> > > > proxy settings.
> > > > So, get your network and proxy settings up and running and you
> should
> > be
> > > > good to go..
> > > >
> > > > 2. Installing an external jar into your repository - like most
> things
> > in
> > > > maven - can only be done via the command line interface..
> > > > Why would you even want anything else, isn't it ? ;)
> > > >
> > > > Good luck
> > > > Jo
> > > >
> > > >
> > > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi everybody,
> > > > >
> > > > > I need help.
> > > > >
> > > > > I have the follow problem with Maven.
> > > > >
> > > > > I execute this command.
> > > > >
> > > > > mvn install:install-file
> > > > > -DgroupId=
org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > > -Dversion=
> > > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > > -Dfile=c:/tmp/tomahawk-
> > > > > sandbox-1.1.4-SNAPSHOT.jar 
> > > > >
> > > > > And I get this error message
> > > > >
> > > > >
> > > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > > > 1.1.4-SNAPSHOT-Dpackag
> > > > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > > > [INFO] Scanning for projects...
> > > > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > > > [INFO] org.apache.maven.plugins: checking for updates from
central
> > > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
> could
> > > not
> > > > be
> > > > > retri
> > > > > eved from repository: central due to an error: Error
transferring
> > file
> > > > > [INFO] Repository 'central' will be blacklisted
> > > > > [INFO]
> > > > >
> > >

Mutliple Repositories inheritance

2007-02-26 Thread Thomas Colin de Verdière

Hello,
Is it possible to use multiple repositories ?
For example :
"test3" is a module with "jar" packaging.
It has the following dependencies :
 
   
 commons-logging
 commons-logging
 1.0.3
   
   
 junit
 junit
 3.8.1
 test
   
   
   com.scort.abstractsyntax
   scortabstractsyntax
   1.1.0
   
 

So there are "commons-logging" and "scortabstractsyntax" needed for 
compilation.
And scortabstractsyntax is an artifact which is hosted on my internal 
repository, it is on my machine.

So i set the repositories element into the POM file :

 
   
 SCORT-INTERNAL-REP-LIB
 Local Repository Lib
 http://localhost:8080/repositorylib
 default
   
 

When i execute the command : "mvn install", here is the log file :

[INFO] Scanning for projects...
[INFO] 


[INFO] Building test3
[INFO]task-segment: [install]
[INFO] 


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://localhost:8080/repositorylib/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.pom
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


[INFO] Error building POM (may not be this project's POM).


Project ID: commons-logging:commons-logging

Reason: Error getting POM for 'commons-logging:commons-logging' from the 
repository: Error transferring file

 commons-logging:commons-logging:pom:1.0.3

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 SCORT-INTERNAL-REP-LIB (http://localhost:8080/repositorylib)



[INFO] 


[INFO] For more information, run Maven with the -e switch
[INFO] 


[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Feb 26 18:59:33 CET 2007
[INFO] Final Memory: 3M/6M
[INFO] 




Now if i remove the  element and the scortabstractsyntax 
dependency. It succeeds to download commons-logging.

So why ??

Thomas


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Mick Knutson

If you can get internet acces via DOS, that is command line.

You should be able to add this to your settings.xml and add the server and
port:

  
  true
  http
  myproxyserver
  proxy_port
  




On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file





true
http
myproxyserver
proxy_port


C:\Documents and
Settings\myuser\.m2\repository
false


tomcat_server
tomcatUser
tomcatPassword



  
Default

  
AndroMDA
http://team.andromda.org/maven2
 
 
 
 
  
  
Central
http://repo1.maven.org/maven2
  
  
IBiblio
http://www.ibiblio.org/maven2
  
  
codehaus snapshot repository
http://snapshots.repository.codehaus.org
 
 
 
 
  



 
 
 
   false
 
 myfaces.staging
 MyFaces Staging Repository
 http://myfaces.zones.apache.org/dist/maven-repository



 androMda
 AndroMda Repository
 http://andromda.org/maven2
 
 
 
   false
 


  


Default



But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> You need to get the proxy settings from IE, then you need to set Maven
to
> use that same proxy server just like IE does.
>
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > thank Jo
> >
> > But, here, in my company , the network guy can´t change this
> > configuration.
> >
> > Politics from this company.
> >
> > I can access web from MS-DOS.
> >
> > I need a pluggin to do that in eclipse.
> >
> > Sorry
> >
> > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi there,
> > >
> > > 1. You've got network issues.. Contact your network guy for the
> correct
> > > proxy settings.
> > > So, get your network and proxy settings up and running and you
should
> be
> > > good to go..
> > >
> > > 2. Installing an external jar into your repository - like most
things
> in
> > > maven - can only be done via the command line interface..
> > > Why would you even want anything else, isn't it ? ;)
> > >
> > > Good luck
> > > Jo
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi everybody,
> > > >
> > > > I need help.
> > > >
> > > > I have the follow problem with Maven.
> > > >
> > > > I execute this command.
> > > >
> > > > mvn install:install-file
> > > > -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > -Dversion=
> > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=c:/tmp/tomahawk-
> > > > sandbox-1.1.4-SNAPSHOT.jar 
> > > >
> > > > And I get this error message
> > > >
> > > >
> > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > > 1.1.4-SNAPSHOT-Dpackag
> > > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > > [INFO] Scanning for projects...
> > > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > > [INFO] org.apache.maven.plugins: checking for updates from central
> > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
could
> > not
> > > be
> > > > retri
> > > > eved from repository: central due to an error: Error transferring
> file
> > > > [INFO] Repository 'central' will be blacklisted
> > > > [INFO]
> > > >
> >

> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> >

> > > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin'
> does
> > > not
> > > > exist
> > > > or no valid version could be found
> > > > [INFO]
> > > >
> >

> > > > [INFO] For more information, run Maven with the -e switch
> > > > [INFO]
> > > >
> >

> > > > [INFO] Total time: 22 seconds
> > > > [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> > > > [INFO] Final Memory: 1M/2M
> > > > [INFO]
> > > >
> >

> > > >
> > 

Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Edney..

Is this an exact copy of your settings.xml?
Did you fill in the correct proxy host and proxy port for your network?
I can assure you that "myproxyserver" and "proxy_port" definitely are not
the correct settings ;)

Are you able to surf the internet at all via Internet Explorer or Firefox?
If so, have a look at the settings of your browser, copy the proxy server
settings and paste them in the corresponding fields of your settings.xml

Good luck
Jo

On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file





true
http
myproxyserver
proxy_port


C:\Documents and
Settings\myuser\.m2\repository
false


tomcat_server
tomcatUser
tomcatPassword



  
Default

  
AndroMDA
http://team.andromda.org/maven2
 
 
 
 
  
  
Central
http://repo1.maven.org/maven2
  
  
IBiblio
http://www.ibiblio.org/maven2
  
  
codehaus snapshot repository
http://snapshots.repository.codehaus.org
 
 
 
 
  



 
 
 
   false
 
 myfaces.staging
 MyFaces Staging Repository
 http://myfaces.zones.apache.org/dist/maven-repository



 androMda
 AndroMda Repository
 http://andromda.org/maven2
 
 
 
   false
 


  


Default



But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> You need to get the proxy settings from IE, then you need to set Maven
to
> use that same proxy server just like IE does.
>
>
>
>
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > thank Jo
> >
> > But, here, in my company , the network guy can´t change this
> > configuration.
> >
> > Politics from this company.
> >
> > I can access web from MS-DOS.
> >
> > I need a pluggin to do that in eclipse.
> >
> > Sorry
> >
> > On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi there,
> > >
> > > 1. You've got network issues.. Contact your network guy for the
> correct
> > > proxy settings.
> > > So, get your network and proxy settings up and running and you
should
> be
> > > good to go..
> > >
> > > 2. Installing an external jar into your repository - like most
things
> in
> > > maven - can only be done via the command line interface..
> > > Why would you even want anything else, isn't it ? ;)
> > >
> > > Good luck
> > > Jo
> > >
> > >
> > > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi everybody,
> > > >
> > > > I need help.
> > > >
> > > > I have the follow problem with Maven.
> > > >
> > > > I execute this command.
> > > >
> > > > mvn install:install-file
> > > > -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > > -Dversion=
> > > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > > -Dfile=c:/tmp/tomahawk-
> > > > sandbox-1.1.4-SNAPSHOT.jar 
> > > >
> > > > And I get this error message
> > > >
> > > >
> > > > C:\mvn install:install-file -DgroupId=org.apache.
> > > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > > 1.1.4-SNAPSHOT-Dpackag
> > > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > > [INFO] Scanning for projects...
> > > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > > [INFO] org.apache.maven.plugins: checking for updates from central
> > > > [WARNING] repository metadata for: 'org.apache.maven.plugins'
could
> > not
> > > be
> > > > retri
> > > > eved from repository: central due to an error: Error transferring
> file
> > > > [INFO] Repository 'central' will be blacklisted
> > > > [INFO]
> > > >
> >

> > > > [ERROR] BUILD ERROR
> > > > [INFO]
> > > >
> >

> > > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin'
> does
> > > not
> > > > exist
> > > > or no valid version could be found
> > > > [INFO]
> > > >
> >

> > > > [INFO] For more information, run Maven with the -e switch
> > > > [INFO]
> > > >
> >

> > > > [INFO] Tot

Re: Creation of a tag for a stable 'just works' Archiva version

2007-02-26 Thread nicolas de loof

Could you consider my patch to MRM-153 : archiva beeing maven1 compliant is
required for me as lot's of my project still use maven1 to build.

2007/2/26, Joakim Erdfelt <[EMAIL PROTECTED]>:


We are working towards a stable archiva version (alpha) this week.
Stay tuned for the tag or release.

- Joakim Erdfelt

Tomek Korzeniewski wrote:
> Greetings to the Archiva Team!
>
> Would it be possible to create a tag in the svn repo of a stable,
'builds /
> works without problem after checkout', version of Archiva? I've been
looking
> at the dev forum lately and notice that there are a lot of changes being
> proposed and ones merged from the archiva MRM-239 branch.
>
> After reading the many different wiki entries and posts regarding
getting
> archiva up and running, and the issues users have been having regarding
> changes made to the trunk I am weary about checking out what is
available at
> the moment.
>
> If you already have something of the sort in the pipeline could you
please
> post your plans.
>
> Thanks in advance.
>




Re: Problems with maven

2007-02-26 Thread Edney Imme

Ok.

I need to do this configuration in settings.xml file? I do that.

Here is my setting.xml file



   
   
   true
   http
   myproxyserver
   proxy_port
   
   
   C:\Documents and
Settings\myuser\.m2\repository
   false
   
   
   tomcat_server
   tomcatUser
   tomcatPassword
   

   
 
   Default
   
 
   AndroMDA
   http://team.andromda.org/maven2




 
 
   Central
   http://repo1.maven.org/maven2
 
 
   IBiblio
   http://www.ibiblio.org/maven2
 
 
   codehaus snapshot repository
   http://snapshots.repository.codehaus.org




 
   
   
   



  false

myfaces.staging
MyFaces Staging Repository
http://myfaces.zones.apache.org/dist/maven-repository

   
   
androMda
AndroMda Repository
http://andromda.org/maven2



  false

   
   
 
   
   
   Default
   


But, here, my access is restricted to internet from DOS

I need a Windows application oder a plugin to eclipse, who i can do the
download without command line interface


thank.
Edney

On 2/26/07, Mick Knutson <[EMAIL PROTECTED]> wrote:


You need to get the proxy settings from IE, then you need to set Maven to
use that same proxy server just like IE does.






On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> thank Jo
>
> But, here, in my company , the network guy can´t change this
> configuration.
>
> Politics from this company.
>
> I can access web from MS-DOS.
>
> I need a pluggin to do that in eclipse.
>
> Sorry
>
> On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
> >
> > Hi there,
> >
> > 1. You've got network issues.. Contact your network guy for the
correct
> > proxy settings.
> > So, get your network and proxy settings up and running and you should
be
> > good to go..
> >
> > 2. Installing an external jar into your repository - like most things
in
> > maven - can only be done via the command line interface..
> > Why would you even want anything else, isn't it ? ;)
> >
> > Good luck
> > Jo
> >
> >
> > On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi everybody,
> > >
> > > I need help.
> > >
> > > I have the follow problem with Maven.
> > >
> > > I execute this command.
> > >
> > > mvn install:install-file
> > > -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > > -Dversion=
> > > 1.1.4-SNAPSHOT -Dpackaging=jar
> > > -Dfile=c:/tmp/tomahawk-
> > > sandbox-1.1.4-SNAPSHOT.jar 
> > >
> > > And I get this error message
> > >
> > >
> > > C:\mvn install:install-file -DgroupId=org.apache.
> > > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > > 1.1.4-SNAPSHOT-Dpackag
> > > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'install'.
> > > [INFO] org.apache.maven.plugins: checking for updates from central
> > > [WARNING] repository metadata for: 'org.apache.maven.plugins' could
> not
> > be
> > > retri
> > > eved from repository: central due to an error: Error transferring
file
> > > [INFO] Repository 'central' will be blacklisted
> > > [INFO]
> > >
> 
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> 
> > > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin'
does
> > not
> > > exist
> > > or no valid version could be found
> > > [INFO]
> > >
> 
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> 
> > > [INFO] Total time: 22 seconds
> > > [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> > > [INFO] Final Memory: 1M/2M
> > > [INFO]
> > >
> 
> > >
> > > I´m behind a proxy server.
> > >
> > > I do the proxy configuration in the setting.xml file.
> > >
> > > When I do a PING  in a url in MS_DOS i get the follow error message.
> > >
> > >
> > > www.apache.org with 32 bytes
> > >
> > > reply the 10.248.0.38: No host available.
> > > reply the 10.248.0.38: No host available.
> > > reply the 10.248.0.38: No host available.
> > >
> > > I have now another question.
> > >
> > > I can do this command  only in a msdos prompt "mvn
> install:install-file
> > > -DgroupId=org.apache.myfaces.tomahawk -DartifactId=toma

Re: [m2] Multiple developer dependency management

2007-02-26 Thread Sander Nieuwenhuizen

I'm reading the  http://www.mergere.com/m2book_download.jsp "Better Builds
with Maven"  document (http://www.mergere.com/m2book_download.jsp). I can
surely recommend this book to every Maven user.

While migrating our Ant projects to Maven 2 I have also setup Continuum for
our existing Ant projects. Can't believe how simple it is. The Maven
dependency management as such is rather straightforward. Currently reading
into using Maven productively from a team point-of-view and release
management (i.e. tagging in scm, making reproducable builds, creating
documentation, ...). Fun tool, but rather overwhelming at first. In the
Ant-world it is nice that it is you that's in full control, but that's also
the drawback. The nice thing about Maven is that the whole process has
already been designed and standardized and the availability of dozens of
plugins. But then comes the challenge to adopt these ideas :)

Thanks again,

Sander
-- 
View this message in context: 
http://www.nabble.com/Multiple-developer-dependency-management-tf3284959s177.html#a9163429
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with maven

2007-02-26 Thread Mick Knutson

You need to get the proxy settings from IE, then you need to set Maven to
use that same proxy server just like IE does.






On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


thank Jo

But, here, in my company , the network guy can´t change this
configuration.

Politics from this company.

I can access web from MS-DOS.

I need a pluggin to do that in eclipse.

Sorry

On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> 1. You've got network issues.. Contact your network guy for the correct
> proxy settings.
> So, get your network and proxy settings up and running and you should be
> good to go..
>
> 2. Installing an external jar into your repository - like most things in
> maven - can only be done via the command line interface..
> Why would you even want anything else, isn't it ? ;)
>
> Good luck
> Jo
>
>
> On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
> >
> > Hi everybody,
> >
> > I need help.
> >
> > I have the follow problem with Maven.
> >
> > I execute this command.
> >
> > mvn install:install-file
> > -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> > -Dversion=
> > 1.1.4-SNAPSHOT -Dpackaging=jar
> > -Dfile=c:/tmp/tomahawk-
> > sandbox-1.1.4-SNAPSHOT.jar 
> >
> > And I get this error message
> >
> >
> > C:\mvn install:install-file -DgroupId=org.apache.
> > myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> > 1.1.4-SNAPSHOT-Dpackag
> > ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'install'.
> > [INFO] org.apache.maven.plugins: checking for updates from central
> > [WARNING] repository metadata for: 'org.apache.maven.plugins' could
not
> be
> > retri
> > eved from repository: central due to an error: Error transferring file
> > [INFO] Repository 'central' will be blacklisted
> > [INFO]
> >

> > [ERROR] BUILD ERROR
> > [INFO]
> >

> > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
> not
> > exist
> > or no valid version could be found
> > [INFO]
> >

> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> >

> > [INFO] Total time: 22 seconds
> > [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> > [INFO] Final Memory: 1M/2M
> > [INFO]
> >

> >
> > I´m behind a proxy server.
> >
> > I do the proxy configuration in the setting.xml file.
> >
> > When I do a PING  in a url in MS_DOS i get the follow error message.
> >
> >
> > www.apache.org with 32 bytes
> >
> > reply the 10.248.0.38: No host available.
> > reply the 10.248.0.38: No host available.
> > reply the 10.248.0.38: No host available.
> >
> > I have now another question.
> >
> > I can do this command  only in a msdos prompt "mvn
install:install-file
> > -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
> > -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
> > -Dfile=c:/tmp/tomahawk-
> > sandbox-1.1.4-SNAPSHOT.jar" 
> >
> > Or exist oder way to do that??
> >
> > I work here with eclipse.
> >
> >
> > Can please, anyone help me...
> >
> > thank you
> > --
> > Att.
> > Edney Marcel Imme
> >
>



--
Att.
Edney Marcel Imme





--
---
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/djmick_dot_com
http://www.thumpradio.com
---


Re: Problems with maven

2007-02-26 Thread Edney Imme

thank Jo

But, here, in my company , the network guy can´t change this configuration.

Politics from this company.

I can access web from MS-DOS.

I need a pluggin to do that in eclipse.

Sorry

On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


Hi there,

1. You've got network issues.. Contact your network guy for the correct
proxy settings.
So, get your network and proxy settings up and running and you should be
good to go..

2. Installing an external jar into your repository - like most things in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)

Good luck
Jo


On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> I need help.
>
> I have the follow problem with Maven.
>
> I execute this command.
>
> mvn install:install-file
> -DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
> -Dversion=
> 1.1.4-SNAPSHOT -Dpackaging=jar
> -Dfile=c:/tmp/tomahawk-
> sandbox-1.1.4-SNAPSHOT.jar 
>
> And I get this error message
>
>
> C:\mvn install:install-file -DgroupId=org.apache.
> myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
> 1.1.4-SNAPSHOT-Dpackag
> ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'install'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be
> retri
> eved from repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does
not
> exist
> or no valid version could be found
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 22 seconds
> [INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
> [INFO] Final Memory: 1M/2M
> [INFO]
> 
>
> I´m behind a proxy server.
>
> I do the proxy configuration in the setting.xml file.
>
> When I do a PING  in a url in MS_DOS i get the follow error message.
>
>
> www.apache.org with 32 bytes
>
> reply the 10.248.0.38: No host available.
> reply the 10.248.0.38: No host available.
> reply the 10.248.0.38: No host available.
>
> I have now another question.
>
> I can do this command  only in a msdos prompt "mvn install:install-file
> -DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
> -Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
> -Dfile=c:/tmp/tomahawk-
> sandbox-1.1.4-SNAPSHOT.jar" 
>
> Or exist oder way to do that??
>
> I work here with eclipse.
>
>
> Can please, anyone help me...
>
> thank you
> --
> Att.
> Edney Marcel Imme
>





--
Att.
Edney Marcel Imme


Re: Problems with maven

2007-02-26 Thread Jo Vandermeeren

Hi there,

1. You've got network issues.. Contact your network guy for the correct
proxy settings.
So, get your network and proxy settings up and running and you should be
good to go..

2. Installing an external jar into your repository - like most things in
maven - can only be done via the command line interface..
Why would you even want anything else, isn't it ? ;)

Good luck
Jo


On 2/26/07, Edney Imme <[EMAIL PROTECTED]> wrote:


Hi everybody,

I need help.

I have the follow problem with Maven.

I execute this command.

mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar 

And I get this error message


C:\mvn install:install-file -DgroupId=org.apache.
myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=
1.1.4-SNAPSHOT-Dpackag
ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does not
exist
or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 22 seconds
[INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
[INFO] Final Memory: 1M/2M
[INFO]


I´m behind a proxy server.

I do the proxy configuration in the setting.xml file.

When I do a PING  in a url in MS_DOS i get the follow error message.


www.apache.org with 32 bytes

reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.

I have now another question.

I can do this command  only in a msdos prompt "mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
-Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar" 

Or exist oder way to do that??

I work here with eclipse.


Can please, anyone help me...

thank you
--
Att.
Edney Marcel Imme



Problems with maven

2007-02-26 Thread Edney Imme

Hi everybody,

I need help.

I have the follow problem with Maven.

I execute this command.

mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk-DartifactId=tomahawk-sandbox
-Dversion=
1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar 

And I get this error message


C:\mvn install:install-file -DgroupId=org.apache.
myfaces.tomahawk -DartifactId=tomahawk-sandbox -Dversion=1.1.4-SNAPSHOT-Dpackag
ing=jar -Dfile=c:/tmp/tomahawk-sandbox-1.1.4-SNAPSHOT.jar
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'install'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does not
exist
or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 22 seconds
[INFO] Finished at: Fri Feb 23 18:44:35 GMT 2007
[INFO] Final Memory: 1M/2M
[INFO]


I´m behind a proxy server.

I do the proxy configuration in the setting.xml file.

When I do a PING  in a url in MS_DOS i get the follow error message.


www.apache.org with 32 bytes

reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.
reply the 10.248.0.38: No host available.

I have now another question.

I can do this command  only in a msdos prompt "mvn install:install-file
-DgroupId=org.apache.myfaces.tomahawk -DartifactId=tomahawk-sandbox
-Dversion=1.1.4-SNAPSHOT -Dpackaging=jar
-Dfile=c:/tmp/tomahawk-
sandbox-1.1.4-SNAPSHOT.jar" 

Or exist oder way to do that??

I work here with eclipse.


Can please, anyone help me...

thank you
--
Att.
Edney Marcel Imme


Re: [m2] Multiple developer dependency management

2007-02-26 Thread Wendy Smoak

On 2/26/07, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:


You'll want to setup a company-wide shared repository via ftp/scp/whatever
and put a webserver in front of it.
This will be the repository where developers - after defining the repository
in settings.xml or pom.xml - will automatically look for artifact updates
and missing dependency libraries.


If there is a shared filesystem available to all developers, the
"remote" repo could also be accessed with file:// urls, without
getting a webserver involved.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Creation of a tag for a stable 'just works' Archiva version

2007-02-26 Thread Joakim Erdfelt
We are working towards a stable archiva version (alpha) this week.
Stay tuned for the tag or release.

- Joakim Erdfelt

Tomek Korzeniewski wrote:
> Greetings to the Archiva Team!
>
> Would it be possible to create a tag in the svn repo of a stable, 'builds /
> works without problem after checkout', version of Archiva? I've been looking
> at the dev forum lately and notice that there are a lot of changes being
> proposed and ones merged from the archiva MRM-239 branch.
>
> After reading the many different wiki entries and posts regarding getting
> archiva up and running, and the issues users have been having regarding
> changes made to the trunk I am weary about checking out what is available at
> the moment.
>
> If you already have something of the sort in the pipeline could you please
> post your plans.
>
> Thanks in advance.
>   



Re: [m2] Multiple developer dependency management

2007-02-26 Thread Jo Vandermeeren

Hi Sander,

Glad you figured it out. Local repositories are for local use..

Since you're setting up a maven environment for your teams, here are some
tips..

You'll want to setup a company-wide shared repository via ftp/scp/whatever
and put a webserver in front of it.
This will be the repository where developers - after defining the repository
in settings.xml or pom.xml - will automatically look for artifact updates
and missing dependency libraries.

It's a good idea to setup a snapshot repository as well, you can can
periodically clear this repository since frequent snapshot installs can
quickly fill up the disk quota.

With the webserver for your shared repositories in place, you have
everything needed to host your maven project's website and QA reports..
So you might want to setup distributionManagement in your projects for this
as well..
Keeps the docs in sync and the project managers, testers, implementors,
etc.. happy ;)

You may also want to take a look at maven-proxy to centralize the repository
access of released artifacts for your teams.
This reduces per-user/project repository configuration and internet access
for library downloads..

And while you're at it.. You really want to check out continuum at
http://maven.apache.org/continuum/.
Continuous integration just feels right and easy with maven, it can
automatically keep your website, shared artifacts and container-deployed
applications up-to-date with minor effort..

Happy hacking!
Jo

On 2/26/07, Sander Nieuwenhuizen <[EMAIL PROTECTED]> wrote:



Hi Jo,

Thanks for the help. I thought the local repository was from a team
perspective instead of per developer.

Cheers,

Sander
--
View this message in context:
http://www.nabble.com/Multiple-developer-dependency-management-tf3284959s177.html#a9162023
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: [m2] Multiple developer dependency management

2007-02-26 Thread Sander Nieuwenhuizen

Hi Jo,

Thanks for the help. I thought the local repository was from a team
perspective instead of per developer.

Cheers,

Sander
-- 
View this message in context: 
http://www.nabble.com/Multiple-developer-dependency-management-tf3284959s177.html#a9162023
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: packaging jar files ...

2007-02-26 Thread Jo Vandermeeren

Hi Armin,

Maven produces one artifact per module/project, which is usually the best
way to go..
If you do need the dependencies of a module packaged within the final
artifact:
- for maven 1: check out the uberjar plugin at
http://maven.apache.org/maven-1.x/plugins/uberjar/
- for maven 2: configure the assembly plugin appropriately

Here's a maven 2 snippet:


   

   
   maven-assembly-plugin
   
   
   jar-with-dependencies
   
   
   

   



Good luck
Jo



On 2/26/07, Armin Ehrenfels <[EMAIL PROTECTED]> wrote:


Hi,

say, I have projects A, B, C, all subprojects of project D, each
creating its own class files. How can maven package the class files of
all three projects into one jar archive ? Any ideas ?

TIA

Armin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

2007-02-26 Thread John J. Franey

A piece of the puzzle may be the assembly plugin,
http://maven.apache.org/plugins/maven-assembly-plugin, to assemble the
dependencies of your project into a zip file that you can unzip into your
$JBOSS_HOME/server location.

Another piece of this puzzle may be the cargo plugin,
http://cargo.codehaus.org/Maven2+plugin, which copies down a jboss
distribution and configures it.  However, I'm not sure if it will allow
deploy of a server's lib directory.


Regards,
John


秋秋 wrote:
> 
> 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.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-deploy-all-of-the-3th-party-jars-under-the-Jboss-directory--please.-tf3291868s177.html#a9161867
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Eclipse, Hibernate Tools

2007-02-26 Thread John J. Franey


Lally Singh wrote:
> 
> how do I get maven to do whatever needs to be done to process my hibernate
> annotations?
> 
> 

If you are using java 5 annotations and maven 2:  Nothing, aside from
compiling with java 5 or better, homing hibernate and java persistence
configuration files into src/main/resources directory, and obtaining the
hibernate artifacts into your repository.  This answer does not apply to
javadoc annotations (i.e., source code generation via xdoclet) or maven 1. 

Annotations are a java language construct and are 'processed' by java
compilation.  The java compiler puts annotation data into the output class
files for the hibernate libraries to read.

John



-- 
View this message in context: 
http://www.nabble.com/Eclipse%2C-Hibernate-Tools-tf3290726s177.html#a9162314
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] packaging jar files ...

2007-02-26 Thread John J. Franey

Assuming this is related to maven 2, see:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/index.html

I cannot provide an answer for maven 1; I have not used it.

Regards,
John


Armin Ehrenfels wrote:
> 
> Hi,
> 
> say, I have projects A, B, C, all subprojects of project D, each 
> creating its own class files. How can maven package the class files of 
> all three projects into one jar archive ? Any ideas ?
> 
> TIA
> 
> Armin
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/packaging-jar-files-...-tf3292690s177.html#a9161460
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] add resources to surefire execution

2007-02-26 Thread Haroon Rafique
On Friday at 8:03am, DT=>Dan Tran <[EMAIL PROTECTED]> wrote:

DT> perhaps make a request to to surefire plugin to allow addition of classpath
DT> 
DT> -D
DT> 

Bug report exists already:

http://jira.codehaus.org/browse/SUREFIRE-118

Please vote for it.
--
Haroon Rafique
<[EMAIL PROTECTED]>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] Binding mojo to process-classes phase

2007-02-26 Thread guilherme_silveira

perfect, understood

thanks

dan tran wrote:
> 
> @phase process-classes
> 
> means user can skip/omit phase definition in execution.
> 
> execution element must still in the pom
> -D
> 
> 
> On 2/26/07, guilherme_silveira <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello guys,
>>
>> I have seen someone had the same question as I do a few days earlier...
>> but
>> no solution (that I could understand).
>>
>> I have the following mojo:
>> /**
>> * @goal translate
>> * @phase process-classes
>> */
>>
>> And would like the end-user to only write:
>>
>>
>>org.vraptor
>>vatx
>>
>>
>> So the goal translate would be called during the process-classes.
>> It doesnt, of course.
>>
>> I think I might be missing some way to tell maven (in my plugin, and not
>> my
>> user pom.xml) to execute the "translate" goal during the process-classes
>> phase.
>>
>> If I do 
>>org.vraptor
>>vatx
>>
>>
>>annotations to
>> xml
>>
>> process-classes
>>
>>
>> translate
>>
>>
>>
>>
>>
>> It works... (of course), as I told maven (in the end-user pom) that it
>> should run the translate goal during such phase.
>>
>> Any other option? In the plugin pom or configuration files?
>>
>> Regards
>>
>> Guilherme Silveira
>> --
>> View this message in context:
>> http://www.nabble.com/Binding-mojo-to-process-classes-phase-tf3293508s177.html#a9160898
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Binding-mojo-to-process-classes-phase-tf3293508s177.html#a9161098
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [m2] Deploying to File System

2007-02-26 Thread Jörg Schaible
mark_in_gr wrote on Monday, February 26, 2007 3:37 PM:

> I got it to work using the following format:
> 
> file://c:/testmavendeploy

which is not a proper URL. Proper is

file:///c:/testmavendeploy

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Binding mojo to process-classes phase

2007-02-26 Thread Dan Tran

@phase process-classes

means user can skip/omit phase definition in execution.

execution element must still in the pom
-D


On 2/26/07, guilherme_silveira <[EMAIL PROTECTED]> wrote:



Hello guys,

I have seen someone had the same question as I do a few days earlier...
but
no solution (that I could understand).

I have the following mojo:
/**
* @goal translate
* @phase process-classes
*/

And would like the end-user to only write:

   
   org.vraptor
   vatx
   

So the goal translate would be called during the process-classes.
It doesnt, of course.

I think I might be missing some way to tell maven (in my plugin, and not
my
user pom.xml) to execute the "translate" goal during the process-classes
phase.

If I do 
   org.vraptor
   vatx
   
   
   annotations to xml

process-classes
   

translate
   
   
   
   

It works... (of course), as I told maven (in the end-user pom) that it
should run the translate goal during such phase.

Any other option? In the plugin pom or configuration files?

Regards

Guilherme Silveira
--
View this message in context:
http://www.nabble.com/Binding-mojo-to-process-classes-phase-tf3293508s177.html#a9160898
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




  1   2   >