Ok, (sub-)moduls of a project are not (that project's) dependencies. Two
different things. This is the key thing here.
What you need to do is to define dependencies to all of your dependencies.
Your dependencies' dependencies (aka transitive dependencies) will be
included automatically.
So, in your
This is not Transitive. The children dependencies mean its sub models.
Alexander-129 wrote:
>
> Transitive dependencies are included automatically.
>
> 2009/9/3 youhaodeyi
>
>>
>> I added a dependency in my pom.xml file and I want to add its children
>> automatically. How can I do this?
>> -
Which is the roadmap/timeline for release 2.2?
And will Doxia 1.1.2 be included? http://jira.codehaus.org/browse/MSITE-419
http://jira.codehaus.org/browse/MSITE-419
--
View this message in context:
http://www.nabble.com/M2-site-plugin%3A-Roadmap-for-2.2-tp25270282p25270282.html
Sent from the M
Transitive dependencies are included automatically.
2009/9/3 youhaodeyi
>
> I added a dependency in my pom.xml file and I want to add its children
> automatically. How can I do this?
> --
> View this message in context:
> http://www.nabble.com/How-can-I-get-dependency-including-its-children-tp25
I added a dependency in my pom.xml file and I want to add its children
automatically. How can I do this?
--
View this message in context:
http://www.nabble.com/How-can-I-get-dependency-including-its-children-tp25268684p25268684.html
Sent from the Maven - Users mailing list archive at Nabble.com.
Good thinking, shouldn't bee to hard to be written either. I'd like it more
dynamic, though :) On the other hand, I just had a doh! moment. Seems like
new File(".").getAbsolutePath() gives the execution folder in Eclipse (and
not the classpath root where the class is, like getClass().getResource("
zagu2 wrote:
I suppose there are more examples of this. In general, it's - I want to load
many files and not have to specify what in two places - as files themselves
(which already contain a name) and as a list of resources (which just
duplicate the file names)
Understand..How about some type of
Correct - I want to have an option of getting many files at once.
In my case, it's the Spring configuration - I have many
applicationContext*.xml files that I just need aggregated, but there are
many other cases - Hibernate mappings, different kinds of property files,
etc. The main motivation is
I am using Surefire and Failsafe to perform unit testing and integration
testing respectively. In the latter case, I want to run a sql script in the
pre-integration-test phase to put the database into a known state (not using
DBUnit but the same idea). Here is what I have in my pom:
Hello,
I just started with Maven also, but it appears that when you are
running your test case the classpath will be set to both
testproject/target/classes and testproject/target/testclasses. Are
these resources you need for a test or something and you won't know how
many are there? ie: y
I'm using Eclipse and m2eclipse. Say I have a project like this:
testproject
- src
-- main
--- java
MainClass.java
--- resources
1.txt
2.txt
-- test
--- java
TestClass.java
--- resources
3.txt
Now, I can have some code in TestClass doing something like:
this.getClass().
This has been covered many times in the sonar user mailing list, check the
archive, you'll find your answer :
http://mojo.codehaus.org/sonar-maven-plugin/mail-lists.html
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of
Anders Hammar
Sent
The Apache Archiva team is pleased to announce the release of Archiva 1.2.2
Apache Archiva is an extensible repository management software that helps
taking care of your own personal or enterprise-wide build artifact
repository. It is the perfect companion for build tools such as Maven,
Continuum,
I think the sonar mailing list is a better option than this generic maven
mailing list (for this type of sonar specific issue).
/Anders
On Wed, Sep 2, 2009 at 13:46, Peter Horlock wrote:
> Hi,
>
> I am using hte maven sonar plugin and recently updated to the 1.10.1
> server version.
> Since then
Hi,
I am using hte maven sonar plugin and recently updated to the 1.10.1
server version.
Since then I got:
[exec] [INFO] Sonar plugin (1.7) and server (1.10.1) version do not
matchExclusionPattern.
[exec] Either update your server to the 1.7 plugin version or launch
[exec] the mvn org.
Which repo have you checked? I found some artifacts at the java.net maven
repo.
If you specify the GAV it will be easier.
/Anders
On Wed, Sep 2, 2009 at 13:04, Bert 1 Waltniel wrote:
> Hi
>
> I got an error compiling my project.
>
> I'm using Sun Jersey.
>
> The error is that maven was unable to
2009/9/2 Pilgrim, Peter :
> Is there a way to view the site in this exploded directory?
You might be interested in the site:stage goal:
http://maven.apache.org/plugins/maven-site-plugin/stage-mojo.html
HTH
Antonio
-
To unsubscri
Hi
I got an error compiling my project.
I'm using Sun Jersey.
The error is that maven was unable to download the depending jar's from
the repository.
I have checked manually the maven repository and all the jar's from Sun
Jersey are gone.
Does anybody has a solution?
Kind regards
Bert Walt
Hi
Can Maven build the "site" multi-model poms organised in a flat
hierarchy?
For example
If I have folders like this
/home/peterp/workspace/
/home/peterp/workspace/acme-master
/home/peterp/workspace/acme-core
/home/peterp/workspace/acme-ejbs
/home/peterp/workspace/acme-ear
Did you try it?
If you have the xsd files in your project, you specify that as described
under "Basic Usage" in the link you provided. If the xsd files are in a
separate artifact, you do it as described under "Schema Jar Support" (and
change the artifact reference as appropriate).
/Anders
On Wed,
Thanks for the quick response Andres
geronimo:geronimo-tomcat
So you mean to say, repalcing the geronimo:geronimo-tomcat to my specific
xsd file will work. like
Let say my xsd names are one.xsd, and two.xsd then
one.xsd
two.xsd
Please suggest this
On Wed
Please, re-read the text in the link you provided carefully. It states that
IN THE EXAMPLE geronimo-tomcat jar is expected to be a dependency. In your
application, you would depend on some other artifact that contains the
schema. Just change the value of hte xsdJar element.
/Anders
On Wed, Sep 2,
Hi to All,
I am using Maven with XMLBeans Plugin as mentioned in the
http://mojo.codehaus.org/xmlbeans-maven-plugin/usage.html
Now in the example, the geronimo-tomcat jar is expected to be a listed
depedency of the project. As I am new to Maven, I don't want to use
geronimo-tomcat and make the pro
> org.apache.maven.surefire.booter.SurefireExecutionException: TestCase;
> nested exception is java.lang.NoClassDefFoundError: TestCase
> java.lang.NoClassDefFoundError: TestCase
Googling "NoClassDefFoundError TestCase" gave me this in the first two hits:
http://www.mail-archive.com/users@maven.ap
I think that this is a ClearCase specific issue. I've run into similar
problems, which we solved by manually adding the label to the parent folders
of 'myproject'.
If you create a jira for some kind of automatic support for this, I'll vote
for it. Possibly, there is one already; I haven't checked.
Hi,
we´re using Base ClearCase as SCM.
the scm section in the pom.xml looks like:
...
scm:clearcase:load
/AAA/BBB/src/root/myproject
...
...
When releasing a project, the source is tagged, based on the
auto-generated configSpec, which looks like
element * CHECKEDOUT
element
26 matches
Mail list logo