Wendy,
2006/7/1, Wendy Smoak <[EMAIL PROTECTED]>:
On 6/30/06, Stephen Duncan <[EMAIL PROTECTED]> wrote:
> In either case, with Maven 2, the solution (as far as I know) is
> simply to directly declare your dependency on Bob's Ace Logger v1.0.1.
> Then you'll get that version.
In addition, in Sc
Andy,
are you saying, that deploying the multiproject-pom as 1.2.1 would
automatically update the submodule's dependency on their parent from
1.2-SNAPSHOT to 1.2.1? Is it even necessary to declare the parent's
version the submodules refer to?
-Stefan
2006/7/1, Andrew Williams <[EMAIL PROTECTED]
yes and yes.
When running a release cycle a parent pom's upgrading version will be
cascaded to the "parent" section of child modules, replacing the current
version with the new one.
It is currently necessary to specify the parent version in your child
pom.xml, however, this will be removed in the
of course in your parent pom.xml you can happily use ${project.version}
to specify the dependencies on child modules which saves you worrying
about that part :)
I had problems with using ${project.version} as when the artifacts are
deployed to a snapshot repository the pom metadata is using the
You can also use "file:".
On 6/30/06, Martin Gilday <[EMAIL PROTECTED]> wrote:
You will need to add a element under distribution management in
your POM. From what I understand you cannot use FTP to deploy the site,
as Wagon does not support directory uploading, so I am using SCP.
POM.xml-
very good point, yes - it raises 2 questions
1) Do we need to start pushing the continuum heirarchy build idea
faster? (trygvis, kenny and I had a brief talk about this yesterday)
2) should ${project.version} for SNAPSHOT perhaps insert SNAPSHOT rather
than the dated stamp, perhaps providing ${pro
Should help you :
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
On 6/30/06, nazim chakik <[EMAIL PROTECTED]> wrote:
Hello,
I use the maven's assembly plugin and I have the following problem: I have
several projects which are modules of one main project containing
I think your first idea was the best one. Just use a different profile
at deploy time to change the log4j.properties filename.
If you want to stick with your second idea, a basic ant task should do
the trick.
On 6/30/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
Hi,
I would like to configure our m
Hi,
It's been brought up in Geronimo dev mailing list and I'm asking for
clarification. Geronimo build is migrating to M2 and we run into a
problem with a Geronimo M2 plugin that's an integral part of the build
itself.
Geronimo provides its own tailor-made M2 plugins that are part of the
build.
Hi, I have some problems with idea plugin, when i do idea:idea, the
project, generated out of
..
src/main/resources
true
Hi, what version of the idea plugin are you using? Mine is working just
fine.
For plugin information, you can look here:
http://maven.apache.org/plugins/index.html
More IDEA plugin specific would be:
http://maven.apache.org/plugins/maven-idea-plugin/plugin-info.html
Anton Katernoga wro
Hi,
does anybody ever had the need, given a resource name (i.e.: a class name),
to know which maven2 artifact(s), and in which versions, contain that
resource?
So, essentially just a maven2 repository(or repositeries) inverted index
(resource name->[artifacts list with versions]) , that could be
>IMO the projects themselves should provide the archetypes.
What projects? Is there a list of starter projects I can start from?
>This
>proves to be more difficult than it sounds... for Struts I didn't go
>beyond turning the "Struts Blank" webapp into an archetype, because
>after that, how sho
Hi all,
I'm using the maven-pmd-plugin to check my code. I am now finding,
however, that CPD (that's 'CPD' not 'PMD') is not as useful as I had
hoped so I would like to exclude it.
I tried adding
org.apache.maven.plugins
maven-pmd-plugin
verify (I also tried test)
pmd
...
I had hop
> try checking http://www.ibiblio.org/maven2/org/apache/maven/archetypes
>for the latest version of the archetypes
> and if you feel the urge to write a guide on how to use them, the
>Maven community will greatly appreciate it. =)
I'll try out the mvn 2 webapp archetype soon but your comments a
On 7/1/06, siegfried <[EMAIL PROTECTED]> wrote:
Now build.xml scripts usually have a deploy target for them. Is there a
jelly or some other script for maven 1.0 to do that last step of copying the
war file to the web server?
There's a dedictaed plugin that may help you with deploying to tomcat
I tried your (pete's) example:
mvn archetype:create -DartifactId=test -DgroupId=org.test
-DarchetypeArtifactId=maven-archetype-webapp
-DarchetypeGroupId=org.apache.maven.archetypes
-DarchetypeVersion=1.0-alpha-4
Now what? I tried "mvn war" and that did not work! How can I automate the
pro
Hi there,
To use the WAR plugin for Maven 2 you must execute the following war goal:
mvn war:war
This will then create a war projet within the target directory.
As for using tomcat and jetty you can find out more on the appropriate
plugin from the following site
http://mojo.codehaus.org/
I h
Inside the Maven2 repo, this pom for SLF4J 1.0 appears to be in Maven2
format:
http://www.ibiblio.org/maven2/org/slf4j/slf4j-log4j12/1.0/slf4j-log4j12-1.0.pom
but this one for SLF4J 1.0.1 appears to be in Maven1 format:
http://www.ibiblio.org/maven2/org/slf4j/slf4j-log4j12/1.0.1/slf4j-log4j12
Repository indexing is a known feature and there are apps (i.e. MRM) and
websites (www.mavenregistry.com) that provide them.
Alessio Pace wrote:
Hi,
does anybody ever had the need, given a resource name (i.e.: a class
name),
to know which maven2 artifact(s), and in which versions, contain
Maven 2 have support for Maven 1 Repositories (use legacy layout when
specifying the m1 repo)
But a Maven 2 repository is expected to have only Maven 2 poms. So an
m2 repo with an m1 pom is not valid and maven will report this but
however, will not fail the build.
To report such occurrenc
On 7/1/06, siegfried <[EMAIL PROTECTED]> wrote:
>IMO the projects themselves should provide the archetypes.
What projects? Is there a list of starter projects I can start from?
Somewhere on my very long list of things to do is to start a wiki page
listing the known available archetypes. It c
On 7/1/06, siegfried <[EMAIL PROTECTED]> wrote:
Now what? I tried "mvn war" and that did not work! How can I automate the
process of creating a war file and copy it to the deployment directory of
tomcat or jboss or jetty?
It would usually be 'mvn package' or 'mvn install'.
To deploy it, I wou
This is another one of the "classpath question". Here is my problem. In my
project I have to include a set of jar files that have been produced by
another project(s) and have traditionally been deployed in nfs mounted path
like /common/libs/prj1/lib. Now this path contains more than 50 jars that
"Chris Hilton" <[EMAIL PROTECTED]> writes:
> Wasn't your original problem with grabbing compilation errors from the
> output? You should probably take a look at the following message:
>
> http://www.nabble.com/forum/ViewPost.jtp?post=4125504&framed=y
>
> It should be as easy as modifying y
There is no other way. You will need to deploy them to your internal remove
repository.
If you already have internal repository setup ( do you have one? ) this is
one one time setup.
Just curious, you have 50 non public jars?
If you are not willing to do that, i would suggest to stay with your
maven-pmd-plugin
pmd
> -Original Message-
> From: Hilco Wijbenga [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 01, 2006 4:00 PM
> To: Maven Users List
> Subject: [m2] Ho
27 matches
Mail list logo