Wow. That's different advice from what others are saying, BUT, you're
the "maven" so I do appreciate your warning and take it seriously!
Was there a missing "not" in your first sentence? It seems to make more
sense that way.
I am prepared to fail the first few times, start with the simplest
projects, etc. I'm not a newbie, I have a lot of experience in
reengineering builds and I don't imagine immediate success the first
time around. Also, I'm a team of, for all practical purposes, one. There
are no other users I can burn with my failed efforts. And I'm a bulldog
when I want to be.
It seems to me that my experiences, if carefully logged and ultimately
successful, could be helpful to other potential users who might be in my
position. Frankly, I think would be good for Maven to lower the bar to
conversion. It seems higher to me than it ought to be.
Steve
Jason van Zyl wrote:
Do make your first Maven project a conversion. You will likely fail or
be extremely unhappy. I have seen this a hundred times now and trying
to wedge Maven into what you currently have is categorically not a
good idea.
Find a new, preferably small, project where you can try out Maven and
understand fully what it does before you attempt to convert a project.
On 23-Feb-09, at 4:53 PM, Steve Cohen wrote:
OK, after extensive discussion in earlier thread about the best way
to go about Mavenizing Existing Project(s) in my, shall we say,
unusual environment (see that thread for details, don't want to
recapitulate them here) I have decided to try to move forward.
First I have to learn this tool. I have used maven before, but mainly
in the way of building from someone else's POM. Just type maven
install or some such and bingo, the world is built.
Now my goal is to have pre-existing non-Maven projects be mavenized.
I am prepared to "throw the first one away". I also want to take this
opportunity to start from a m2eclipse platform, so I have now
installed that, even to the point of installing Ganymede because I
couldn't get it to install in Europa. Although I know there is
benefit to the command line tools, I'd like to start from eclipse,
understanding that I can take the POM I produce and install it with
command line tools.
So my first question is this:
How do I convert a non-Maven project into a Maven project?
1) Is there some way to "change natures"?
2) Create a new Maven project, place in SVN, then move stuff to the
right places?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------
We all have problems. How we deal with them is a measure of our worth.
-- Unknown
---------------------------------------------------------------------
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]