Thanks Wayne. I corrected that mistake. Now i am getting other error.
[DEBUG]jgoogleanalytics:jgoogleanalytics:jar:0.2:compile
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[ERROR] The build could not read 1 project - [Help 1]
Yep, I've run into a similar thing. In my case the tests were using
classes in my core project, which would have been solvable by
implementing interfaces (in a separate project). So both the tests
artifact and the core artifact would then have a dependency to the
core-api artifact.
But you know
I get worried when I see something like
${project.basedir}/../blabla
Never EVER walk outside of your Maven project! A Maven project should
be self-contained.
/Anders
On Fri, Aug 26, 2011 at 06:34, Stephen Coy st...@resolvesw.com wrote:
Resources are copied into place by the
Sorry, I should have said right from the start that yes indeed I fisrt moved
(cut and pasted) the profile from the parent pom to the core child one.
I'm using profiles to test either against the live HSQL database, or against
a MySQL one.
The mysql-test profile is to test the dao layer, layer
The mysql-test profile is to test the dao layer, layer that is found in the
core module.
So, this mysql-test profile should sit in the core pom file.
Otherwise, some of this profile properties would not be found in another
view module.
So remind us again, what is the problem you are trying
I am wondering if the OP is hitting the must have a named profile in
the aggregation root that I have observed, but not determined whether
it is a bug or a feature.
If I have a multi-module project and one module 'web' has a profile
called run.
mvn -Prun clean install -f web/pom.xml
will
Hi,
I have to include the content of htdocs folder but not htdocs in my war
file. htdocs path is project.src.main.webapp. Can you please tell me how to
do that.
My pom.xml is given below:-
plugin
artifactIdmaven-war-plugin/artifactId
Thanks , with your reply problem resolved
--
View this message in context:
http://maven.40175.n5.nabble.com/Jar-plugin-issue-tp4736854p4737509.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To
Thanks
--
View this message in context:
http://maven.40175.n5.nabble.com/Jar-plugin-issue-tp4736854p4737511.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
Hmm, maybe a plugin is in order for this. As I thought about it some, assembly
plugin isn't going to do anything to create a POM. Makes sense in hindsight,
assembly is for creating distributions and not Maven artifacts. Shade plugin
has facilities to generate a POM for the shaded jar which
So if you need to actually do something that Maven does not do, for
example run a custom program to automatically generate some source code,
what do people usually do?
* Use a plug-in to run something like Ant or some other scripting tool
* Write your own plug-in, or is this overkill for
A lot of people use antrun, see
http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I
personally do that as a last resort.
I personally don't have a problem writing a plugin and adding it to my build.
Reactor figures out the build order properly and does the right thing.
* Write your own plug-in, or is this overkill for something really simple?
This is the best approach IMO. Even for simple things. You can write
your plugin in a variety of languages.
Wayne
-
To unsubscribe, e-mail:
-Original Message-
From: Jason Pyeron
Sent: Thursday, August 25, 2011 18:59
To: 'Maven Users List'
Subject: [maven] RE: [maven] Re: settings.xml boolean values
not be honored.
snip/
$ svn co http://svn.apache.org/repos/asf/maven/maven-3/trunk
$ LOCAL_REPO=`mktemp -d`
$ #
Hi,
I'm creating a Maven archetype which generates a project skeleton that
will include a dependency on the project from which the archetype
originated.
For example, the origin project looks like:
origin/archetype/... archetype for generating project
/core/... core services
On 26 August 2011 07:02, Brian Topping topp...@codehaus.org wrote:
A lot of people use antrun, see
http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I
personally do that as a last resort.
What does a hurricane map have to do with Ant? :-)
This is what I usually do. Using
On Aug 26, 2011, at 12:13 PM, Hilco Wijbenga wrote:
On 26 August 2011 07:02, Brian Topping topp...@codehaus.org wrote:
A lot of people use antrun, see
http://www.nyc.gov/html/oem/downloads/pdf/hurricane_map_english.pdf. I
personally do that as a last resort.
What does a hurricane map
I have the following simple code
import java.util.concurrent.*;
import org.junit.*;
/* test whether priorityBlockingQueue provides fairness
*
*/
public class BlahTest {
@Test
public void blahTest() throws Exception {
ExecutorService exec = Executors.newCachedThreadPool();
OK, I grok the use of antrun as illustrated below. Is there anything
more general than antrun, for example execute some arbitrary commands or
script without having to write a plug-n? I'm thinking of a JavaScipt,
Groovy or Scala plugin - or am I just dreaming? If not, it might be fun
to write
Oh yah, that's right, there is a Groovy plugin. Another one of those paths
that I would use sparingly. (Well actually, on the project I saw it used on, I
went through and replaced it immediately.)
http://www.ronniealleva.org/index.php/2008/01/23/using-the-groovy-maven-plugin-to-do-magic/
is
Most likely this is because you're using the maven pid instead of the pid of
the forked process running your unit test.
Maven forks a subprocess to run your unit tests by default.
On 27/08/2011, at 2:43 AM, Yang wrote:
I have the following simple code
import java.util.concurrent.*;
Am 26.08.2011 04:26, schrieb Brian Topping:
The second option I looked at was to create a separate project for the base
class and friends, but since the base class depends on classes in this first
module, a circular dependency is formed.
My take would be to move both the base class and
22 matches
Mail list logo