Usage of self written plugin - Maven wants to download JAR of the parent

2012-06-14 Thread Jens.Baitinger
Hi,

My collegue and me wrote a plugin to trigger a Jenkins  Job (which runs in an 
external site and signs our artifact) and download the result artifact of that 
Jenkins build. When I configure that plugin into our productive build config, 
maven wants to download the jar artifact of the plugins parent pom 
(tools-parent-pom). The packaging of the tools-parent-pom is pom so the jar 
cannot exist, does anyone know an explanation for that behavior?


Here is the output of maven:

[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building -gui 1.0.80-SNAPSHOT
[INFO] 
Downloading: 
https://xxx.innovations.de/archiva/repository/proxy/com/bosch//tools/tools-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
Downloading: 
https://xxx.innovations.de/archiva/repository/internal/com/bosch//tools/tools-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://xxx.innovations.de/archiva/repository/internal/com/bosch//tools/tools-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
 (617 B at 3.0 KB/sec)
Downloading: 
https://xxx.innovations.de/archiva/repository/proxy/com/bosch//-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
Downloading: 
https://xxx.innovations.de/archiva/repository/internal/com/bosch//-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
Downloaded: 
https://xxx.innovations.de/archiva/repository/internal/com/bosch//-parent-pom/1.0.80-SNAPSHOT/maven-metadata.xml
 (610 B at 19.2 KB/sec)
Downloading: 
https://xxx.innovations.de/archiva/repository/proxy/com/bosch//tools/tools-parent-pom/1.0.80-SNAPSHOT/tools-parent-pom-1.0.80-SNAPSHOT.jar
Downloading: 
https://xxx.innovations.de/archiva/repository/internal/com/bosch//tools/tools-parent-pom/1.0.80-SNAPSHOT/tools-parent-pom-1.0.80-SNAPSHOT.jar
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 2.247s
[INFO] Finished at: Thu Jun 14 08:45:57 CEST 2012
[INFO] Final Memory: 12M/156M
[INFO] 
[ERROR] Plugin com.bosch..tools:tools-parent-pom:1.0.80-SNAPSHOT or one of 
its dependencies could not be resolved: Could not find artifact 
com.bosch..tools:tools-parent-pom:jar:1.0.80-SNAPSHOT in localarchiva 
(https://xxx.innovations.de/archiva/repository/proxy/) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Mit freundlichen Grüßen / Best regards

Jens Baitinger

Bosch Software Innovations GmbH
Prof. Services  Projects - Diagnostic  Logistic  (INST/PRV-DL)
Ziegelei 7
88090 Immenstaad
GERMANY
www.bosch-si.de

Tel. +49 7545 202-347
Fax +49 7545 202-301
jens.baitin...@bosch-si.demailto:jens.baitin...@bosch-si.de


Registered office: Immenstaad, Register court: Amtsgericht Ulm, HRB 631888;
Executives: Heinz Derenbach; Thomas Cotic, Erica Fölsche, Michael Hahn, Klaus 
Hüftle





AW: Usage of self written plugin - Maven wants to download JAR of the parent

2012-06-14 Thread Jens.Baitinger
Hi, 

Nope, I even checked the transitive dependencies of my plugin. It just have 
third party/open source dependencies. 

Greetings
Jens


-Ursprüngliche Nachricht-
Von: martin.eisengardt [mailto:martin.eisenga...@googlemail.com] 
Gesendet: Donnerstag, 14. Juni 2012 09:53
An: Maven Users List
Betreff: Re: Usage of self written plugin - Maven wants to download JAR of the 
parent

Have you added this parent pom as a dependency?
Parent-poms ahould onlybe specified with tag parent and not via dependency.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



AW: Usage of self written plugin - Maven wants to download JAR of the parent

2012-06-14 Thread Jens.Baitinger
I found my problem... copy and paste error... just copied the parents 
artifactId/groupId instead of the plugins artifact and groupId. That was the 
last thing I thought what had happened.




-Ursprüngliche Nachricht-
Von: jens.baitin...@bosch-si.com [mailto:jens.baitin...@bosch-si.com] 
Gesendet: Donnerstag, 14. Juni 2012 11:13
An: users@maven.apache.org
Betreff: AW: Usage of self written plugin - Maven wants to download JAR of the 
parent

Hi, 

Nope, I even checked the transitive dependencies of my plugin. It just have 
third party/open source dependencies. 

Greetings
Jens


-Ursprüngliche Nachricht-
Von: martin.eisengardt [mailto:martin.eisenga...@googlemail.com] 
Gesendet: Donnerstag, 14. Juni 2012 09:53
An: Maven Users List
Betreff: Re: Usage of self written plugin - Maven wants to download JAR of the 
parent

Have you added this parent pom as a dependency?
Parent-poms ahould onlybe specified with tag parent and not via dependency.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



AW: Error transferring file: sun.security.validator.ValidatorException:

2010-10-14 Thread Jens.Baitinger
Hi,

Are you trying to download an artifact from an repository via https?

It seems, that your certificate is not valid for Java (e.g. it is an self 
signed certificate). Add your certificate to an keystore and pass that keystore 
to maven (e.g. -Djavax.net.ssl.trustStore=%M2_HOME%\conf\trust.jks in your 
MAVEN_OPTS)

Greetings Jens



-Ursprüngliche Nachricht-
Von: wang xiao [mailto:cquptwan...@gmail.com] 
Gesendet: Donnerstag, 14. Oktober 2010 08:29
An: users@maven.apache.org
Betreff: Error transferring file: sun.security.validator.ValidatorException:

Hi,all

I don't know how to do it correctly.


the log as follows:


Error transferring file: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.Sun

CertPathBuilderException: unable to find valid certification path to
requested t
arget


thanks
wang xiao

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Configure abstract executions

2010-08-12 Thread Jens.Baitinger
Hi,

 

Some of my modules has to be build with aspect while others don't.
Currently I have the full config for aspectj in each of those modules,
but it is always the same (see below). Is it possible to declare this
execution in a parent pom and then only declare that for this module
there is an additional execution necessary. Or is a profile the correct
way?

 

Greetings

Jens

 

n

 
groupIdorg.codehaus.mojo/groupId

 
artifactIdaspectj-maven-plugin/artifactId

 
version1.3/version

 

 
executions

 
execution

 
configuration

 
verbosetrue/verbose

 
privateScopetrue/privateScope

 
complianceLevel1.6/complianceLevel

 
showWeaveInfotrue/showWeaveInfo

 

 
showWarningstrue/showWarnings

 
showDeprecationtrue/showDeprecation

 

 
includes

 
include**/*.java/include

 
include**/*.aj/include

 
/includes

 

 
aspectLibraries

 
aspectLibrary

 
groupIdx/groupId

 
artifactIdx/artifactId

 
/aspectLibrary

 
/aspectLibraries

 

 
/configuration

 

 
goals

 
goalcompile/goal

 
goaltest-compile/goal

 
/goals

 
/execution

 
/executions

 

   /plugin