Why the extremely troublesome mvn command line? Why not just "mvn install"?

/Anders

On Thu, Aug 26, 2010 at 14:20, Thomas Trepper
<[email protected]>wrote:

>  Hi all,
>
> this is a snippet from my build, which says, that I have an artifact and
> attached artifacts, but, whatever I am doing, I always get the message: No
> primary artifact to install, installing attached artifacts instead.
>
> Can anybody point me to the right direction please?
>
> Thanks a lot and best regards,
>
> Thomas
>
> P.S: I start my build from eclipse with the following targets:
>    clean validate initialize  resources:resources compiler:compile  jar:jar
> source:jar source:test-jar jar:test-jar javadoc:jar test install:install
>
>
>
> [INFO]
> [INFO] --- maven-install-plugin:2.3:install (default-cli) @ logging-api ---
> [DEBUG] Created new class realm
> plugin>org.apache.maven.plugins:maven-install-plugin:2.3
> [DEBUG] Populating class realm
> plugin>org.apache.maven.plugins:maven-install-plugin:2.3
> [DEBUG]   Included:
> org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.3
> [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:1.5.6
> [DEBUG]   Included: junit:junit:jar:3.8.1
> [DEBUG]   Included: org.codehaus.plexus:plexus-digest:jar:1.0
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-project:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-settings:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-model:jar:2.0.6
> [DEBUG]   Excluded:
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
> [DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
> [DEBUG]   Excluded: org.apache.maven:maven-profile:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-artifact-manager:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:2.0.6
> [DEBUG]   Excluded: org.apache.maven:maven-plugin-registry:jar:2.0.6
> [DEBUG] Configuring mojo
> 'org.apache.maven.plugins:maven-install-plugin:2.3:install' with basic
> configurator -->
> [DEBUG]   (f) artifact = com.blueclaim:logging-api:jar:0.0.4-SNAPSHOT
> [DEBUG]   (f) attachedArtifacts =
> [com.blueclaim:logging-api:java-source:sources:0.0.4-SNAPSHOT,
> com.blueclaim:logging-api:java-source:test-sources:0.0.4-SNAPSHOT,
> com.blueclaim:logging-api:test-jar:tests:0.0.4-SNAPSHOT,
> com.blueclaim:logging-api:javadoc:javadoc:0.0.4-SNAPSHOT]
> [DEBUG]   (f) createChecksum = false
> [DEBUG]   (f) localRepository =        id: local
>      url: file:///C:/eclipse-SDK-3.6/maven-repository/
>   layout: none
>
> [DEBUG]   (f) packaging = jar
> [DEBUG]   (f) pomFile = E:\workspace.utils\logging-api\pom.xml
> [DEBUG]   (f) updateReleaseInfo = false
> [DEBUG] -- end configuration --
> [INFO] No primary artifact to install, installing attached artifacts
> instead.
> [INFO] Installing E:\workspace.utils\logging-api\pom.xml to
> C:\eclipse-SDK-3.6\maven-repository\com\blueclaim\logging-api\0.0.4-SNAPSHOT\logging-api-0.0.4-SNAPSHOT.pom
> [INFO] Installing
> E:\workspace.utils\logging-api\target\logging-api-0.0.4-SNAPSHOT-sources.jar
> to
> C:\eclipse-SDK-3.6\maven-repository\com\blueclaim\logging-api\0.0.4-SNAPSHOT\logging-api-0.0.4-SNAPSHOT-sources.jar
> [INFO] Installing
> E:\workspace.utils\logging-api\target\logging-api-0.0.4-SNAPSHOT-test-sources.jar
> to
> C:\eclipse-SDK-3.6\maven-repository\com\blueclaim\logging-api\0.0.4-SNAPSHOT\logging-api-0.0.4-SNAPSHOT-test-sources.jar
> [INFO] Installing
> E:\workspace.utils\logging-api\target\logging-api-0.0.4-SNAPSHOT-tests.jar
> to
> C:\eclipse-SDK-3.6\maven-repository\com\blueclaim\logging-api\0.0.4-SNAPSHOT\logging-api-0.0.4-SNAPSHOT-tests.jar
> [INFO] Installing
> E:\workspace.utils\logging-api\target\logging-api-0.0.4-SNAPSHOT-javadoc.jar
> to
> C:\eclipse-SDK-3.6\maven-repository\com\blueclaim\logging-api\0.0.4-SNAPSHOT\logging-api-0.0.4-SNAPSHOT-javadoc.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to