It's not an issue with the makefile, coz' it executes properly when run
independently. It compiles my source file and creates a .exe.
*This is my makefile*:
all: hello
hello: helloWorld.o
gcc helloWorld.o -o hello
helloWorld.o: helloWorld.c
gcc -c helloWorld.c
clean:
rm
FYI: The situation described in this thread reminds me of my problem in the
thread Initial Maven Install - repository download fails on large
fileshttp://mail-archives.apache.org/mod_mbox/maven-users/201204.mbox/%3cCAGQXBeOOrzfe+Tw7H4zrBLXERD0Sx_or2NJ-8E6nAzMSxML=w...@mail.gmail.com%3e.
It seems
On 25/04/12 22:46, Wayne Fay wrote:
Maven assemblies) and rebuilds the latex documentation (via Maven). The
assemblies currently builds the zip distribution artifacts. However the
multiple library jar files are currently inroot/lib (as opposed to
root/target/...) I would like to be able to
Hi,
I've been cracking my head to solve this for the past 2 days, hopefully
someone with similar problems before can help me to solve it or give a
workaround that works for them. Here's my scenario;
I have a maven project with all the dependencies and resources packaged in
one zip file, i use
if you change your batch file to build up a classpath for you, it could add
in any jars in the patches directory onto the classpath first. You might
want to have a look at the batch files used to launch some of the common
Java apps, e.g. ANT and Maven. Also take a look at the batch files
generated
Hi Connie,
connie_law wrote:
Hi,
I've been cracking my head to solve this for the past 2 days, hopefully
someone with similar problems before can help me to solve it or give a
workaround that works for them. Here's my scenario;
I have a maven project with all the dependencies and
Thanks! It works, I used the first approach, which is building the classpath
in the batch file. But using appassembler-maven-plugin seems like a more
proper way, I'll check this out.
Cheers!
--
View this message in context:
Thanks Stephen, I did the first approach, and it works just fine. I generated
a sample of batch file using appassembler-maven-plugin and take the example
from there.
Cheers!
--
View this message in context:
It's not an issue with the makefile, coz' it executes properly when run
independently. It compiles my source file and creates a .exe.
I assure you -- it is an issue with your makefile. You most likely
just need to add a call to clean in there so make thinks it needs to
build things again:
all:
I tried this list, it's not active.
http://maven.40175.n5.nabble.com/Nexus-Maven-Repository-Manager-Users-List-f127899.html
It is active, just not as active as you might like, or perhaps you
didn't get a reply to your question yet for some reason. That in't
sufficient justification to ask your
You refer to this mail?
http://maven.40175.n5.nabble.com/How-to-make-a-company-internal-repository-td5652959.html
As it seems quite different than the question you are asking
here.it is about copying stuff from Central, something that defies
the purpose of proxy at start.
Thanks,
~t~
On
Ah, and nabble says This post has NOT been accepted by the mailing list yet.
Did you send it over Nabble?
You'd need to sign up to the list:
http://www.sonatype.org/nexus/participate
Thanks,
~t~
2012/4/26 Tamás Cservenák ta...@cservenak.net:
You refer to this mail?
You're getting a jar file because by omission of the packaging
element, that's what you've asked for.
There's nothing in that makefile that tells it to put anything in your
target directory. I'd look for it beside the helloworld.c, wherever that
is.
-Original Message-
From: bettypop
I previously posted this question on the jenkins forum group and was asked to
move the topic to the maven forums because this is considered a maven issue,
not a jenkins issue.
Here is response and original post:
Surefire does it's best to provide the forked test cases with a clean
environment.
We are also trying to remove profiles altogether, this is one of the reasons
we are trying to using jvm command line arguments. After simplifying things
a bit further and removing jenkins out of the picture, this does appear to
be a maven topic.
If I try the following command with maven 2.2.1,
I have driven myself bonkers on this one. I seem to be able to set the path
separator as any value except the new line character. Is there a limitation I
should be aware of?
I am trying via the bash prompt. My tests with shell scripts seem to show I have
actually passed in the new line, but maven
Hi Nick,
Currently maven quite happily cleans and compiles (via Ant)
Before you get too involved with the build-helper plugin, I just wanted to
check whether you had considered using Maven to compile without altering
your existing directory structure. In the majority of cases you can do this
Ok, I've created separate archetype projects for each of modules and did some
refactoring so now __ delimiters are always separated. This brings me to
another question.
*How to override filtering delimiters for fileSet filtering in
archetype-metadata.xml?* Provided that I have following section
I did some test
and i undestant that it take always the dependences of the profile that is
configured has default
activation
activeByDefaulttrue/activeByDefault
/activation
in fact if i change the activation default in the production environment are
copied only that dependences
Hi guys
i have a question related to the use of the copy-dependencies plugin.
with the target to copy only the dependences of a related profile.
In my project i have 2 profile one used for the develop and another one used
for the production
the develop is configure to be active by default
the
but this doesn't resolve my problem becouse i have to change every time the
pom file to generate the production version and put back after the
generation.
Perhaps instead of using profiles and 1 project, you should set this
up to use more than 1 project (one for dev, one for prod) and get rid
alesky wrote:
I did some test
and i undestant that it take always the dependences of the profile that is
configured has default
activation
activeByDefaulttrue/activeByDefault
/activation
in fact if i change the activation default in the production environment
are copied only that
I have driven myself bonkers on this one. I seem to be able to set the path
separator as any value except the new line character. Is there a limitation
I have no idea if there is a limitation or not, but it seems to me
that using new line as a path separator is a bad character to use. Can
you
*This is the first time I try to compile the project in my workstation. I am
invoking the highest level of POM and it suppose to compile everything.
Developers are doing that but they are using their own local repo. I am the
build engineer so my Maven is pointing to the company central repo.
But
I have a large library resource that is used during my build that is
accessed from many of my modules. I have put that resource in the top
level parent basedir /src/main/MySpecialResource.
I want all the modules in my project to have access to the location of this
resource. So I created a
Use mvn install, so that the various dependent modules will be installed into
your local repository.
Sent from Dave's iPhone 4.
Dave Wolf
On Apr 26, 2012, at 11:57 AM, hujirong jirong...@gmail.com wrote:
*This is the first time I try to compile the project in my workstation. I am
invoking
Common approach: put your special resource in a jar module. Let the modules
which should have access to the resource define a dependency to that jar.
If this approach does not work, please elaborate.
Best regards,
Ansgar
Am 26.04.2012 20:36 schrieb Ryan Wexler r...@iridiumsuite.com:
I have a
Well this item isn't an artifact and I don't want to make one out of it.
I tried another approach which was to declare the resource w/o the basedir
reference in my parent pom:
properties
myspecialresource.basedir\src\main\MySpecialResource/myspecialresource.basedir
/properties
Then I referenced
From my experience: that's a hard problem. I ended up making the resource
an artifact, adding a provided-scoped dependency and switched off
deployment using m-deploy-p's skip config parameter.
Works, but is so ugly.
Not sure if the provided dependency would be allowed in Maven Central
though
I think Maven 3 has resolved this issue - it can read the artifacts from your
source code rather than the repo, but probably at least packaging is
required - please correct me if I'm wrong.
-
nothing is impossible
--
View this message in context:
I hear you, I just really wanted to avoid that because this is definitely
not an artifact.
On Thu, Apr 26, 2012 at 12:26 PM, Ansgar Konermann
ansgar.konerm...@googlemail.com wrote:
From my experience: that's a hard problem. I ended up making the resource
an artifact, adding a provided-scoped
You need to see this page:
http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html
You will need to define system properties for each system property you want
to pass through.
Most likely your properties will look like
systemPropertyVariables
foo${foo}/foo
Is there a way when using resources:resources to supply a property file that
is within a jar (dependency for the plugin) that is used during the
filtering process of the resources files?
--
View this message in context:
Developer found a circular dependency there. Once removed, this error gone.
Now comes another one (in a new post).
Thanks
Jirong
--
View this message in context:
http://maven.40175.n5.nabble.com/First-time-compile-why-looking-for-module-POM-on-remote-repo-tp5668263p5669002.html
Sent from the
How to fix this error?
Thanks
Jirong
[INFO] Surefire report directory:
C:\Sandbox\MDM-CDIServiceMgmt\CdiInitiateService\target\surefire-reports
java.lang.reflect.UndeclaredThrowableException
at $Proxy0.invoke(Unknown Source)
at
Hi
I think most of company will set up its own internal repository, right? So
we should always get a settings.xml like this, while nexus is the id of
our internal repository:
mirror
idnexus/id
mirrorOf*/mirrorOf
Is there a way when using resources:resources to supply a property file
that
is within a jar (dependency for the plugin) that is used during the
filtering process of the resources files?
I don't know of any way out of the box to do what you are asking.
It is possible that this feature could
Caused by: java.lang.ClassNotFoundException: GenericObjectPool
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
1. Identify the class
How to consolidate these two settings?
This is documented online under Advanced Mirror Specification:
http://maven.apache.org/guides/mini/guide-mirror-settings.html
Here's a hint:
mirrorOf*,!central/mirrorOf
The *,!central in the mirrorOf means mirror all except central.
Wayne
The one I am using in my test environment is not professional, but a free
one. I don't see anywhere a copy function. Is there a way to export/import
or something like that to replicate data from production to my test
environment.
Thanks
Jirong
--
View this message in context:
Hi I would like to traverse to all of my projects, collect some custom
data from each project and aggregate collected custom data ( like dump
to a file at top parent)
any pointer to existing plugin code that does this pattern is greatly
appreciated.
Thanks again
-Dan
41 matches
Mail list logo